Pages

Friday, September 9, 2011

Cobertura -- Code Coverage Tool

public interface Instrumentation:
This class provides services needed to instrument Java programming language code. Instrumentation is the addition of byte-codes to methods for the purpose of gathering data to be utilized by tools. Since the changes are purely additive, these tools do not modify application state or behavior. Examples of such benign tools include monitoring agents, profilers, coverage analyzers, and event loggers.

coverage analysers fall into three categories:
Insert instrumentation into the source code
Add instrumentation to the Java byte-code
Run the code in a modified JVM.

"Cobertura" add instrumentation to the java byte code.
using Maven 2:


YET TO ADD

No comments:

Post a Comment