Overview
Explore the intricacies of Java bytecode and its impact on code coverage in this 46-minute conference talk from YOW! Australia 2023. Dive into bytecode pattern matching and discover how different compiler versions transform source code, focusing on the implementation details of JaCoCo, a popular open-source code coverage tool for Java. Learn how JaCoCo identifies and filters out compiler-generated artifacts to achieve more accurate code coverage results. Follow along as the speaker demonstrates real-world examples, discusses synthetic methods, and provides insights into the challenges of Java code coverage. Gain a deeper understanding of Java bytecode, compiler behavior, and effective code coverage strategies to improve your Java development practices.
Syllabus
Intro
Java Code Coverage
Java
JaCoCo should ignore synthetic methods
Demo
Conclusion
Outro
Taught by
GOTO Conferences