Emma (software)

from Wikipedia, the free encyclopedia
Emma

Emma (Code Coverage Tool) .png
Basic data

developer Vlad Roubtsov
Current  version 2.0.5312
(June 13, 2005)
Current preliminary version 2.1.5320
(June 22, 2005)
operating system platform independent
programming language Java
category Code Coverage Tool
License Common Public License 1.0
emma.sourceforge.net

Emma (spelling: EMMA) is an open source tool for measuring test coverage in Java programs. During the execution of an application, it is measured through which classes, methods, blocks and lines of code the processing ran.

Emma was originally called "YACT" (Yet Another Coverage Tool), but after this name had already been used by Sourceforge, Vlad Roubtsov renamed the tool to "Emma" after his wife's name.

Emma, ​​like most test coverage measurement tools, is primarily used to measure coverage through module tests . The result suggests the quality of these module tests and thus the technical quality of the software. According to the company's own statements, the tests run only 5–20% slower than without using Emma.

In contrast to comparable tools, Emma also allows the test coverage to be measured without prior instrumentation of the code. This is implemented by a special class loader. Emma enables software that is already in production to be measured, for example to identify dead code or program parts that are not required.

Various plugins for development environments and quality assurance tools such as the NetBeans module test code coverage plugin or SONAR are based on Emma. From the SourceForge site alone, Emma has been downloaded more than 130,000 times. There are Emma plugins for Apache Ant , Apache Maven and Eclipse , which simplify the download and use of Emma during the build process.

See also

Web links

Individual evidence

  1. a b Emma homepage
  2. ^ Adam Myatt: "Reviewing the NetBeans Unit Tests Code Coverage Plugin" ( Memento of the original from August 31, 2009 in the Internet Archive ) Info: The archive link was automatically inserted and not yet checked. Please check the original and archive link according to the instructions and then remove this notice. Article in Pro NetBeans dated March 11, 2008 @1@ 2Template: Webachiv / IABot / pronetbeans.com
  3. Sonar Emma Plugin ( Memento of the original from October 1, 2009 in the Internet Archive ) Info: The archive link was automatically inserted and not yet checked. Please check the original and archive link according to the instructions and then remove this notice.  @1@ 2Template: Webachiv / IABot / docs.codehaus.org
  4. Emma Sourceforge Download History
  5. Emma on Mavenrepository  ( page no longer available , search in web archivesInfo: The link was automatically marked as defective. Please check the link according to the instructions and then remove this notice.@1@ 2Template: Dead Link / www.mavenrepository.com