File Size Overall
- There are 256 files with 53,187 lines of code.
- 9 very long files (14,102 lines of code)
- 13 long files (8,665 lines of code)
- 56 medium size files (18,041 lines of code)
- 49 small files (6,822 lines of code)
- 129 very small files (5,557 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 |
|---|---|---|
| 2401 | 91 | |
| 2290 | 132 | |
| 1902 | 70 | |
| 1509 | 66 | |
| 1363 | 85 | |
| 1318 | 39 | |
| 1185 | 55 | |
| 1110 | 31 | |
| 1024 | 58 | |
| 983 | 43 | |
| 786 | 51 | |
| 773 | - | |
| 669 | 30 | |
| 637 | 23 | |
| 634 | 17 | |
| 633 | 29 | |
| 630 | 37 | |
| 626 | 20 | |
| 610 | 20 | |
| 581 | 21 | |
| 552 | - | |
| 551 | 26 | |
| 497 | 27 | |
| 486 | 18 | |
| 480 | 20 | |
| 459 | 21 | |
| 449 | 22 | |
| 430 | 25 | |
| 412 | 16 | |
| 411 | 12 | |
| 405 | 23 | |
| 404 | 14 | |
| 396 | 16 | |
| 390 | 28 | |
| 376 | 14 | |
| 374 | 14 | |
| 366 | 17 | |
| 360 | 25 | |
| 351 | - | |
| 348 | 5 | |
| 347 | - | |
| 342 | 12 | |
| 337 | 15 | |
| 336 | 21 | |
| 329 | 24 | |
| 326 | 10 | |
| 322 | 17 | |
| 320 | 7 | |
| 320 | 10 | |
| 320 | 31 |
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 |
|---|---|---|---|---|---|
| 1902 | ~10k–30k | 93 | ~30 | ~50 | |
| 1509 | ~10k–30k | 93 | ~30 | ~50 | |
| 1110 | ~7k–20k | 126 | ~30 | ~30 | |
| 1363 | ~7k–20k | 96 | ~30 | ~50 | |
| 983 | ~5k–15k | 123 | ~30 | ~30 | |
| 1024 | ~7k–15k | 101 | ~15 | ~70 | |
| 581 | ~3k–10k | 109 | ~20 | ~30 | |
| 669 | ~3k–10k | 89 | ~10 | ~70 | |
| 634 | ~3k–10k | 93 | ~15 | ~30 | |
| 610 | ~3k–10k | 92 | ~15 | ~30 | |
| 630 | ~3k–10k | 89 | ~10 | ~70 | |
| 329 | ~2k–5k | 139 | ~50 | ~7 | |
| 480 | ~3k–7k | 91 | ~10 | ~50 | |
| 497 | ~3k–7k | 86 | ~15 | ~30 | |
| 405 | ~2k–7k | 95 | ~7 | ~50 | |
| 2401 | ~15k–50k | 16 | ~200 | ~15 | |
| 449 | ~3k–7k | 85 | ~15 | ~30 | |
| 374 | ~2k–7k | 102 | ~15 | ~20 | |
| 404 | ~2k–7k | 87 | ~10 | ~50 | |
| 320 | ~2k–5k | 98 | ~10 | ~30 |
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 |
|---|---|---|
| 2290 | 132 | |
| 2401 | 91 | |
| 1363 | 85 | |
| 1902 | 70 | |
| 1509 | 66 | |
| 1024 | 58 | |
| 1185 | 55 | |
| 786 | 51 | |
| 983 | 43 | |
| 1318 | 39 | |
| 630 | 37 | |
| 1110 | 31 | |
| 320 | 31 | |
| 669 | 30 | |
| 633 | 29 | |
| 390 | 28 | |
| 497 | 27 | |
| 551 | 26 | |
| 430 | 25 | |
| 360 | 25 | |
| 329 | 24 | |
| 405 | 23 | |
| 637 | 23 | |
| 308 | 22 | |
| 449 | 22 | |
| 336 | 21 | |
| 581 | 21 | |
| 459 | 21 | |
| 480 | 20 | |
| 610 | 20 | |
| 626 | 20 | |
| 486 | 18 | |
| 634 | 17 | |
| 366 | 17 | |
| 285 | 17 | |
| 159 | 17 | |
| 322 | 17 | |
| 211 | 17 | |
| 412 | 16 | |
| 179 | 16 | |
| 396 | 16 | |
| 180 | 16 | |
| 300 | 16 | |
| 90 | 16 | |
| 145 | 16 | |
| 337 | 15 | |
| 404 | 14 | |
| 376 | 14 | |
| 136 | 14 | |
| 374 | 14 |
Files With Long Lines (Top 50)
There are 110 files with lines longer than 120 characters. In total, there are 831 long lines.
| File | # lines | # units | # long lines |
|---|---|---|---|
| 2401 | 91 | 118 | |
| 1110 | 31 | 56 | |
| 1902 | 70 | 52 | |
| 329 | 24 | 37 | |
| 1185 | 55 | 26 | |
| 983 | 43 | 23 | |
| 200 | 3 | 19 | |
| 634 | 17 | 19 | |
| 1363 | 85 | 18 | |
| 255 | 9 | 17 | |
| 411 | 12 | 16 | |
| 348 | 5 | 15 | |
| 669 | 30 | 15 | |
| 265 | 8 | 15 | |
| 786 | 51 | 15 | |
| 297 | 13 | 13 | |
| 610 | 20 | 13 | |
| 430 | 25 | 12 | |
| 637 | 23 | 12 | |
| 150 | 7 | 11 | |
| 626 | 20 | 11 | |
| 374 | 14 | 11 | |
| 480 | 20 | 9 | |
| 1509 | 66 | 9 | |
| 61 | 2 | 8 | |
| 405 | 23 | 8 | |
| 390 | 28 | 8 | |
| 197 | 6 | 8 | |
| 103 | 2 | 7 | |
| 497 | 27 | 7 | |
| 277 | 5 | 7 | |
| 248 | 8 | 7 | |
| 257 | 10 | 7 | |
| 320 | 10 | 7 | |
| 320 | 31 | 7 | |
| 326 | 10 | 6 | |
| 267 | 9 | 6 | |
| 259 | 8 | 6 | |
| 581 | 21 | 6 | |
| 92 | 7 | 5 | |
| 166 | - | 5 | |
| 285 | 17 | 5 | |
| 74 | 5 | 5 | |
| 551 | 26 | 5 | |
| 278 | 7 | 5 | |
| 148 | 5 | 5 | |
| 118 | 3 | 4 | |
| 304 | 13 | 4 | |
| 2290 | 132 | 4 | |
| 273 | 11 | 4 |
Correlations
File Size vs. Commits (all time): 256 points
|
|
2401.0 | lines of code min: 1.0average: 207.76 25th percentile: 39.0 median: 100.0 75th percentile: 266.5 max: 2401.0 |
|
| 0 | 139.0 | ||
|
commits (all time) min: 1.0 | average: 28.65 | 25th percentile: 1.0 | median: 2.0 | 75th percentile: 84.0 | max: 139.0
|
|||
File Size vs. Contributors (all time): 256 points
|
|
2401.0 | lines of code min: 1.0average: 207.76 25th percentile: 39.0 median: 100.0 75th percentile: 266.5 max: 2401.0 |
|
| 0 | 1.0 | ||
|
contributors (all time) min: 1.0 | average: 1.0 | 25th percentile: 1.0 | median: 1.0 | 75th percentile: 1.0 | max: 1.0
|
|||
File Size vs. Commits (30 days): 110 points
|
|
2401.0 | lines of code min: 2.0average: 322.87 25th percentile: 85.5 median: 202.0 75th percentile: 379.5 max: 2401.0 |
|
| 0 | 12.0 | ||
|
commits (30d) min: 1.0 | average: 1.94 | 25th percentile: 1.0 | median: 1.0 | 75th percentile: 2.0 | max: 12.0
|
|||
File Size vs. Contributors (30 days): 110 points
|
|
2401.0 | lines of code min: 2.0average: 322.87 25th percentile: 85.5 median: 202.0 75th percentile: 379.5 max: 2401.0 |
|
| 0 | 1.0 | ||
|
contributors (30d) min: 1.0 | average: 1.0 | 25th percentile: 1.0 | median: 1.0 | 75th percentile: 1.0 | max: 1.0
|
|||
File Size vs. Commits (90 days): 167 points
|
|
2401.0 | lines of code min: 1.0average: 255.17 25th percentile: 50.0 median: 115.0 75th percentile: 320.0 max: 2401.0 |
|
| 0 | 19.0 | ||
|
commits (90d) min: 1.0 | average: 2.86 | 25th percentile: 1.0 | median: 2.0 | 75th percentile: 3.0 | max: 19.0
|
|||
File Size vs. Contributors (90 days): 167 points
|
|
2401.0 | lines of code min: 1.0average: 255.17 25th percentile: 50.0 median: 115.0 75th percentile: 320.0 max: 2401.0 |
|
| 0 | 1.0 | ||
|
contributors (90d) min: 1.0 | average: 1.0 | 25th percentile: 1.0 | median: 1.0 | 75th percentile: 1.0 | max: 1.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