~/talk

Supporting your architecture with code coverage and static analysis rules

Talkat Droidcon London 2023 · 2023-10-26..10-27· [developer-experience, testing]
slides:none on file

Describes a practical rollout: measure coverage with Jacoco, check results into CI, and apply inclusion and exclusion rules so only architecturally relevant files count; that shifts an example metric from roughly 50% to a more meaningful 70% of “code that matters.” Enforce class simplicity with static checks (use cyclomatic complexity thresholds) so excluded files can’t hide testable logic, and require consistent names like DTO naming to auto-exclude API models while failing builds on violations.

AI-written summary · about

  1. 0:00Introduction to architecture support
  2. 3:56Challenges with code coverage targets
  3. 7:48Exclusion rules for meaningful coverage
  4. 10:55Enforcing rules with static analysis
  5. 14:44Architecture enforcement through rules
  6. 16:51Monitoring coverage over time
  7. 19:40Conclusion and Q&A
~/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.