~/talk

Guide Refactorings With Behavioral Code Analysis

Talkat Jfokus 2019 · 2019-02-04..02-06· [developer-experience, software-architecture]
slides:none on file

Uses version‑control history to find high‑impact refactor targets: hotspots where large modules change often (Android’s activity manager service is 20k LOC touched by 74 contributors), method‑level X‑rays that flag a 500‑line handleMessage with 97 changes/year, and copy‑paste + change‑coupling to find true duplication in Linux drivers. Recommends lightweight measures like count indentations for language‑neutral complexity, and a splinter pattern (copy, delegate, extract) to refactor safely under heavy parallel contributions.

AI-written summary · about

  1. 0:00Start
  2. 12:12What's Code Complexity Anyway?
  3. 15:18Case Study: Android
  4. 20:43Splinter: Resulting Context
  5. 21:28Cut The Middle Man
  6. 24:44Tooling: Try it on your own Code
  7. 26:17Code Duplication and DRY Violations
  8. 31:46Case Study: Code Clones in Linux
  9. 33:54Function Comparison
  10. 36:02Case Study: Refactoring Entity Framework Core
  11. 36:31Code Clones in Entity Framework - Refactor?
  12. 39:50The Proximity Refactoring
  13. 40:29Reducing Complex Inter-Dependencies
  14. 43:04X-Ray of the Coevolving Unit Tests
  15. 43:59Refactoring jUnit: Express Our Domain
~/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.