~/talk

Automating away bugs with Error Prone in practice

Talkat Spring I/O 2023 Β· 2023-05-18..05-19Β· [developer-experience, testing]
slides:none on file

Picnic describes using Error Prone as a compiler plugin to find and auto-fix bugs across Java repos, configured via two Maven profiles: one for analysis and one for patch mode that edits source in place. They run checks selectively, land fixes as small topical commits, and report results like almost 800 files changed and ~4,000 edits for one rule and ~33,000 lines rewritten across 60 PRs. The open source Error‑Prone Support repo supplies ~750 refaster rules and 40+ custom checks and CI tooling to enforce enabled rules.

AI-written summary Β· about

  1. 0:00Introduction
  2. 7:23What is Error Prone
  3. 10:15Error Prone with Maven
  4. 12:19Live demo
  5. 18:21Rollout strategy
  6. 24:44Error Prone at Picnic
  7. 27:10Error Prone Support
  8. 31:28Opinionated rules at scale
  9. 34:36State and adoption
  10. 37:41Q&A
~/search
type to search 6,249 conferences, 138,987 speakers and 185,172 talks
~/help
cmdctrl k
search every conference, speaker and series
/
focus the filter search
h
home
c
conferences
s
speakers
e
series
t
light / dark β€” the status bar button does the same
?
this help
esc
close this, then clear every filter β€” or just the search, while you are typing in it

Ignored while you are typing. Pages without a filter rail have no search to focus.