~/talk

Cyclomatic Complexity in Code

Talkat Code Quality Conference 2024 · on Thursday, 2024-06-27· [software-architecture, testing]
slides:none on file

Measures software architecture using operational, structural and process metrics and focuses on cyclomatic complexity as a structural measure. Presents concrete formulas CC = E - N + 2P and the common shortcut p + 1 and shows counting edges/nodes or predicate lines to derive the number of unit tests. Demonstrates flow‑graph examples, handling statistical outliers for performance data, averaging method for class complexity, and gives practical thresholds like 1–10 good, 10–20 warning, 20–40 high, >40 untestable.

AI-written summary · about

  1. 0:00Measuring architecture characteristics
  2. 3:40Defining architecture characteristics
  3. 7:35Operational measures and analysis
  4. 12:34Cyclomatic complexity introduction
  5. 15:26Calculating cyclomatic complexity
  6. 20:30Simplified calculations
  7. 23:20Counting predicates
  8. 25:29Practical examples
  9. 29:27Interpreting complexity values
  10. 31:56Process measures
  11. 33:20Summary of methods
~/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.