Ja coco ignite

873 views

Published on

Published in: Technology
1 Comment
2 Likes
Statistics
Notes
No Downloads
Views
Total views
873
On SlideShare
0
From Embeds
0
Number of Embeds
1
Actions
Shares
0
Downloads
27
Comments
1
Likes
2
Embeds 0
No embeds

No notes for slide

Ja coco ignite

  1. 1. JaCoCoJava code coverage tool
  2. 2. Mission"JaCoCo should become the standard backendtechnology for code coverage analysis in JavaVM based environments. The focus is providinga lightweight, flexible and well documentedlibrary for integration with various build anddevelopment tools."
  3. 3. Another code coverage tool?!
  4. 4. Another code coverage tool?!● Created by EclEmma team based on lessons learned from using over the last five years● EclEmma is based on it the EMMA library is not actively maintained any more by the original author. Due to the lack of regression tests maintenance and feature additions will become very difficult.
  5. 5. Features● Works with Java 7!● Coverage analysis of instructions (C0), branches (C1), lines, methods, types and cyclomatic complexity● Works without source files● Support for different JVM languages● Integrated with many popular tools● On-the-fly instrumentation
  6. 6. Eclipse plugin EclEmma
  7. 7. Maven <plugin> <groupId>org.jacoco</groupId> <artifactId>jacoco-maven-plugin</artifactId> <version>0.6.0.201210061924</version> <executions> <execution> <goals> <goal>prepare-agent</goal> </goals> </execution> </executions> </plugin>
  8. 8. Gradleapply from: https://raw.github.com/gschmidl/jacoco-gradle/master/jacoco.gradle
  9. 9. Jenkins Jenkins JaCoCo plugin

×