Java code coverage tools: Difference between revisions

Content deleted Content added
m OpenClover 4.4.1 release date
increase heading level of EMMA to mark it as a historic tool
Line 192:
In April 2017, Atlassian announced that they would no longer release new versions of Clover after version 4.1.2, and its code was made available as [[open-source software]] hosted on [[Bitbucket]].<ref>{{cite web|url=https://www.atlassian.com/blog/announcements/atlassian-clover-open-source|title=Atlassian Clover is now open source|website=atlassian.com|date=11 April 2017}}</ref><ref>{{cite web|url=https://bitbucket.org/atlassian/clover|title=atlassian/clover|website=bitbucket.org}}</ref>
 
=== EMMA ===
{{Infobox software
| name = EMMA
Line 208:
EMMA works by wrapping each line of code and each condition with a flag, which is set when that line is executed.<ref>[https://books.google.com/books?id=L7d0LNpSrRwC&pg=PA289&dq=EMMA+%28code+coverage+tool%29&hl=en&ei=_pXATYmrJqrv0gHoroirBQ&sa=X&oi=book_result&ct=result&resnum=8&ved=0CG0Q6AEwBw#v=onepage&q&f=false Expert Spring MVC and Web Flow; By Seth Ladd, Darren Davison, Steven Devijver, Colin Yates, p. 289]</ref>
 
==== Features ====
* 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.