File Size Overall
- There are 324 files with 89,002 lines of code.
- 17 very long files (41,882 lines of code)
- 18 long files (13,281 lines of code)
- 59 medium size files (19,055 lines of code)
- 63 small files (9,347 lines of code)
- 167 very small files (5,437 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 |
|---|---|---|
| 9523 | 248 | |
| 4832 | 116 | |
| 3155 | 116 | |
| 3052 | 82 | |
| 2834 | 111 | |
| 2633 | 66 | |
| 2451 | 70 | |
| 2414 | 55 | |
| 1615 | 41 | |
| 1582 | 54 | |
| 1232 | 17 | |
| 1153 | 33 | |
| 1112 | 45 | |
| 1107 | 27 | |
| 1092 | 21 | |
| 1068 | 40 | |
| 1027 | 30 | |
| 965 | - | |
| 936 | 34 | |
| 912 | 23 | |
| 872 | 70 | |
| 819 | 30 | |
| 791 | 28 | |
| 791 | - | |
| 773 | 32 | |
| 771 | 24 | |
| 763 | 34 | |
| 674 | 11 | |
| 662 | - | |
| 638 | 11 | |
| 635 | 15 | |
| 591 | 33 | |
| 571 | 5 | |
| 565 | 9 | |
| 552 | 33 | |
| 490 | 17 | |
| 487 | 20 | |
| 480 | 19 | |
| 473 | - | |
| 463 | 12 | |
| 441 | 3 | |
| 435 | 9 | |
| 430 | 7 | |
| 425 | 8 | |
| 424 | 20 | |
| 423 | 14 | |
| 413 | 16 | |
| 410 | 20 | |
| 393 | 13 | |
| 390 | 9 |
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 |
|---|---|---|---|---|---|
| 9523 | ~50k–150k | 159 | ~100 | ~100 | |
| 4832 | ~30k–70k | 116 | ~70 | ~50 | |
| 3155 | ~20k–50k | 57 | ~100 | ~30 | |
| 3052 | ~20k–50k | 27 | ~200 | ~15 | |
| 2633 | ~15k–50k | 21 | ~200 | ~10 | |
| 2834 | ~15k–50k | 15 | ~200 | ~10 | |
| 1107 | ~7k–20k | 30 | ~50 | ~20 | |
| 1092 | ~7k–20k | 29 | ~100 | ~15 | |
| 2414 | ~15k–50k | 13 | ~300 | ~10 | |
| 1615 | ~10k–30k | 15 | ~200 | ~10 | |
| 1153 | ~7k–20k | 20 | ~200 | ~5 | |
| 1232 | ~7k–20k | 18 | ~70 | ~15 | |
| 2451 | ~15k–50k | 9 | ~500 | ~5 | |
| 912 | ~5k–15k | 24 | ~50 | ~15 | |
| 791 | ~5k–15k | 26 | ~30 | ~20 | |
| 323 | ~2k–5k | 63 | ~15 | ~20 | |
| 773 | ~5k–15k | 19 | ~50 | ~15 | |
| 638 | ~3k–10k | 23 | ~70 | ~10 | |
| 1582 | ~10k–30k | 7 | ~300 | ~5 | |
| 965 | ~5k–15k | 11 | ~100 | ~7 |
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 |
|---|---|---|
| 9523 | 248 | |
| 4832 | 116 | |
| 3155 | 116 | |
| 2834 | 111 | |
| 3052 | 82 | |
| 872 | 70 | |
| 2451 | 70 | |
| 2633 | 66 | |
| 2414 | 55 | |
| 1582 | 54 | |
| 1112 | 45 | |
| 1615 | 41 | |
| 1068 | 40 | |
| 763 | 34 | |
| 936 | 34 | |
| 591 | 33 | |
| 552 | 33 | |
| 1153 | 33 | |
| 773 | 32 | |
| 355 | 30 | |
| 1027 | 30 | |
| 819 | 30 | |
| 791 | 28 | |
| 230 | 27 | |
| 1107 | 27 | |
| 771 | 24 | |
| 912 | 23 | |
| 171 | 22 | |
| 1092 | 21 | |
| 487 | 20 | |
| 410 | 20 | |
| 424 | 20 | |
| 480 | 19 | |
| 320 | 19 | |
| 218 | 18 | |
| 310 | 18 | |
| 372 | 18 | |
| 328 | 18 | |
| 338 | 17 | |
| 490 | 17 | |
| 1232 | 17 | |
| 413 | 16 | |
| 635 | 15 | |
| 225 | 15 | |
| 270 | 14 | |
| 423 | 14 | |
| 324 | 13 | |
| 393 | 13 | |
| 177 | 13 | |
| 346 | 13 |
Files With Long Lines (Top 50)
There are 91 files with lines longer than 120 characters. In total, there are 569 long lines.
| File | # lines | # units | # long lines |
|---|---|---|---|
| 9523 | 248 | 62 | |
| 4832 | 116 | 47 | |
| 2633 | 66 | 41 | |
| 1068 | 40 | 28 | |
| 1615 | 41 | 24 | |
| 166 | 4 | 21 | |
| 34 | 3 | 19 | |
| 3155 | 116 | 19 | |
| 144 | 10 | 17 | |
| 204 | 1 | 15 | |
| 167 | 5 | 14 | |
| 115 | 8 | 14 | |
| 1092 | 21 | 12 | |
| 262 | 3 | 12 | |
| 51 | 1 | 12 | |
| 441 | 3 | 11 | |
| 1232 | 17 | 11 | |
| 320 | 19 | 9 | |
| 66 | 1 | 8 | |
| 435 | 9 | 7 | |
| 591 | 33 | 6 | |
| 321 | 10 | 6 | |
| 269 | 4 | 6 | |
| 122 | 5 | 6 | |
| 771 | 24 | 5 | |
| 773 | 32 | 5 | |
| 60 | - | 5 | |
| 24 | - | 5 | |
| 34 | - | 5 | |
| 355 | 30 | 4 | |
| 255 | 8 | 4 | |
| 55 | - | 4 | |
| 791 | - | 4 | |
| 662 | - | 4 | |
| 173 | 4 | 4 | |
| 490 | 17 | 4 | |
| 55 | - | 4 | |
| 791 | 28 | 3 | |
| 936 | 34 | 3 | |
| 3052 | 82 | 3 | |
| 113 | - | 3 | |
| 293 | 9 | 3 | |
| 92 | 8 | 3 | |
| 571 | 5 | 3 | |
| 280 | 8 | 3 | |
| 116 | 1 | 3 | |
| 87 | 1 | 3 | |
| 872 | 70 | 2 | |
| 47 | - | 2 | |
| 70 | 1 | 2 |
Correlations
File Size vs. Commits (all time): 324 points
|
|
9523.0 | lines of code min: 1.0average: 274.7 25th percentile: 23.0 median: 93.5 75th percentile: 235.5 max: 9523.0 |
|
| 0 | 159.0 | ||
|
commits (all time) min: 1.0 | average: 5.54 | 25th percentile: 1.0 | median: 2.0 | 75th percentile: 5.0 | max: 159.0
|
|||
File Size vs. Contributors (all time): 324 points
|
|
9523.0 | lines of code min: 1.0average: 274.7 25th percentile: 23.0 median: 93.5 75th percentile: 235.5 max: 9523.0 |
|
| 0 | 19.0 | ||
|
contributors (all time) min: 1.0 | average: 2.23 | 25th percentile: 1.0 | median: 2.0 | 75th percentile: 2.0 | max: 19.0
|
|||
File Size vs. Commits (30 days): 278 points
|
|
9523.0 | lines of code min: 1.0average: 312.97 25th percentile: 31.0 median: 122.0 75th percentile: 288.5 max: 9523.0 |
|
| 0 | 48.0 | ||
|
commits (30d) min: 1.0 | average: 3.37 | 25th percentile: 1.0 | median: 2.0 | 75th percentile: 4.0 | max: 48.0
|
|||
File Size vs. Contributors (30 days): 278 points
|
|
9523.0 | lines of code min: 1.0average: 312.97 25th percentile: 31.0 median: 122.0 75th percentile: 288.5 max: 9523.0 |
|
| 0 | 11.0 | ||
|
contributors (30d) min: 1.0 | average: 1.67 | 25th percentile: 1.0 | median: 1.0 | 75th percentile: 2.0 | max: 11.0
|
|||
File Size vs. Commits (90 days): 324 points
|
|
9523.0 | lines of code min: 1.0average: 274.7 25th percentile: 23.0 median: 93.5 75th percentile: 235.5 max: 9523.0 |
|
| 0 | 159.0 | ||
|
commits (90d) min: 1.0 | average: 5.54 | 25th percentile: 1.0 | median: 2.0 | 75th percentile: 5.0 | max: 159.0
|
|||
File Size vs. Contributors (90 days): 324 points
|
|
9523.0 | lines of code min: 1.0average: 274.7 25th percentile: 23.0 median: 93.5 75th percentile: 235.5 max: 9523.0 |
|
| 0 | 19.0 | ||
|
contributors (90d) min: 1.0 | average: 2.23 | 25th percentile: 1.0 | median: 2.0 | 75th percentile: 2.0 | max: 19.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