LAS-0326 Java 4..13, Kotlin, Code Coverage and their best friend - bytecode: scandals, intrigues, investigations | Devoxx

Java 4..13, Kotlin, Code Coverage and their best friend - bytecode: scandals, intrigues, investigations

Conference

agTest DevOps, Agile, Methodology & Culture

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 different compilers (Java/Kotlin) and their different versions, including recently released javac 13 and kotlinc 1.3, transform your source code.

Our dive will be based on details of implementation of most popular open source code coverage tool for Java – JaCoCo, whose recently released version finds in bytecode and filters out various compiler generated artifacts, which otherwise require unnecessary and sometimes impossible tricks to have full code coverage.

Evgeny Mandrikov Evgeny Mandrikov

Evgeny is a contributor to various open source projects, including OpenJDK, and a speaker at international conferences and JUGs. He is also one of the project leads of widely adopted code coverage library for Java - JaCoCo, and the award-winning EclEmma project at the Eclipse Foundation that integrates JaCoCo into Eclipse. In his day job at SonarSource Evgeny develops SonarQube’s static source code analysis for languages such as Java, C/C++, C#, JavaScript.