Your SlideShare is downloading. ×
Code Coverage Revised : EclEmma on JaCoCo
Code Coverage Revised : EclEmma on JaCoCo
Code Coverage Revised : EclEmma on JaCoCo
Code Coverage Revised : EclEmma on JaCoCo
Code Coverage Revised : EclEmma on JaCoCo
Code Coverage Revised : EclEmma on JaCoCo
Code Coverage Revised : EclEmma on JaCoCo
Code Coverage Revised : EclEmma on JaCoCo
Code Coverage Revised : EclEmma on JaCoCo
Code Coverage Revised : EclEmma on JaCoCo
Code Coverage Revised : EclEmma on JaCoCo
Code Coverage Revised : EclEmma on JaCoCo
Code Coverage Revised : EclEmma on JaCoCo
Code Coverage Revised : EclEmma on JaCoCo
Code Coverage Revised : EclEmma on JaCoCo
Code Coverage Revised : EclEmma on JaCoCo
Code Coverage Revised : EclEmma on JaCoCo
Code Coverage Revised : EclEmma on JaCoCo
Code Coverage Revised : EclEmma on JaCoCo
Code Coverage Revised : EclEmma on JaCoCo
Code Coverage Revised : EclEmma on JaCoCo
Upcoming SlideShare
Loading in...5
×

Thanks for flagging this SlideShare!

Oops! An error has occurred.

×
Saving this for later? Get the SlideShare app to save on your phone or tablet. Read anywhere, anytime – even offline.
Text the download link to your phone
Standard text messaging rates apply

Code Coverage Revised : EclEmma on JaCoCo

3,460

Published on

Published in: Technology, Education
0 Comments
5 Likes
Statistics
Notes
  • Be the first to comment

No Downloads
Views
Total Views
3,460
On Slideshare
0
From Embeds
0
Number of Embeds
3
Actions
Shares
0
Downloads
53
Comments
0
Likes
5
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. Code Coverage Revised EclEmma on JaCoCo Evgeny Mandrikov
  • 2. Code quality 1 of 7 deadly sins of developer Insufficient code coverage by testshttp://sonarsource.com
  • 3. Untested Code is theDark Matter of Software Apparently because it makes up 90% of the software universe Robert (Uncle Bob) Martin August 2006
  • 4. Correctness Test AppCompleteness
  • 5. RequirementsA Library Tested Framework Agnostic ScalableFreaking Fast Freaking Easy
  • 6. Code CoverageRuntime profiling Instrumentation Source Bytecode Offline On-The-Fly Replace Inject Class Loader Java Agent
  • 7. Java Byte CodeInstrumentation ALOAD probearray ICONST probeid ICONST_1 BASTORE
  • 8. Java Agent$ java -javaagent:jacocoagent.jar killerApp *.exec
  • 9. Comparison Emma Cobertura Clover JaCoCoLicense CPL GPL Commercial EPLLatest release 13/06/2005 03/03/2010 25/04/2012 19/04/2012Type offline offline offline online bytecode bytecode source code bytecodeJava 1.2 — 1.6 1.3 — 1.6 1.4 — 1.7 1.5 — 1.7Line hits partial yes yes partialBranch no yes yes yescoverage
  • 10. Comparison
  • 11. IntegrationsAnt Eclipse Maven Sonar IntelliJ IDEA AquillianGUIDancer SBT
  • 12. MetricsTypes MethodsLines InstructionsBranches Complexity
  • 13. Plug-in TestingNo moreWorkspace Rebuilds!
  • 14. Intermediate DumpsIncremental CodeCoverage
  • 15. Showcases Fight Dark Matter In Your Software!
  • 16. FutureDetermine relationship code - testEven faster with JSR 292 (Java 7) FiltersInject into a running JVM (Java 6)
  • 17. Contributehttp://jacoco.org
  • 18. ?

×