~/talk

Despagghetifying code with NDepend

Talkat NDC Oslo 2018 · 2018-06-11..06-15· [developer-experience]
links:none on file
slides:none on file

NDepend plugs into Visual Studio, runs a one-time analysis to build an in-memory model, and uses CQLinq queries plus the dependency matrix and graphs to spot long dependency lines and cohesive squares inside a single God class of tens of thousands of lines. The team elevates method-level links to class-level types, performs compiler-safe refactoring over two to three weeks of mob programming (five people), finds dead and duplicated code, preserves behavior, and ends with much smaller, easier-to-reason-about classes.

AI-written summary · about

  1. 0:00Start
  2. 0:17Jim Pelletier
  3. 6:59Overview
  4. 9:55Dashboard
  5. 10:58The Queries and Rules Explorer
  6. 12:55Trend Metrics
  7. 13:44Export To Graph
  8. 22:39Tree Map
  9. 30:30Dependency Matrix
  10. 40:13Base Class
  11. 48:21State Base Class and Common Dependencies
  12. 52:56Did the Functionality of the Code Change
  13. 56:05Indirect Dependencies
~/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.