The Artima Developer Community
Sponsored Link

Agile Buzz Forum
Like Clover? Check out JCoverage

1 reply on 1 page. Most recent reply: May 26, 2004 7:44 AM by Vlad Roubtsov

Welcome Guest
  Sign In

Go back to the topic listing  Back to Topic List Click to reply to this topic  Reply to this Topic Click to search messages in this forum  Search Forum Click for a threaded view of the topic  Threaded View   
Previous Topic   Next Topic
Flat View: This topic has 1 reply on 1 page
Rod Waldhoff

Posts: 99
Nickname: rwald
Registered: Jun, 2003

Rod Waldhoff is.
Like Clover? Check out JCoverage Posted: Jun 30, 2003 7:59 AM
Reply to this message Reply

This post originated from an RSS feed registered with Agile Buzz by Rod Waldhoff.
Original Post: Like Clover? Check out JCoverage
Feed Title: Rod Waldhoff: Methodology Channel
Feed URL: http://radio-weblogs.com/0122027/categories/agileMethods/rss.xml
Feed Description: about methodologies in general, and agile methods in particular
Latest Agile Buzz Posts
Latest Agile Buzz Posts by Rod Waldhoff
Latest Posts From Rod Waldhoff: Methodology Channel

Advertisement

Like Clover, JCoverage is a code coverage analyzer for Java. "Instrument" your code with either of these tools, run your unit test suite (really, execute the code in any way), and one can generate a report on what was executed (lines, methods, branches, etc.), and more importantly, what wasn't.

Unlike Clover:

  • JCoverage is GPL'ed
  • JCoverage instruments the byte code (via BCEL) rather than the source, which seems substantially faster, at least under casual observation.
  • JCoverage is clever enough to not instrument select lines--lines that invoke log4j for example--which means that logging calls don't pollute your coverage metrics, whether or not you run the test suite with logging on.
  • JCoverage can generate a complete, parsable coverage report in XML from which you can render custom reports or derived statistics.
  • JCoverage includes custom Ant tags for instrumentation, reporting and even asserting levels of coverage at a fine grained level.
  • JCoverage makes it easy to merge coverage databases across several runs--for unit and functional tests, for example, or to create a single report for independently built components. (Of course, given the XML report, it may be tedious but shouldn't be difficult to do this sort of merge on "manually" either.)

With JCoverage, I think I'll need to reconsider my position that coverage analysis may be too slow to execute with every continuous integration build.

Read: Like Clover? Check out JCoverage


Vlad Roubtsov

Posts: 20
Nickname: vladr
Registered: May, 2003

Like Clover or JCoverage? Check out EMMA Posted: May 26, 2004 7:44 AM
Reply to this message Reply
Like JCoverage but want an even faster tool with an even less prohibitive license?

Try EMMA: http://emma.sourceforge.net

Flat View: This topic has 1 reply on 1 page
Topic: Simple Sequences II Previous Topic   Next Topic Topic: Simple Sequences

Sponsored Links



Google
  Web Artima.com   

Copyright © 1996-2019 Artima, Inc. All Rights Reserved. - Privacy Policy - Terms of Use