File Size Overall
- There are 1,029 files with 86,645 lines of code.
- 5 very long files (10,431 lines of code)
- 12 long files (7,673 lines of code)
- 79 medium size files (23,063 lines of code)
- 132 small files (18,525 lines of code)
- 801 very small files (26,953 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 |
|---|---|---|
| 4229 | - | |
| 3032 | - | |
| 1118 | - | |
| 1035 | - | |
| 1017 | 6 | |
| 833 | 18 | |
| 748 | 3 | |
| 736 | 2 | |
| 708 | - | |
| 686 | - | |
| 612 | 6 | |
| 602 | - | |
| 591 | 1 | |
| 583 | - | |
| 539 | 2 | |
| 529 | - | |
| 506 | 43 | |
| 498 | - | |
| 483 | - | |
| 440 | 16 | |
| 412 | 4 | |
| 408 | - | |
| 407 | 1 | |
| 396 | 2 | |
| 393 | 3 | |
| 385 | - | |
| 380 | 4 | |
| 375 | 1 | |
| 360 | 1 | |
| 359 | - | |
| 359 | 2 | |
| 351 | - | |
| 341 | 1 | |
| 339 | 21 | |
| 336 | 6 | |
| 334 | 1 | |
| 333 | 18 | |
| 332 | 4 | |
| 329 | 42 | |
| 327 | 3 | |
| 325 | 17 | |
| 324 | 2 | |
| 318 | - | |
| 314 | 7 | |
| 313 | 8 | |
| 312 | 2 | |
| 311 | 6 | |
| 310 | 9 | |
| 306 | - | |
| 303 | 6 |
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 |
|---|---|---|---|---|---|
| 4229 | ~20k–70k | 12 | ~20 | ~150 | |
| 3032 | ~20k–50k | 15 | ~150 | ~20 | |
| 1118 | ~7k–20k | 18 | ~50 | ~20 | |
| 833 | ~5k–15k | 11 | ~100 | ~7 | |
| 539 | ~3k–10k | 13 | ~30 | ~15 | |
| 748 | ~5k–15k | 6 | ~50 | ~15 | |
| 686 | ~3k–10k | 6 | ~50 | ~10 | |
| 306 | ~2k–5k | 13 | ~20 | ~15 | |
| 385 | ~2k–7k | 10 | ~30 | ~15 | |
| 736 | ~5k–15k | 5 | ~70 | ~10 | |
| 408 | ~2k–7k | 9 | ~30 | ~15 | |
| 583 | ~3k–10k | 6 | ~50 | ~15 | |
| 483 | ~3k–7k | 7 | ~15 | ~30 | |
| 612 | ~3k–10k | 5 | ~100 | ~7 | |
| 1017 | ~7k–15k | 3 | ~500 | ~2 | |
| 246 | ~1.5k–5k | 12 | ~15 | ~15 | |
| 529 | ~3k–10k | 5 | ~200 | ~3 | |
| 239 | ~1.5k–5k | 9 | ~50 | ~5 | |
| 708 | ~3k–10k | 3 | ~150 | ~5 | |
| 602 | ~3k–10k | 3 | ~70 | ~10 |
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 |
|---|---|---|
| 506 | 43 | |
| 329 | 42 | |
| 219 | 26 | |
| 339 | 21 | |
| 200 | 21 | |
| 190 | 21 | |
| 333 | 18 | |
| 833 | 18 | |
| 325 | 17 | |
| 440 | 16 | |
| 254 | 16 | |
| 91 | 14 | |
| 160 | 13 | |
| 132 | 13 | |
| 125 | 13 | |
| 211 | 13 | |
| 92 | 12 | |
| 108 | 11 | |
| 155 | 10 | |
| 221 | 10 | |
| 189 | 10 | |
| 220 | 10 | |
| 61 | 10 | |
| 310 | 9 | |
| 234 | 9 | |
| 243 | 9 | |
| 209 | 9 | |
| 63 | 9 | |
| 65 | 8 | |
| 130 | 8 | |
| 154 | 8 | |
| 83 | 8 | |
| 150 | 8 | |
| 313 | 8 | |
| 78 | 8 | |
| 100 | 8 | |
| 31 | 8 | |
| 157 | 8 | |
| 166 | 7 | |
| 291 | 7 | |
| 314 | 7 | |
| 144 | 7 | |
| 113 | 7 | |
| 68 | 7 | |
| 122 | 7 | |
| 612 | 6 | |
| 303 | 6 | |
| 336 | 6 | |
| 190 | 6 | |
| 235 | 6 |
Files With Long Lines (Top 50)
There are 65 files with lines longer than 120 characters. In total, there are 1175 long lines.
| File | # lines | # units | # long lines |
|---|---|---|---|
| 4229 | - | 962 | |
| 240 | - | 70 | |
| 159 | - | 38 | |
| 3032 | - | 6 | |
| 612 | 6 | 5 | |
| 529 | - | 5 | |
| 145 | - | 4 | |
| 84 | - | 4 | |
| 208 | - | 3 | |
| 539 | 2 | 3 | |
| 299 | - | 3 | |
| 1035 | - | 3 | |
| 63 | - | 2 | |
| 60 | - | 2 | |
| 1118 | - | 2 | |
| 104 | - | 2 | |
| 35 | - | 2 | |
| 159 | 1 | 2 | |
| 254 | - | 2 | |
| 375 | 1 | 2 | |
| 71 | 2 | 2 | |
| 111 | - | 2 | |
| 20 | - | 2 | |
| 408 | - | 2 | |
| 225 | 1 | 2 | |
| 213 | - | 2 | |
| 55 | - | 2 | |
| 299 | 6 | 2 | |
| 5 | - | 1 | |
| 26 | - | 1 | |
| 602 | - | 1 | |
| 78 | - | 1 | |
| 1 | - | 1 | |
| 6 | - | 1 | |
| 483 | - | 1 | |
| 65 | - | 1 | |
| 61 | - | 1 | |
| 41 | - | 1 | |
| 359 | - | 1 | |
| 84 | 2 | 1 | |
| 244 | 2 | 1 | |
| 2 | - | 1 | |
| 303 | 6 | 1 | |
| 147 | 4 | 1 | |
| 339 | 21 | 1 | |
| 334 | 1 | 1 | |
| 298 | 4 | 1 | |
| 71 | 1 | 1 | |
| 12 | - | 1 | |
| 14 | - | 1 |
Correlations
File Size vs. Commits (all time): 647 points
|
|
4229.0 | lines of code min: 1.0average: 113.34 25th percentile: 25.0 median: 55.0 75th percentile: 128.0 max: 4229.0 |
|
| 0 | 31.0 | ||
|
commits (all time) min: 1.0 | average: 2.42 | 25th percentile: 1.0 | median: 2.0 | 75th percentile: 3.0 | max: 31.0
|
|||
File Size vs. Contributors (all time): 647 points
|
|
4229.0 | lines of code min: 1.0average: 113.34 25th percentile: 25.0 median: 55.0 75th percentile: 128.0 max: 4229.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): 137 points
|
|
4229.0 | lines of code min: 1.0average: 208.07 25th percentile: 41.5 median: 90.0 75th percentile: 236.5 max: 4229.0 |
|
| 0 | 3.0 | ||
|
commits (30d) min: 1.0 | average: 1.14 | 25th percentile: 1.0 | median: 1.0 | 75th percentile: 1.0 | max: 3.0
|
|||
File Size vs. Contributors (30 days): 137 points
|
|
4229.0 | lines of code min: 1.0average: 208.07 25th percentile: 41.5 median: 90.0 75th percentile: 236.5 max: 4229.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): 324 points
|
|
4229.0 | lines of code min: 1.0average: 147.04 25th percentile: 27.25 median: 65.0 75th percentile: 155.25 max: 4229.0 |
|
| 0 | 6.0 | ||
|
commits (90d) min: 1.0 | average: 1.32 | 25th percentile: 1.0 | median: 1.0 | 75th percentile: 1.0 | max: 6.0
|
|||
File Size vs. Contributors (90 days): 324 points
|
|
4229.0 | lines of code min: 1.0average: 147.04 25th percentile: 27.25 median: 65.0 75th percentile: 155.25 max: 4229.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