code metric analysis for JAVA

2019-07-25 12:00发布

问题:

do you know of any open source tool that can be used for code metric analysis in java? it should be able to integrate well in jenkins. I'm trying to setup a complete test suite for our project that includes coverage test, unit test, static code analysis, code standard check and code metric analysis.

回答1:

Based on what you need the best choice would be Sonar, it has all you need plus some more. Check out for more at: http://www.sonarsource.org/



回答2:

Clover for test coverage. It integrates with JUnits and I have integrated it with Jenkins.
Klocwork for code static analysis.



回答3:

Open source : Sonar, clover, PMD, findbugs, you can also try JArchitect wich is free for open source contributors