Your SlideShare is downloading. ×
  • Like
Ja coco ignite
Upcoming SlideShare
Loading in...5
×

Thanks for flagging this SlideShare!

Oops! An error has occurred.

×

Now you can save presentations on your phone or tablet

Available for both IPhone and Android

Text the download link to your phone

Standard text messaging rates apply
Published

 

Published in Technology
  • Full Name Full Name Comment goes here.
    Are you sure you want to
    Your message goes here
No Downloads

Views

Total Views
454
On SlideShare
0
From Embeds
0
Number of Embeds
0

Actions

Shares
Downloads
11
Comments
1
Likes
2

Embeds 0

No embeds

Report content

Flagged as inappropriate Flag as inappropriate
Flag as inappropriate

Select your reason for flagging this presentation as inappropriate.

Cancel
    No notes for slide

Transcript

  • 1. JaCoCoJava code coverage tool
  • 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. Another code coverage tool?!
  • 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. 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. Eclipse plugin EclEmma
  • 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. Gradleapply from: https://raw.github.com/gschmidl/jacoco-gradle/master/jacoco.gradle
  • 9. Jenkins Jenkins JaCoCo plugin