Automated Code Reviews for Java¶
Scrutinizer provides first-class analysis of Java code. We infer a default configuration for you. You can tweak the
defaults by placing a
.scrutinizer.yml in your project's root folder.
By default, we enable code rating, code metrics and duplicate code detection along with some checks for best practices, performance and security issues. The minimal configuration for Java looks as follows:
checks: java: true
Open-Source Analysis Tools¶
In general, we support all tools that produce results in the common checkstyle format. If you would like to run a tool that produces a different format that we do not support yet, just drop us a line at email@example.com.
By default, Scrutinizer will analyze all files ending with
.java in your project. If you have generated code, or
dependencies embedded in your project, or would like to exclude your tests from the analysis, this can be achieved easily:
filter: excluded_paths: - test/*
Learn more about excluding files from the analysis.