File Size Overall
- There are 3,288 files with 879,797 lines of code.
- 157 very long files (308,594 lines of code)
- 263 long files (182,055 lines of code)
- 707 medium size files (226,023 lines of code)
- 667 small files (96,817 lines of code)
- 1,494 very small files (66,308 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 |
|---|---|---|
| 6747 | 198 | |
| 5533 | 21 | |
| 5262 | 130 | |
| 4718 | 16 | |
| 4571 | 104 | |
| 4559 | 4 | |
| 4349 | 177 | |
| 4283 | 76 | |
| 4152 | 61 | |
| 4112 | 32 | |
| 4051 | 112 | |
| 3937 | 96 | |
| 3877 | 166 | |
| 3766 | 19 | |
| 3730 | 41 | |
| 3681 | 1 | |
| 3597 | 101 | |
| 3576 | 57 | |
| 3571 | 8 | |
| 3511 | 76 | |
| 3478 | 153 | |
| 3254 | 37 | |
| 3133 | 40 | |
| 2979 | 64 | |
| 2955 | 7 | |
| 2872 | 126 | |
| 2867 | 91 | |
| 2818 | 44 | |
| 2789 | 107 | |
| 2780 | 111 | |
| 2760 | 52 | |
| 2746 | 81 | |
| 2647 | 36 | |
| 2552 | 117 | |
| 2456 | 16 | |
| 2388 | 80 | |
| 2373 | 37 | |
| 2351 | 40 | |
| 2336 | 20 | |
| 2329 | 34 | |
| 2304 | 92 | |
| 2303 | 10 | |
| 2266 | 52 | |
| 2256 | 32 | |
| 2220 | 26 | |
| 2200 | 21 | |
| 2136 | 2 | |
| 2114 | 87 | |
| 2098 | 48 | |
| 2059 | 61 |
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 |
|---|---|---|---|---|---|
| 4718 | ~30k–70k | 556 | ~20 | ~200 | |
| 4152 | ~20k–70k | 600 | ~30 | ~100 | |
| 3254 | ~20k–50k | 502 | ~20 | ~150 | |
| 4283 | ~20k–70k | 325 | ~20 | ~200 | |
| 3730 | ~20k–70k | 367 | ~30 | ~100 | |
| 1755 | ~10k–30k | 681 | ~70 | ~20 | |
| 4349 | ~30k–70k | 241 | ~30 | ~150 | |
| 5533 | ~30k–100k | 182 | ~50 | ~100 | |
| 3766 | ~20k–70k | 258 | ~50 | ~70 | |
| 3681 | ~20k–70k | 253 | ~30 | ~150 | |
| 4112 | ~20k–70k | 223 | ~30 | ~100 | |
| 3511 | ~20k–50k | 254 | ~30 | ~100 | |
| 2955 | ~20k–50k | 301 | ~30 | ~100 | |
| 6747 | ~30k–100k | 125 | ~150 | ~50 | |
| 4051 | ~20k–70k | 175 | ~50 | ~70 | |
| 5262 | ~30k–100k | 123 | ~50 | ~100 | |
| 1856 | ~10k–30k | 345 | ~15 | ~100 | |
| 2351 | ~15k–50k | 268 | ~50 | ~50 | |
| 2456 | ~15k–50k | 233 | ~30 | ~100 | |
| 1104 | ~7k–20k | 480 | ~100 | ~15 |
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 |
|---|---|---|
| 6747 | 198 | |
| 4349 | 177 | |
| 3877 | 166 | |
| 3478 | 153 | |
| 5262 | 130 | |
| 2872 | 126 | |
| 2552 | 117 | |
| 4051 | 112 | |
| 2780 | 111 | |
| 2789 | 107 | |
| 4571 | 104 | |
| 3597 | 101 | |
| 3937 | 96 | |
| 2304 | 92 | |
| 1836 | 91 | |
| 2867 | 91 | |
| 2114 | 87 | |
| 2746 | 81 | |
| 2388 | 80 | |
| 3511 | 76 | |
| 4283 | 76 | |
| 1597 | 72 | |
| 776 | 71 | |
| 1383 | 66 | |
| 1616 | 66 | |
| 1643 | 65 | |
| 2979 | 64 | |
| 1242 | 64 | |
| 2059 | 61 | |
| 4152 | 61 | |
| 1638 | 59 | |
| 1338 | 59 | |
| 1910 | 58 | |
| 3576 | 57 | |
| 1136 | 57 | |
| 2046 | 56 | |
| 1059 | 55 | |
| 651 | 55 | |
| 1253 | 53 | |
| 2266 | 52 | |
| 2760 | 52 | |
| 1396 | 51 | |
| 2098 | 48 | |
| 1108 | 47 | |
| 423 | 45 | |
| 1169 | 44 | |
| 2818 | 44 | |
| 1081 | 43 | |
| 899 | 42 | |
| 677 | 42 |
Files With Long Lines (Top 50)
There are 436 files with lines longer than 120 characters. In total, there are 1300 long lines.
| File | # lines | # units | # long lines |
|---|---|---|---|
| 871 | 20 | 36 | |
| 2200 | 21 | 34 | |
| 191 | - | 30 | |
| 1047 | - | 29 | |
| 98 | 1 | 22 | |
| 4152 | 61 | 18 | |
| 3681 | 1 | 17 | |
| 748 | 7 | 17 | |
| 4349 | 177 | 15 | |
| 740 | 3 | 14 | |
| 545 | 6 | 14 | |
| 177 | 2 | 14 | |
| 142 | - | 13 | |
| 861 | 14 | 13 | |
| 1503 | 25 | 12 | |
| 1616 | 66 | 11 | |
| 86 | - | 11 | |
| 363 | 3 | 11 | |
| 5533 | 21 | 11 | |
| 814 | 20 | 10 | |
| 1533 | 10 | 10 | |
| 318 | 1 | 10 | |
| 913 | 30 | 9 | |
| 751 | 23 | 9 | |
| 31 | - | 9 | |
| 815 | 8 | 9 | |
| 1285 | 9 | 9 | |
| 2336 | 20 | 8 | |
| 181 | 2 | 8 | |
| 485 | 1 | 8 | |
| 474 | 4 | 8 | |
| 4283 | 76 | 8 | |
| 329 | 2 | 8 | |
| 47 | - | 8 | |
| 2760 | 52 | 8 | |
| 843 | - | 8 | |
| 154 | - | 8 | |
| 376 | 3 | 7 | |
| 946 | 25 | 7 | |
| 335 | 5 | 7 | |
| 87 | 4 | 7 | |
| 3571 | 8 | 7 | |
| 160 | - | 7 | |
| 758 | 25 | 7 | |
| 321 | 5 | 6 | |
| 586 | 16 | 6 | |
| 838 | 22 | 6 | |
| 69 | 2 | 6 | |
| 3254 | 37 | 6 | |
| 209 | - | 6 |
Correlations
File Size vs. Commits (all time): 3288 points
|
|
6747.0 | lines of code min: 1.0average: 267.58 25th percentile: 46.0 median: 118.0 75th percentile: 289.75 max: 6747.0 |
|
| 0 | 870.0 | ||
|
commits (all time) min: 1.0 | average: 13.94 | 25th percentile: 2.0 | median: 4.0 | 75th percentile: 11.0 | max: 870.0
|
|||
File Size vs. Contributors (all time): 3288 points
|
|
6747.0 | lines of code min: 1.0average: 267.58 25th percentile: 46.0 median: 118.0 75th percentile: 289.75 max: 6747.0 |
|
| 0 | 95.0 | ||
|
contributors (all time) min: 1.0 | average: 5.24 | 25th percentile: 1.0 | median: 2.0 | 75th percentile: 5.0 | max: 95.0
|
|||
File Size vs. Commits (30 days): 2161 points
|
|
6747.0 | lines of code min: 1.0average: 337.41 25th percentile: 64.5 median: 156.0 75th percentile: 369.5 max: 6747.0 |
|
| 0 | 111.0 | ||
|
commits (30d) min: 1.0 | average: 4.3 | 25th percentile: 1.0 | median: 2.0 | 75th percentile: 5.0 | max: 111.0
|
|||
File Size vs. Contributors (30 days): 2161 points
|
|
6747.0 | lines of code min: 1.0average: 337.41 25th percentile: 64.5 median: 156.0 75th percentile: 369.5 max: 6747.0 |
|
| 0 | 39.0 | ||
|
contributors (30d) min: 1.0 | average: 2.34 | 25th percentile: 1.0 | median: 1.0 | 75th percentile: 3.0 | max: 39.0
|
|||
File Size vs. Commits (90 days): 2844 points
|
|
6747.0 | lines of code min: 1.0average: 296.45 25th percentile: 56.0 median: 139.0 75th percentile: 319.0 max: 6747.0 |
|
| 0 | 315.0 | ||
|
commits (90d) min: 1.0 | average: 7.39 | 25th percentile: 1.0 | median: 3.0 | 75th percentile: 7.0 | max: 315.0
|
|||
File Size vs. Contributors (90 days): 2844 points
|
|
6747.0 | lines of code min: 1.0average: 296.45 25th percentile: 56.0 median: 139.0 75th percentile: 319.0 max: 6747.0 |
|
| 0 | 71.0 | ||
|
contributors (90d) min: 1.0 | average: 3.63 | 25th percentile: 1.0 | median: 2.0 | 75th percentile: 4.0 | max: 71.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