How does your developer run unit tests - do they run them in IDE before commit? Do you have a "green build" policy? If both answers are yes then having Clover in IDEA may be worth it. You have to answer it yourself :-) Few things worth consideration: Having said this, let me answer your questions.Ĭlover's IDE integration is amazing, pointing out exact lines of code that aren't covered by unit tests but I'm not sure the $300/person cost of Clover is worth this IDE convenience. What is similar in these two tools that both of them can create rich reports. Sonar (from my perspective) is mainly a data aggregation tool, which can collect various kinds of data (like code coverage, static analysis results, code metrics) from various tools and present them in one place. It has some code metrics in addition to this, but it's not a typical static code analysis tool like Checkstyle, FindBugs or PMD. It tracks both total coverages as well as per-test coverage. Let me emphasize one difference between Clover and Sonar first:Ĭlover is mainly a code coverage tool. Both tools seem to have appropriate Maven integration.ĭisclaimer: I'm a Clover developer at Atlassian.īut I'll try to be as objective as possible, of course. Some background: The product being analyzed is a Java web project being build with Maven. Does anyone have any experience with this? Does the SonarQube server sufficiently replace the Clover server by utilizing these reports? If not, what does Sonar lack? Lastly, I've also seen that Sonar can consume reports generated by Clover. Also, does Clover lack this in their plugin, or do I simply not see it because I haven't put the Clover plugin in front of a server yet? Sonar's plugin simply seems to point out code issues in the IDE, which is good, but IntelliJ has functionality for this already. However, the SonarQube server has this functionality, but I'm not sure the $300/person cost of Clover is worth this IDE convenience. Clover's IDE integration is amazing, pointing out exact lines of code that aren't covered by unit tests. I've also been vetting their IntelliJ plugins, and this where I see vast differences between the two. The two products seem remarkably similar and virtually identical from a server perspective, yet I can't find a good comparison of them online. I've been vetting Static Analysis tools and I've recently come across both Atlassian Clover and SonarQube.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |