This is the docker engine we use at Codacy to have SpotBugs support, including the plugins fb-contrib and Find Security Bugs.
You can also create a docker to integrate the tool and language of your choice! Check the Docs section for more information.
- Java 1.8
- SBT
- Docker
To change the versions of the tools you should change the versions in build.sbt
sbt "set version := \"latest\"; docker:publishLocal"
docker run -it -v $PWD:/src codacy-spotbugs:latest
We use the codacy-plugins-test to test our external tools integration. You can follow the instructions there to make sure your tool is working as expected.
sbt "run json codacy-spotbugs:latest"
sbt "run pattern codacy-spotbugs:latest"
sbt "run multiple codacy-spotbugs:latest"
NOTE: To generate documentation you need to have this projects dependencies under your home. (e.g.: ~/.ivy2
)
sbt "runMain com.codacy.tools.spotbugs.DocumentationGenerator"
To read more on how to build a wrapper for a tool like this one check the specification in the Tool Developer Guide
This tool requires the usage of codacy-analysis-cli to push the results.
Codacy is an Automated Code Review Tool that monitors your technical debt, helps you improve your code quality, teaches best practices to your developers, and helps you save time in Code Reviews.
- Identify new Static Analysis issues
- Commit and Pull Request Analysis with GitHub, Bitbucket and GitLab
- Auto-comments on Commits and Pull Requests
- Integrations with Slack, Jira, YouTrack
- Track issues in Code Style, Security, Error Proneness, Performance, Unused Code and other categories
Codacy also helps keep track of Code Coverage, Code Duplication, and Code Complexity.
Codacy supports PHP, Python, Ruby, Java, JavaScript, and Scala, among others.
Codacy is free for Open Source projects.