Home Conference Sessions Java, Code Cover...

Java, Code Coverage & Their best Friend — Bytecode: Scandals, Intrigues, Investigations

Evgeny Mandrikov | GOTO Copenhagen 2023

You need to be signed in to add a collection

Do you know what is inside of your class files? Are you ready to bet? Let's have fun by diving into bytecode pattern matching and explore how compilers and their different versions, from the old ones up to the most recent, transform your source code. Our dive will be based on details of the implementation of the most popular open-source code coverage tool for Java – JaCoCo ( [https://www.jacoco.org/](https://www.jacoco.org/) ), which finds in bytecode and filters out various compiler generated artifacts, which otherwise require unnecessary and sometimes impossible tricks to have full code coverage.

Share on:
linkedin facebook
Copied!

Transcript

Do you know what is inside of your class files?

Are you ready to bet?

Let's have fun by diving into bytecode pattern matching and explore how compilers and their different versions, from the old ones up to the most recent, transform your source code. Our dive will be based on details of the implementation of the most popular open-source code coverage tool for Java – JaCoCo ( https://www.jacoco.org/ ), which finds in bytecode and filters out various compiler generated artifacts, which otherwise require unnecessary and sometimes impossible tricks to have full code coverage.

About the speakers

Evgeny Mandrikov

Evgeny Mandrikov

Software Gardener, Language Team Technical Leader

Related topics