EMMA: Free Java Code Test Overlay tool

Source: Internet
Author: User

from:http://emma.sourceforge.net/

EMMA:A free Java Code Coverage tool

Code coverage for FREE:A basic freedom?

Until recently, the world's Java development had been plagued by an absurd Discrepancy:java developers had excellent fre e IDEs, free compilers, free test frameworks but had to rely on code coverage tools, this charged an arm and a leg in Licen SE fees. As a Java pro, I would like-to-use the same free coverage tool regardless of whether it's a massive commercial project at Work or a small fun project at home. I ' ve created EMMA to being that tool.

EMMA is a Open-source toolkit for measuring and reporting Java code coverage. EMMA distinguishes itself from other tools by going after a unique feature combination:support for large-scale enterprise Software development while keeping individual developer ' s work fast and iterative. every developer on your team can now get code coverages for free and they can get it fast!

Chances is, you've come here already knowing what coverages is all about and being, in fact, wondering what EMMA offers and Why it was worth checking out. Explore the rest of this site to see why.

EMMA Features at a glance:
  • EMMA can instrument classes for coverage either offline (before they is loaded) or on the fly (using a Instrumenting application ClassLoader).

  • Supported coverage types: class, method, Line, basic block. EMMA can detect when a single source code line was covered only partially.

  • Coverage stats is aggregated at method, class, package, and ' all classes ' levels.

  • Output report Types:plain text, HTML, XML. All the types support Drill-down, to a user-controlled detail depth. The HTML report supports source code linking.

  • Output reports can highlight items with coverage levels below user-provided thresholds.

  • Coverage data obtained in different instrumentation or test runs can is merged together.

  • NEW in v2.1starting with build 2.1.5320 It's possible to dump or reset coverage data remotely and without a JVM exit.
  • EMMA does not require access to the source code and degrades gracefully with decreasing amount of debug information Availa BLE in the input classes.

  • EMMA can instrument individial . class files or entire . JarS (in place, if desired). Efficient Coverage subset filtering is possible, too.

  • Makefile and ANT build integration is supported on equal footing.

  • EMMA is quite fast: The runtime overhead of added instrumentation is small (5-20%) and the bytecode Instrumentor itself is very fast (mostly limited by file I/O speed). Memory overhead is a few hundred bytes per Java class.

  • EMMA is 100% pure Java, have no external library dependencies, and works in any Java 2 JVM (even 1.2.x).

More on EMMA features can is found in the FAQ.

Where to go from here?

EMMA: Free Java Code Test Overlay tool

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.