~/talk

The art of static code analysis

Talkat Heapcon 2024 · 2024-11-07..11-08· [java, testing]
slides:none on file

Builds a simple Java static-analysis tool using Eclipse JDT and JavaParser, plus parser generators ANTLR and JavaCC for background, and shows concrete results: parsing a sample Multiset class, counting 20 methods, flagging one bad method name (createThreadPool) and detecting missing null checks for a count parameter. Demonstrates AST walking, visitors/listeners, symbol-resolution differences, Java 21 support, and that both libraries produce equivalent findings with different bootstrapping effort.

AI-written summary · about

  1. 0:00Introduction and speaker intro
  2. 0:48Why use static analysis
  3. 3:17Parsing source code basics
  4. 8:35Parser generators overview
  5. 13:38Language-specific parsing libraries
  6. 18:42Java parser and Eclipse JDT
  7. 25:50Practical code analysis examples
  8. 34:03Use cases and Q&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.