guardian/support-admin-console
File Size The distribution of size of files (measured in lines of code). |
File Size Overall
- There are 371 files with 34,917 lines of code.
- 1 very long files (1,160 lines of code)
- 3 long files (1,556 lines of code)
- 41 medium size files (11,397 lines of code)
- 73 small files (10,139 lines of code)
- 253 very small files (10,665 lines of code)
Legend:
1001+
501-1000
201-500
101-200
1-100
explore: grouped by folders | grouped by size | sunburst | 3D view
File Size per Extension
1001+
501-1000
201-500
101-200
1-100
File Size per Logical Decomposition
primary
Longest Files (Top 50)
| File | # lines | # units |
|---|---|---|
| 1160 | - | |
| 539 | 2 | |
| 514 | - | |
| 503 | 1 | |
| 472 | - | |
| 438 | 3 | |
| 416 | - | |
| 391 | 1 | |
| 383 | 3 | |
| 340 | 3 | |
| 331 | 17 | |
| 315 | 1 | |
| 313 | 1 | |
| 311 | - | |
| 309 | 1 | |
| 309 | - | |
| 309 | - | |
| 293 | - | |
| 287 | - | |
| 287 | - | |
| 284 | - | |
| 284 | 1 | |
| 272 | - | |
| 260 | - | |
| 256 | - | |
| 255 | 1 | |
| 254 | 14 | |
| 250 | 44 | |
| 249 | - | |
| 248 | 1 | |
| 243 | 12 | |
| 240 | 7 | |
| 237 | 3 | |
| 228 | - | |
| 223 | 1 | |
| 221 | 2 | |
| 218 | - | |
| 218 | - | |
| 216 | 2 | |
| 214 | - | |
| 213 | - | |
| 206 | - | |
| 202 | - | |
| 201 | 1 | |
| 201 | - | |
| 200 | - | |
| 200 | 2 | |
| 199 | - | |
| 191 | - | |
| 186 | - |
Large Files That Change Often (Top 20)
To change a file, an AI coding agent (or a person) has to read it: these files are read the most for the changes in the past year (lines × changes).
| File | # lines | ≈ tokens to read | # changes (1y) | ≈ lines edited per change | lines read per line changed |
|---|---|---|---|---|---|
| 416 | ~2k–7k | 60 | ~50 | ~7 | |
| 1160 | ~7k–20k | 21 | ~150 | ~7 | |
| 309 | ~2k–5k | 63 | ~20 | ~15 | |
| 539 | ~3k–10k | 33 | ~50 | ~15 | |
| 293 | ~2k–5k | 56 | ~15 | ~20 | |
| 503 | ~3k–10k | 31 | ~70 | ~7 | |
| 514 | ~3k–10k | 29 | ~50 | ~15 | |
| 250 | ~1.5k–5k | 53 | ~10 | ~20 | |
| 255 | ~1.5k–5k | 51 | ~30 | ~7 | |
| 284 | ~1.5k–5k | 45 | ~10 | ~30 | |
| 438 | ~3k–7k | 29 | ~30 | ~15 | |
| 272 | ~1.5k–5k | 45 | ~7 | ~30 | |
| 260 | ~1.5k–5k | 47 | ~30 | ~7 | |
| 383 | ~2k–7k | 29 | ~20 | ~15 | |
| 309 | ~2k–5k | 35 | ~20 | ~15 | |
| 191 | ~1k–3k | 38 | ~30 | ~5 | |
| 182 | ~1k–3k | 38 | ~20 | ~7 | |
| 214 | ~1k–3k | 30 | ~50 | ~5 | |
| 391 | ~2k–7k | 16 | ~20 | ~20 | |
| 199 | ~1k–3k | 31 | ~50 | ~5 |
Tokens are lines × 7 to 14 (analysis.fileReadsForChanges). Lines edited per change are the file's lines added and deleted divided by its commits over the whole history. Agents read about 2,000 lines at a time: when a 17,000-line file was split into modules, the tokens an agent read for the same change fell by 83% (The Economic Benefit of Refactoring, 2026).
Files With Most Units (Top 50)
| File | # lines | # units |
|---|---|---|
| 250 | 44 | |
| 75 | 18 | |
| 331 | 17 | |
| 254 | 14 | |
| 243 | 12 | |
| 178 | 11 | |
| 182 | 11 | |
| 162 | 9 | |
| 142 | 8 | |
| 107 | 7 | |
| 240 | 7 | |
| 96 | 6 | |
| 75 | 5 | |
| 80 | 5 | |
| 114 | 5 | |
| 48 | 4 | |
| 70 | 4 | |
| 90 | 4 | |
| 90 | 4 | |
| 88 | 4 | |
| 108 | 4 | |
| 56 | 4 | |
| 114 | 4 | |
| 30 | 3 | |
| 71 | 3 | |
| 64 | 3 | |
| 25 | 3 | |
| 47 | 3 | |
| 68 | 3 | |
| 79 | 3 | |
| 44 | 3 | |
| 78 | 3 | |
| 151 | 3 | |
| 438 | 3 | |
| 168 | 3 | |
| 237 | 3 | |
| 340 | 3 | |
| 181 | 3 | |
| 14 | 3 | |
| 383 | 3 | |
| 59 | 2 | |
| 35 | 2 | |
| 37 | 2 | |
| 50 | 2 | |
| 109 | 2 | |
| 200 | 2 | |
| 45 | 2 | |
| 221 | 2 | |
| 216 | 2 | |
| 185 | 2 |
Files With Long Lines (Top 22)
There are 22 files with lines longer than 120 characters. In total, there are 70 long lines.
| File | # lines | # units | # long lines |
|---|---|---|---|
| 121 | 1 | 18 | |
| 27 | - | 12 | |
| 134 | - | 8 | |
| 100 | - | 5 | |
| 254 | 14 | 3 | |
| 75 | 18 | 3 | |
| 391 | 1 | 2 | |
| 243 | 12 | 2 | |
| 142 | 8 | 2 | |
| 86 | - | 2 | |
| 287 | - | 2 | |
| 90 | 4 | 1 | |
| 240 | 7 | 1 | |
| 200 | - | 1 | |
| 315 | 1 | 1 | |
| 50 | - | 1 | |
| 139 | - | 1 | |
| 503 | 1 | 1 | |
| 99 | - | 1 | |
| 9 | - | 1 | |
| 79 | - | 1 | |
| 539 | 2 | 1 |
Correlations
File Size vs. Commits (all time): 371 points
|
|
1160.0 | lines of code min: 2.0average: 94.12 25th percentile: 27.0 median: 58.0 75th percentile: 119.0 max: 1160.0 |
|
| 0 | 198.0 | ||
|
commits (all time) min: 1.0 | average: 19.23 | 25th percentile: 7.0 | median: 12.0 | 75th percentile: 22.0 | max: 198.0
|
|||
File Size vs. Contributors (all time): 371 points
|
|
1160.0 | lines of code min: 2.0average: 94.12 25th percentile: 27.0 median: 58.0 75th percentile: 119.0 max: 1160.0 |
|
| 0 | 30.0 | ||
|
contributors (all time) min: 1.0 | average: 6.13 | 25th percentile: 3.0 | median: 6.0 | 75th percentile: 8.0 | max: 30.0
|
|||
File Size vs. Commits (30 days): 192 points
|
|
539.0 | lines of code min: 6.0average: 127.54 25th percentile: 51.25 median: 100.0 75th percentile: 180.0 max: 539.0 |
|
| 0 | 11.0 | ||
|
commits (30d) min: 1.0 | average: 1.58 | 25th percentile: 1.0 | median: 1.0 | 75th percentile: 2.0 | max: 11.0
|
|||
File Size vs. Contributors (30 days): 192 points
|
|
539.0 | lines of code min: 6.0average: 127.54 25th percentile: 51.25 median: 100.0 75th percentile: 180.0 max: 539.0 |
|
| 0 | 6.0 | ||
|
contributors (30d) min: 1.0 | average: 1.37 | 25th percentile: 1.0 | median: 1.0 | 75th percentile: 1.0 | max: 6.0
|
|||
File Size vs. Commits (90 days): 223 points
|
|
1160.0 | lines of code min: 4.0average: 128.83 25th percentile: 48.0 median: 98.0 75th percentile: 178.0 max: 1160.0 |
|
| 0 | 15.0 | ||
|
commits (90d) min: 1.0 | average: 2.21 | 25th percentile: 1.0 | median: 1.0 | 75th percentile: 2.0 | max: 15.0
|
|||
File Size vs. Contributors (90 days): 223 points
|
|
1160.0 | lines of code min: 4.0average: 128.83 25th percentile: 48.0 median: 98.0 75th percentile: 178.0 max: 1160.0 |
|
| 0 | 6.0 | ||
|
contributors (90d) min: 1.0 | average: 1.58 | 25th percentile: 1.0 | median: 1.0 | 75th percentile: 2.0 | max: 6.0
|
|||
About This Analysis
- File size measurements show the distribution of size of files.
- Files are classified in four categories based on their size (lines of code): 1-100 (very small files), 101-200 (small files), 201-500 (medium size files), 501-1000 (long files), 1001+(very long files).
- It is a good practice to keep files small. Long files may become "bloaters", code that have increased to such gargantuan proportions that they are hard to work with.
Learn more...
- To learn more about bloaters and how to deal with long code structures, Sokrates recommends the following resources:
- Refactoring bloaters, sourcemaking.com
- The Blob Software Development Anti-Pattern, sourcemaking.com