Java, Code Coverage: Scandals, Intrigues & Investigations • Evgeny Mandrikov • GOTO 2023

Sdílet
Vložit
  • čas přidán 27. 06. 2024
  • This presentation was recorded at GOTO Copenhagen 2023. #GOTOcon #GOTOcph
    gotocph.com
    Evgeny Mandrikov - Software Gardener, Language Team Technical Leader ‪@EvgenyMandrikov‬
    ORIGINAL TALK TITLE
    Java, Code Coverage & Their Best Friend - Bytecode: Scandals, Intrigues, Investigations
    RESOURCES
    / _godin_
    / mandrikov
    github.com/Godin
    sessionize.com/godin
    Links
    github.com/jacoco/jacoco
    github.com/openjdk/jdk/pull/3...
    ABSTRACT
    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 ( 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. [...]
    TIMECODES
    00:00 Intro
    01:24 Java Code Coverage
    05:33 Java
    22:55 JaCoCo should ignore synthetic methods
    45:45 Demo
    49:56 Conclusion
    52:52 Outro
    Read the full abstract here:
    gotocph.com/2023/sessions/2992
    RECOMMENDED BOOKS
    Vijay SRJ • Java 21 New Features Simplified • amzn.to/3SugyRc
    Kevlin Henney & Trisha Gee • 97 Things Every Java Programmer Should Know • amzn.to/3kiTwJJ
    Joshua Bloch • Effective Java • amzn.to/3ygmQJt
    Jeff Scott Brown & Graeme Rocher • The Definitive Guide to Grails 2 • amzn.to/3DdcugY
    Todd Raymond Sharp • Introducing Micronaut • amzn.to/3pFvt0v
    Sanjay Patni • Pro RESTful APIs with Micronaut • amzn.to/43qekpp
    Nirmal Singh & Zack Dawood • Building Microservices with Micronaut • amzn.to/43mKfH5
    / gotocon
    / goto-
    / goto_con
    / gotoconferences
    #Bytecode #Java #CodeCoverage #JaCoCo #JDK #JavaCodeCoverage #Enum #EmptyEnum #EvgenyMandrikov
    Looking for a unique learning experience?
    Attend the next GOTO conference near you! Get your ticket at gotopia.tech
    Sign up for updates and specials at gotopia.tech/newsletter
    SUBSCRIBE TO OUR CHANNEL - new videos posted almost daily.
    czcams.com/users/GotoConf...
  • Věda a technologie

Komentáře • 1

  • @maximstepanenko
    @maximstepanenko Před 6 dny

    Wtf from speaker, that’s nice. Feels likes russian bidlo.