~/talk

It's Not You, It's the API: Automatically Avoiding API Misuses

Talkat Strange Loop 2022 · 2022-09-22..09-24· [developer-experience, testing]
links:none on file
slides:none on file

Mining billions of client usages to infer concrete usage rules, then presenting those candidate rules for quick editing produces executable checks that are automatically packaged as a maven plugin. The pipeline reports a mined-rule detector with about 42% recall and ~34% precision so one in three warnings is noisy, but the human-in-the-loop workflow plus two tools (an intra-method control/dataflow checker and an annotation-based Java pipeline) turns undocumented expectations into enforceable checks.

AI-written summary · about

  1. 0:00Introduction
  2. 0:29Example
  3. 1:41The Problem
  4. 2:26API Misuses
  5. 2:47Tools
  6. 3:24Method
  7. 4:11Results
  8. 5:01Two worlds
  9. 5:47API usage rules
  10. 6:45API usage rules editor
  11. 8:24Maven plugin
  12. 8:50Summary
~/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.