score:3
Coverlipse: http://coverlipse.sourceforge.net/ because it's free
score:5
I like http://codecover.org/
The source highlighting is better than eCobertura, the drill-down is easy to read, selecting test cases is easy, it actually provides statistics for statement, branch, loop and condition coverage ( a lot of plugins only do statement, which is kinda useless ).
We use it at our business and we found it the best plugin by far.
score:35
Edit (2015) - My current recommendation: EclEmma / JaCoCo.
Not sure why I didn't see this back in January 2012, as there was clearly active development with new versions consistently being reproduced even back then.
I've since become a bit frustrated with Cobertura / eCobertura, as development since seems to have stalled, with support for current Java versions starting to be somewhat lacking.
JaCoCo may have advanced since I last looked at this in 2012 (or I simply missed it entirely, or was looking at EMMA vs. JaCoCo) - but the current version provides excellent support built-in to Eclipse (provided by EclEmma) as well as many other IDEs, support for Apache Maven, Apache Ant, command-line, Java API, and many other third-party integrations. Please refer to the complete list at http://www.eclemma.org/jacoco/trunk/doc/integrations.html .
I am now switching some of my projects over to JaCoCo from Cobertura, and am very impressed by the integration and results - both in Maven reports as well as Eclipse. Not sure about competing solutions, but JaCoCo can even be configured to fail a build if certain thresholds of code coverage are not met.
JaCoCo is specifically documented to support Java class files from version 1.0 all the way through 1.8*.
I find their Mission Statement very respect-worthy.
References / Resources:
Especially as this question has unfortunately been closed, here is a mini-directory of some of the various references and resources that I used in making my decision - and which I encourage everyone here to refer to in order to make their own decisions.
- https://en.wikipedia.org/wiki/Java_Code_Coverage_Tools - by Wikipedia's nature is more of a "living document", and will hopefully remain updated with any new related tools that may become available.
- The following should also somewhat fall into the same category of a "living document", but fall under probable bias / conflicts of interest - as each is from the vendor or organization that also produces such a tool:
- http://www.eclemma.org/resources.html (Provides EclEmma, JaCoCo)
- https://confluence.atlassian.com/display/CLOVER/Comparison+of+code+coverage+tools (Provides Atlassian Clover)
- Presumably independent but dated reviews and comparisons:
- Code Coverage Tools (JaCoCo, Cobertura, Emma) Comparison in Sonar (2012-12-19, Patroklos Papapetrou, onlysoftware.wordpress.com)
- Eclipse plugin for code coverage (2012-01-28, stackoverflow.com)
- Test coverage: jaCoCo vs Clover2 (Jakub Kurlenda, 2010-12-28, kurlenda.blogspot.com)
- Java Code Coverage: Cobertura vs. Emma vs Clover (Tom Borthwick, 2010-10-23, copperykeenclaws.com)
- Pick your code coverage tool in Sonar 2.2 (2010-08-05, Evgeny Mandrikov, sonarqube.org)
- In pursuit of code quality: Don't be fooled by the coverage report (Andrew Glover, 2006-01-31, ibm.com)
Previous:
It does the job, it is free and open-source, it is more up-to-date than EMMA, and it is used by most of the other online open-source projects I'm familiar with. It also integrates very well into Maven - including some rather nice-looking reports.
If you want to consider a commercial product, I'd consider Atlassian's Clover.
Source: stackoverflow.com
Related Query
- Eclipse plugin for code coverage
- Aptana Plugin for Eclipse and jQuery code assist
- Eclipse plugin for generating UML diagram from c++ code
- Where can I find the source code for the Android Development Tools (ADT) plugin for the Eclipse IDE?
- UML Plugin for Eclipse - Class Diagrams & Java Code Generation - Indigo/Juno
- Eclipse plugin for measuring lines of code
- Eclipse plugin or a Open source tool to reverse engineer java code for sequence diagram
- Eclipse plugin for fast java code testing
- Eclipse Plugin for creating large java class diagrams from existing code
- Eclipse Plugin for counting lines of code (Eclipse Juno)
- How to set up Jacoco code coverage tool in Eclipse for viewing colors in Java code?
- Coffee-bytes code folding plugin for eclipse not working
- Code Completion Plugin for Struts in Eclipse
- source code for eclipse plugin dependencies
- Eclipse plugin for creating Java code automatically to reproduce the state of an object for fast testing while debugging
- Source code for Eclipse Cola Plugin
- Does Eclipse have a plugin for code clips like in Coda?
- Current Eclipse plugin for duplicated code
- Eclipse Wizard plugin executes code for all pages at once
- Eclipse Plugin for reading Java code of current project
- xquery plugin for eclipse that allows me to run xquery code against xml documents
- Eclipse Clover Plugin / Toggling Code Coverage Highlighting on Editor
- Any Eclipse plugin to view Assembly Code (not bytecode) for java files?
- How to turn off the Eclipse code formatter for certain sections of Java code?
- How to install plugin for Eclipse from .zip
- JavaScript Editor Plugin for Eclipse
- Eclipse plugin for generating a class diagram
- Eclipse plugin for TypeScript?
- How to add shortcut keys for java code in eclipse
- Eclipse shortcut for commenting jsp, xml code
More Query from same tag
- Does Junit require java 1.5 for play framework 2.3?
- Android OpenCV : No resource identifier found for attribute 'camera_id' in package
- Kendo UI Complete (Trial) and Eclipse Juno: kendo.web.min.js JavaScript Validation Error
- upgrade project in Eclipse
- Pydev missing after upgrading Eclipse on FreeBSD
- How to retrieve the actual value of the "link with editor" button in eclipse
- java.lang.ClassNotFoundException: com.mysql.jdbc.Driver error even after importing library
- unable to connect to mysql database through jsp , Class.forName(com.mysql.jdbc.Driver); not loading
- Saving app data to text file
- Eclipse automatic todo task addition
- I am downloading Eclipse. But what else do I need to develop Java EE applications?
- Java: Invalid thread access - pop up menu
- Can't open .jar using double-click, only with cmd
- Android Project Type
- Can I have partial maven workspace resolution in eclipse?
- Can't open Eclipse in Ubuntu 12.04 (Error launching program)
- Modbus4J 2.0.2 and Maven, How it works?
- Color Themes For Eclipse Python Development
- JavaFX - Change ListView's FocusModel
- All projects gone in eclipse after closing perspectives
- Hibernate Reverse Engineering with Eclipse and MySql
- maven base directory default
- Values of 2 lists are equal, but I'm being told they aren't?
- File is marked as Ignored by TFS everywhere plugin, but in fact it is not
- How to assign a hotkey to a menu item in Eclipse?
- Androidplot line not showing
- Spring Integration graph of Spring Tool Suite not showing "int-file:tail-inbound-channel-adapter" graphic
- Display Image in jsp page
- Internal Editor (pdf4eclipse) is not listed in eclipse
- Android: Problems debugging with the emulator from eclipse