EMMA (code coverage tool)

EMMA (code coverage tool)

EMMA is an open source toolkit for measuring and reporting Java code coverage. EMMA is distributed under the terms of Common Public License v1.0.

EMMA features at a glance:
* EMMA can instrument classes for coverage either offline (before they are loaded) or on the fly (using an instrumenting application classloader).
* Supported coverage types: class, method, line, basic block. EMMA can detect when a single source code line is covered only partially.
* Coverage stats are aggregated at method, class, package, and "all classes" levels.
* Output report types: plain text, HTML, XML. All report 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 be merged together.
* EMMA does not require access to the source code and degrades gracefully with decreasing amount of debug information available 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 are 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, has no external library dependencies, and works in any Java 2 JVM (even 1.2.x).

Alternatives

* Atlassian Clover - a commercial alternative
* Cobertura - an open-source alternative

External links

* [http://emma.sourceforge.net/ Sourceforge project page for EMMA]
* [http://www.eclemma.org/ Eclipse EMMA plugin]

Emma-based tools

* [http://codecoverage.netbeans.org/ Netbeans Code Coverage Plugin: emma-based coverage plugin for Netbeans that visualizes unit tests code coverage by coloring sources]


Wikimedia Foundation. 2010.

Игры ⚽ Нужно сделать НИР?

Look at other dictionaries:

  • Code Coverage — Couverture de code La couverture de code (en anglais code coverage) est une mesure utilisée en génie logiciel pour décrire le taux de code source testé d un programme. Ceci permet de mesurer la qualité des tests effectués. La mesure de ce taux… …   Wikipédia en Français

  • Emma (Software) — Emma Entwickler Vlad Roubtsov Aktuelle Version 2.0.5312 (13. Juni 2005) Aktuelle Vorabversion 2.1.5320 (22. Juni 2005) …   Deutsch Wikipedia

  • Emma (disambiguation) — Emma may refer to:Literature* Emma , novel by Jane Austen * Emma , fragment of a novel by Charlotte Brontë * Emma (play), play by Howard Zinn * Emma, a novel by F. W. Kenyon Television and film* Emma (1932 film), 1932 film directed by Clarence… …   Wikipedia

  • Couverture De Code — La couverture de code (en anglais code coverage) est une mesure utilisée en génie logiciel pour décrire le taux de code source testé d un programme. Ceci permet de mesurer la qualité des tests effectués. La mesure de ce taux implique souvent l… …   Wikipédia en Français

  • Emma Goldman — Goldman circa 1911 Full name Emma Goldman Born June 27, 1869(1869 06 27) Kovno, Russian Empire Died May 14 …   Wikipedia

  • Sonar (Qualité logicielle) — Tableau de bord Sonar …   Wikipédia en Français

  • Clover (software) — Clover Developer(s) Atlassian Stable release 3.1.0 / June 2, 2011; 4 months ago (2011 06 02) Operating system Cross platform …   Wikipedia

  • performing arts — arts or skills that require public performance, as acting, singing, or dancing. [1945 50] * * * ▪ 2009 Introduction Music Classical.       The last vestiges of the Cold War seemed to thaw for a moment on Feb. 26, 2008, when the unfamiliar strains …   Universalium

  • literature — /lit euhr euh cheuhr, choor , li treuh /, n. 1. writings in which expression and form, in connection with ideas of permanent and universal interest, are characteristic or essential features, as poetry, novels, history, biography, and essays. 2.… …   Universalium

  • United Kingdom — a kingdom in NW Europe, consisting of Great Britain and Northern Ireland: formerly comprising Great Britain and Ireland 1801 1922. 58,610,182; 94,242 sq. mi. (244,100 sq. km). Cap.: London. Abbr.: U.K. Official name, United Kingdom of Great… …   Universalium

Share the article and excerpts

Direct link
Do a right-click on the link above
and select “Copy Link”