Behavioral Code Analysis

Mining version-control history as a behavioral record of how a codebase actually evolves and who touches it — hotspots (change frequency × complexity), change coupling, code age, author diffusion and knowledge maps — to prioritise technical debt, quantify code health's business impact, and expose organisational risk (Conway's law, offboarding) before it shows in the code.

Also known as: behavioral code analysis, hotspot analysis, hotspots, change coupling, temporal coupling, knowledge map, code health

Part of: Technical Debt

How authors use it

Oldest first (extraction date when no publication date is known).

AuthorTheir termTheir meaning
Software Design X-Rays
Adam Tornhill · 2018-03
Change coupling (the author explicitly disowns 'temporal coupling' for this)Two or more files/functions that change together over time in version-control history, detected purely from co-occurrence in commits/logical change sets, independent of any static code dependency.
Code Red: The Business Impact of Code Quality -- A Quantitative Study of 39 Proprietary Production Codebases
Adam Tornhill, Markus Borg · 2022-03-08
Code HealthCodeScene's proprietary 1.0 (unhealthy) to 10.0 (healthy) score, combining ISO 5055 maintainability elements with design-level code smells (God Class, God Method, Duplicated Code); files are bucketed as Healthy (>=8.0), Warning, or Alert (<4.0).
Architecture Modernization: Aligning software, strategy, and structure • Nick Tune • CodeCrafts 2024
SQUER Solutions · 2024-06-11
change couplingCoupling that exists even between services with no technical integration (no shared API, no shared database) because a single feature still requires touching many of them — invisible on an architecture diagram but real in delivery cost.
Case Study: Refactoring at Scale with Agents
codescene.com · 2026-09-24
Code HealthCodeScene's proprietary 0-10 code-quality score, used here as the deterministic target metric that refactoring agents optimize against and are judged by — chosen specifically because it was independently validated (in prior CodeScene research) as a proxy for productivity, defect density, AI correctness, and token efficiency, not merely a convenient automatable number.

Documents (5)

Propositions touching this concept (10)

By publication month, oldest first (extraction month when no publication date is known).

2018-03

2022-03

2024-06

2026-09

Open gaps (2)