File Size Overall
- There are 335 files with 140,077 lines of code.
- 39 very long files (74,059 lines of code)
- 43 long files (30,202 lines of code)
- 65 medium size files (21,210 lines of code)
- 60 small files (8,647 lines of code)
- 128 very small files (5,959 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 |
|---|---|---|
| 4221 | 203 | |
| 3797 | 312 | |
| 3746 | 277 | |
| 3171 | 315 | |
| 3145 | 272 | |
| 3129 | 235 | |
| 3042 | 254 | |
| 2797 | 305 | |
| 2792 | 79 | |
| 2625 | 99 | |
| 2282 | - | |
| 2248 | - | |
| 2203 | - | |
| 1844 | 87 | |
| 1838 | 75 | |
| 1783 | - | |
| 1674 | 60 | |
| 1651 | 9 | |
| 1598 | - | |
| 1518 | 53 | |
| 1495 | 111 | |
| 1384 | 1 | |
| 1379 | 1 | |
| 1308 | 2 | |
| 1299 | 46 | |
| 1295 | - | |
| 1262 | - | |
| 1252 | 73 | |
| 1235 | 112 | |
| 1166 | 19 | |
| 1157 | 93 | |
| 1150 | 93 | |
| 1146 | 93 | |
| 1115 | 60 | |
| 1110 | - | |
| 1102 | - | |
| 1077 | 32 | |
| 1021 | 34 | |
| 1002 | - | |
| 998 | - | |
| 990 | 26 | |
| 987 | 55 | |
| 981 | 5 | |
| 961 | 1 | |
| 958 | 4 | |
| 957 | - | |
| 924 | 46 | |
| 897 | 1 | |
| 891 | 106 | |
| 841 | 1 |
Large Files That Change Often (Top 2)
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 |
|---|---|---|---|---|---|
| 625 | ~3k–10k | 1 | ~200 | ~3 | |
| 164 | ~1k–3k | 1 | ~100 | ~2 |
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 |
|---|---|---|
| 3171 | 315 | |
| 3797 | 312 | |
| 2797 | 305 | |
| 3746 | 277 | |
| 3145 | 272 | |
| 3042 | 254 | |
| 3129 | 235 | |
| 4221 | 203 | |
| 1235 | 112 | |
| 1495 | 111 | |
| 891 | 106 | |
| 2625 | 99 | |
| 1150 | 93 | |
| 1157 | 93 | |
| 1146 | 93 | |
| 1844 | 87 | |
| 447 | 83 | |
| 2792 | 79 | |
| 1838 | 75 | |
| 1252 | 73 | |
| 1115 | 60 | |
| 1674 | 60 | |
| 319 | 58 | |
| 319 | 58 | |
| 402 | 58 | |
| 987 | 55 | |
| 1518 | 53 | |
| 291 | 52 | |
| 296 | 52 | |
| 517 | 51 | |
| 480 | 49 | |
| 1299 | 46 | |
| 924 | 46 | |
| 263 | 43 | |
| 263 | 43 | |
| 518 | 41 | |
| 406 | 37 | |
| 413 | 37 | |
| 419 | 37 | |
| 625 | 37 | |
| 361 | 37 | |
| 263 | 35 | |
| 763 | 35 | |
| 270 | 35 | |
| 477 | 35 | |
| 1021 | 34 | |
| 504 | 32 | |
| 1077 | 32 | |
| 104 | 30 | |
| 572 | 29 |
Files With Long Lines (Top 50)
There are 113 files with lines longer than 120 characters. In total, there are 929 long lines.
| File | # lines | # units | # long lines |
|---|---|---|---|
| 2625 | 99 | 131 | |
| 3797 | 312 | 87 | |
| 3145 | 272 | 77 | |
| 3746 | 277 | 55 | |
| 1495 | 111 | 40 | |
| 1252 | 73 | 30 | |
| 275 | - | 28 | |
| 291 | 52 | 26 | |
| 296 | 52 | 26 | |
| 1844 | 87 | 25 | |
| 1021 | 34 | 22 | |
| 319 | 58 | 14 | |
| 319 | 58 | 14 | |
| 263 | 26 | 14 | |
| 721 | 11 | 14 | |
| 263 | 35 | 12 | |
| 270 | 35 | 12 | |
| 103 | 16 | 11 | |
| 105 | 16 | 11 | |
| 245 | 2 | 10 | |
| 604 | 1 | 10 | |
| 604 | 1 | 10 | |
| 114 | 19 | 9 | |
| 114 | 19 | 9 | |
| 317 | 10 | 8 | |
| 924 | 46 | 8 | |
| 329 | 16 | 7 | |
| 1150 | 93 | 6 | |
| 525 | 27 | 6 | |
| 1157 | 93 | 6 | |
| 535 | 27 | 6 | |
| 402 | 58 | 6 | |
| 1838 | 75 | 6 | |
| 1146 | 93 | 6 | |
| 204 | 10 | 6 | |
| 332 | 5 | 6 | |
| 92 | 5 | 5 | |
| 130 | 7 | 5 | |
| 1166 | 19 | 5 | |
| 1308 | 2 | 5 | |
| 748 | 19 | 5 | |
| 501 | 19 | 4 | |
| 164 | 5 | 4 | |
| 397 | 20 | 4 | |
| 518 | 41 | 4 | |
| 277 | 4 | 4 | |
| 625 | 37 | 4 | |
| 194 | 6 | 4 | |
| 2792 | 79 | 4 | |
| 674 | 3 | 4 |
Correlations
File Size vs. Commits (all time): 335 points
|
|
4221.0 | lines of code min: 1.0average: 418.14 25th percentile: 58.0 median: 156.0 75th percentile: 490.0 max: 4221.0 |
|
| 0 | 22.0 | ||
|
commits (all time) min: 1.0 | average: 3.12 | 25th percentile: 1.0 | median: 2.0 | 75th percentile: 4.0 | max: 22.0
|
|||
File Size vs. Contributors (all time): 335 points
|
|
4221.0 | lines of code min: 1.0average: 418.14 25th percentile: 58.0 median: 156.0 75th percentile: 490.0 max: 4221.0 |
|
| 0 | 8.0 | ||
|
contributors (all time) min: 1.0 | average: 2.03 | 25th percentile: 1.0 | median: 1.0 | 75th percentile: 3.0 | max: 8.0
|
|||
File Size vs. Commits (30 days): 0 points
No data for "commits (30d)" vs. "lines of code".
File Size vs. Contributors (30 days): 0 points
No data for "contributors (30d)" vs. "lines of code".
File Size vs. Commits (90 days): 2 points
|
|
625.0 | lines of code min: 164.0average: 394.5 25th percentile: 164.0 median: 394.5 75th percentile: 625.0 max: 625.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): 2 points
|
|
625.0 | lines of code min: 164.0average: 394.5 25th percentile: 164.0 median: 394.5 75th percentile: 625.0 max: 625.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