File Size Overall
- There are 874 files with 67,402 lines of code.
- 7 very long files (10,569 lines of code)
- 18 long files (12,848 lines of code)
- 40 medium size files (13,434 lines of code)
- 87 small files (12,369 lines of code)
- 722 very small files (18,182 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 |
|---|---|---|
| 2189 | 122 | |
| 1717 | 35 | |
| 1603 | 39 | |
| 1319 | 39 | |
| 1307 | - | |
| 1259 | 16 | |
| 1175 | - | |
| 947 | 26 | |
| 923 | 46 | |
| 878 | 22 | |
| 872 | 71 | |
| 842 | - | |
| 821 | 28 | |
| 783 | - | |
| 783 | - | |
| 719 | 27 | |
| 638 | 33 | |
| 630 | 19 | |
| 611 | - | |
| 606 | - | |
| 600 | 19 | |
| 579 | 36 | |
| 544 | 7 | |
| 536 | 14 | |
| 536 | 30 | |
| 486 | 10 | |
| 484 | 38 | |
| 475 | - | |
| 450 | 29 | |
| 442 | - | |
| 433 | - | |
| 416 | 13 | |
| 416 | 24 | |
| 387 | 20 | |
| 383 | 18 | |
| 374 | 11 | |
| 373 | 12 | |
| 370 | 5 | |
| 368 | 20 | |
| 366 | 20 | |
| 361 | 22 | |
| 357 | 25 | |
| 336 | 35 | |
| 334 | 11 | |
| 322 | 6 | |
| 317 | 16 | |
| 309 | 29 | |
| 308 | 30 | |
| 304 | 6 | |
| 301 | - |
Large Files That Change Often (Top 7)
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 |
|---|---|---|---|---|---|
| 1603 | ~10k–30k | 1 | ~70 | ~20 | |
| 1319 | ~7k–20k | 1 | ~100 | ~15 | |
| 579 | ~3k–10k | 1 | ~100 | ~7 | |
| 486 | ~3k–7k | 1 | ~50 | ~10 | |
| 193 | ~1k–3k | 1 | ~50 | ~5 | |
| 31 | under 1k | 1 | ~15 | ~2 | |
| 16 | under 1k | 1 | ~30 | ~1 |
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 |
|---|---|---|
| 2189 | 122 | |
| 872 | 71 | |
| 923 | 46 | |
| 1603 | 39 | |
| 1319 | 39 | |
| 484 | 38 | |
| 579 | 36 | |
| 241 | 35 | |
| 1717 | 35 | |
| 336 | 35 | |
| 638 | 33 | |
| 308 | 30 | |
| 536 | 30 | |
| 309 | 29 | |
| 450 | 29 | |
| 821 | 28 | |
| 719 | 27 | |
| 947 | 26 | |
| 180 | 26 | |
| 357 | 25 | |
| 250 | 25 | |
| 170 | 24 | |
| 416 | 24 | |
| 254 | 23 | |
| 878 | 22 | |
| 361 | 22 | |
| 366 | 20 | |
| 387 | 20 | |
| 368 | 20 | |
| 600 | 19 | |
| 630 | 19 | |
| 132 | 19 | |
| 260 | 19 | |
| 148 | 18 | |
| 383 | 18 | |
| 1259 | 16 | |
| 183 | 16 | |
| 317 | 16 | |
| 99 | 15 | |
| 101 | 15 | |
| 170 | 15 | |
| 78 | 14 | |
| 536 | 14 | |
| 101 | 14 | |
| 86 | 13 | |
| 101 | 13 | |
| 101 | 13 | |
| 416 | 13 | |
| 193 | 13 | |
| 200 | 13 |
Files With Long Lines (Top 10)
There are 10 files with lines longer than 120 characters. In total, there are 32 long lines.
| File | # lines | # units | # long lines |
|---|---|---|---|
| 1175 | - | 11 | |
| 262 | - | 8 | |
| 301 | - | 6 | |
| 15 | - | 1 | |
| 46 | 2 | 1 | |
| 5 | - | 1 | |
| 154 | - | 1 | |
| 123 | - | 1 | |
| 304 | 6 | 1 | |
| 71 | 3 | 1 |
Correlations
File Size vs. Commits (all time): 874 points
|
|
2189.0 | lines of code min: 1.0average: 77.12 25th percentile: 9.0 median: 21.0 75th percentile: 68.25 max: 2189.0 |
|
| 0 | 66.0 | ||
|
commits (all time) min: 1.0 | average: 4.82 | 25th percentile: 1.0 | median: 2.0 | 75th percentile: 5.0 | max: 66.0
|
|||
File Size vs. Contributors (all time): 874 points
|
|
2189.0 | lines of code min: 1.0average: 77.12 25th percentile: 9.0 median: 21.0 75th percentile: 68.25 max: 2189.0 |
|
| 0 | 10.0 | ||
|
contributors (all time) min: 1.0 | average: 1.82 | 25th percentile: 1.0 | median: 2.0 | 75th percentile: 2.0 | max: 10.0
|
|||
File Size vs. Commits (30 days): 1 points
|
|
579.0 | lines of code min: 579.0average: 579.0 25th percentile: 579.0 median: 579.0 75th percentile: 579.0 max: 579.0 |
|
| 0 | 1.0 | ||
|
commits (30d) min: 1.0 | average: 1.0 | 25th percentile: 1.0 | median: 1.0 | 75th percentile: 1.0 | max: 1.0
|
|||
File Size vs. Contributors (30 days): 1 points
|
|
579.0 | lines of code min: 579.0average: 579.0 25th percentile: 579.0 median: 579.0 75th percentile: 579.0 max: 579.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): 5 points
|
|
1319.0 | lines of code min: 16.0average: 427.6 25th percentile: 23.5 median: 193.0 75th percentile: 949.0 max: 1319.0 |
|
| 0 | 1.0 | ||
|
commits (90d) min: 1.0 | average: 1.0 | 25th percentile: 1.0 | median: 1.0 | 75th percentile: 1.0 | max: 1.0
|
|||
File Size vs. Contributors (90 days): 5 points
|
|
1319.0 | lines of code min: 16.0average: 427.6 25th percentile: 23.5 median: 193.0 75th percentile: 949.0 max: 1319.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