Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Code coverage for Java: dead or paid? [closed]

I'm looking for an answer on code coverage tools. I know variations on this question have been asked before:

  • https://stackoverflow.com/questions/3904571/code-coverage-tools-in-java
  • https://stackoverflow.com/questions/39329/what-is-your-favourite-code-coverage-tools-free-and-non-free
  • Code coverage tools in Java
  • Is there any handy code coverage tool to be used with JUnit?

so it's possible this is a terrible question. But for the most part those questions are years old, and I'm looking to see if there are any new tools that have emerged.

I am aware of:

  • Cobertura
  • Emma/EclEmma
  • Clover
  • Semantic Designs.

But as far as I can tell (see below), the two open source projects are essentially dead. A paid solution is an option, but I'd prefer open source if possible.

Has open source essentially given up on innovating code coverage software, or has the energy gone into some new library that I'm not aware of?

Cobertura

Latest version: 1.9.4.1, released 3/3/2010
Last commit: 1/7/2011

Emma

Latest version: 2.1.5320, released 6/22/2005
Last commit: (uses CVS, so there are no changesets, but commits are 6-8 years old)
Developer forums have only a handful of posts

Clover

Latest version: 3.1.5, released 4/25/2012
like image 853
Ryan Nelson Avatar asked Feb 19 '23 16:02

Ryan Nelson


1 Answers

There is a open source code coverage tools that has been actively updated rencently.

JaCoCo http://www.eclemma.org/jacoco/

It is by the team developed EclEmma, and SONAR is supporting it in recently years. Sounds promising to me.

like image 160
Adrian Shum Avatar answered Mar 03 '23 18:03

Adrian Shum