Overview
Save Big on Coursera Plus. 7,000+ courses at $160 off. Limited Time Only!
Discover how to streamline large-scale Java development using Error Prone in this 40-minute conference talk from GOTO Amsterdam 2022. Learn about Google's Error Prone and Refaster tooling for automated bug detection and code pattern enforcement. Explore techniques for large-scale refactoring, custom bug checks, and automated fixes. Gain insights into integrating these tools with continuous integration systems and see real-world examples from Picnic's development practices. Master the art of controlling your codebase efficiently and effectively through practical demonstrations and expert guidance on when and how to apply these powerful tools.
Syllabus
Intro
Refactoring at scale using Error Prone
The online groceries challenge
Picnic's numbers
SonarQube
The need for automated sanity
Error Prone
Demo
Error Prone continued
Error Prone BugChecker
Demo
Custom BugChecks at Picnic
What's not to like?
What if we could write rules by example?
Error Prone with Refaster
Demo
Refaster at Picnic: JDK 11 migration
Refaster at Picnic: Reactor anti-patterns
When to use Refaster?
Refaster vs BugChecks
Integrating Error Prone with CI
Practice your new superpower
Outro
Taught by
GOTO Conferences