~/talk

Static Kotlin Bug Hunting

Talkat YOW! Perth 2023 · 2023-09-11..09-12· [java]
slides:none on file

Sonar replaces the old generalized-tree pipeline with a Kotlin-native analyzer (extracted to a separate repo) and ships SonarKotlin 2.0, using the Kotlin compiler semantic model to reduce false positives and add advanced checks. Initial release spikes analysis time and triggers OOMs (commented‑out‑code rule compiled every comment), so a probabilistic filter and lazy invoke-checks are added. Edge cases include IntelliJ-style nullable AST nodes, KTNamedFunction surprises, delegates, overloaded operators, unresolved classpath imports and a Java version mismatch. Result: improved precision, about 133 rules and ~18–19 releases, with ongoing performance tuning.

AI-written summary · about

  1. 0:00Intro
  2. 1:32Agenda
  3. 2:13History
  4. 11:04Why Kotlin?
  5. 12:29sonar-kotlin 2.0
  6. 23:12Feedback
  7. 40:04Achievements
  8. 41:27Takeaways
  9. 42:37Outro
~/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.