guardian/commercial
Guardian advertising business logic
GitHub 
15K
lines of main code
211 files
16K
lines of test code
117 files
2.3K
lines of other code
49 files
6y
age
2,220 days
87%
main code touched
1 year (13K LOC)
ABCDE
ease of change
for people*
ABCDE
ease of change
for AI*
15K
ts
0.1K
yaml
MJS
0.1K
mjs
0.08K
js
0.01K
toml
30 days 2026 2025 2024 2023 2022 2021 2020
+492
-191
+6.1K
-2.3K
+22K
-14K
+9.5K
-2K
+8K
-9.1K
+1.6K
-286
+1.4K
-306
+155
-21
48

415

759

393

249

93

46

26

19

135

150

113

60

50

30

23

1

3

6

2

0

2

1

0

8

14

13

12

12

14

10

5

2026 2025 2024 2023 2022 2021 2020
Rule-of-thumb estimates

Rebuild value

to rebuild
rebuild value

Maintenance effort

per year to maintain
maintenance cost per year
Rules of thumb, not measurements: one man-year rebuilds about 10,000 lines of main code (design, testing and coordination included), and keeping a code base alive takes about 15% of its rebuild value per year (20 man-years of rebuild value need about 3 man-years of maintenance every year). Your changes are remembered in this browser for every report.