~/talk

Measuring Complexity

Talkat XtremePython 2025 · on Tuesday, 2025-11-18· [python]
slides:none on file

Argues that complexity breaks into technical, structural, cognitive and accidental types and can be measured with concrete metrics: McCabe (cyclomatic), dependency counts (one file importing ~200 objects), churn hotspots (files with frequent edits), and cognitive scores — though SonarQube and maintainability index mislead for Python. Shows tools used (radon, custom analyzers), examples (a FastAPI file of 4,000 lines compressible to ~400, Django ~2,000 classes/1,000 functions), and recommends KPIs plus targeting 20% hot zones for the biggest payoff.

AI-written summary · about

  1. 0:00Introduction
  2. 2:33What is complexity
  3. 6:02Structural complexity
  4. 8:59Cognitive complexity
  5. 11:11Accidental complexity
  6. 14:02Measuring complexity tools
  7. 26:27Working with complexity
  8. 30:30Recap and conclusion
~/search
type to search 8,222 conferences, 162,397 speakers and 219,688 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
← →
on a talk: 5 seconds back / forward
0–9
on a talk: jump to 0%–90% of the recording
?
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.