~/talk

How we completely rewrote our static code analyzer for Kotlin

Talkat KotlinConf 2023 · 2023-04-12..04-14· Administratiezaal· [testing]
slides:none on file

A full rewrite replaces the universal intermediate tree with SonarKotlin 2.0 built on PSI and a semantic model, raising rule precision and expanding to about ~120 rules but also tripling reported issues on sample projects and causing slow analysis and occasional OOMs. The talk covers concrete fixes: companion object and delegate import handling, operator mapping, and a pragmatic heuristic comment-detection to avoid compiling every comment. Watch for hard performance tradeoffs, exact bugs found, and which fixes actually land.

AI-written summary · about

  1. 0:00Start
  2. 16:36Bad Function Name rule
  3. 17:48Deprecated Code Used Rule
  4. 23:24Problems
  5. 36:43Achievements
  6. 37:42Takeaways
~/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.