File Size Overall
- There are 238 files with 16,164 lines of code.
- 1 very long files (1,373 lines of code)
- 3 long files (1,897 lines of code)
- 15 medium size files (4,644 lines of code)
- 19 small files (2,678 lines of code)
- 200 very small files (5,572 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 |
|---|---|---|
| 1373 | - | |
| 691 | 41 | |
| 642 | - | |
| 564 | - | |
| 476 | 28 | |
| 464 | - | |
| 359 | 17 | |
| 355 | 15 | |
| 354 | 2 | |
| 349 | 3 | |
| 345 | 15 | |
| 306 | - | |
| 287 | - | |
| 282 | 2 | |
| 225 | 19 | |
| 214 | 11 | |
| 212 | 13 | |
| 210 | 3 | |
| 206 | - | |
| 191 | 11 | |
| 177 | 8 | |
| 172 | 1 | |
| 163 | - | |
| 160 | 1 | |
| 157 | 9 | |
| 150 | - | |
| 147 | 9 | |
| 139 | 1 | |
| 135 | 5 | |
| 135 | - | |
| 131 | - | |
| 128 | 5 | |
| 123 | - | |
| 122 | - | |
| 114 | - | |
| 113 | 1 | |
| 111 | 7 | |
| 110 | 6 | |
| 98 | 3 | |
| 91 | 7 | |
| 90 | 6 | |
| 87 | - | |
| 87 | 2 | |
| 87 | - | |
| 85 | - | |
| 82 | 9 | |
| 82 | 6 | |
| 82 | 7 | |
| 79 | 3 | |
| 76 | 4 |
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 |
|---|---|---|---|---|---|
| 691 | ~3k–10k | 75 | ~20 | ~30 | |
| 1373 | ~7k–20k | 35 | ~500 | ~2 | |
| 476 | ~3k–7k | 32 | ~30 | ~15 | |
| 359 | ~2k–7k | 41 | ~20 | ~20 | |
| 349 | ~2k–5k | 35 | ~20 | ~20 | |
| 355 | ~2k–5k | 33 | ~20 | ~15 | |
| 354 | ~2k–5k | 28 | ~30 | ~10 | |
| 464 | ~3k–7k | 13 | ~200 | ~3 | |
| 212 | ~1k–3k | 26 | ~15 | ~15 | |
| 147 | ~1k–3k | 26 | ~100 | ~1 | |
| 139 | ~700–2k | 22 | ~10 | ~15 | |
| 160 | ~1k–3k | 18 | ~7 | ~20 | |
| 225 | ~1.5k–5k | 11 | ~15 | ~15 | |
| 345 | ~2k–5k | 5 | ~150 | ~2 | |
| 110 | ~700–2k | 14 | ~30 | ~3 | |
| 282 | ~1.5k–5k | 5 | ~50 | ~5 | |
| 642 | ~3k–10k | 2 | ~1,000 | ~1 | |
| 210 | ~1k–3k | 6 | ~50 | ~5 | |
| 177 | ~1k–3k | 7 | ~20 | ~7 | |
| 206 | ~1k–3k | 6 | ~50 | ~5 |
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 |
|---|---|---|
| 691 | 41 | |
| 476 | 28 | |
| 225 | 19 | |
| 359 | 17 | |
| 355 | 15 | |
| 345 | 15 | |
| 212 | 13 | |
| 214 | 11 | |
| 191 | 11 | |
| 82 | 9 | |
| 147 | 9 | |
| 157 | 9 | |
| 177 | 8 | |
| 91 | 7 | |
| 51 | 7 | |
| 82 | 7 | |
| 111 | 7 | |
| 82 | 6 | |
| 90 | 6 | |
| 110 | 6 | |
| 135 | 5 | |
| 128 | 5 | |
| 52 | 5 | |
| 58 | 5 | |
| 76 | 4 | |
| 59 | 4 | |
| 349 | 3 | |
| 210 | 3 | |
| 98 | 3 | |
| 60 | 3 | |
| 79 | 3 | |
| 27 | 3 | |
| 59 | 3 | |
| 43 | 3 | |
| 52 | 2 | |
| 354 | 2 | |
| 13 | 2 | |
| 28 | 2 | |
| 43 | 2 | |
| 74 | 2 | |
| 68 | 2 | |
| 282 | 2 | |
| 45 | 2 | |
| 45 | 2 | |
| 87 | 2 | |
| 16 | 2 | |
| 12 | 2 | |
| 60 | 2 | |
| 72 | 2 | |
| 44 | 1 |
Files With Long Lines (Top 37)
There are 37 files with lines longer than 120 characters. In total, there are 109 long lines.
| File | # lines | # units | # long lines |
|---|---|---|---|
| 163 | - | 14 | |
| 691 | 41 | 10 | |
| 98 | 3 | 9 | |
| 150 | - | 8 | |
| 564 | - | 7 | |
| 1373 | - | 7 | |
| 354 | 2 | 5 | |
| 48 | - | 5 | |
| 355 | 15 | 4 | |
| 191 | 11 | 3 | |
| 87 | - | 3 | |
| 131 | - | 3 | |
| 225 | 19 | 3 | |
| 157 | 9 | 3 | |
| 476 | 28 | 2 | |
| 287 | - | 2 | |
| 7 | - | 1 | |
| 23 | - | 1 | |
| 43 | 2 | 1 | |
| 79 | 3 | 1 | |
| 91 | 7 | 1 | |
| 206 | - | 1 | |
| 52 | 5 | 1 | |
| 29 | - | 1 | |
| 642 | - | 1 | |
| 135 | - | 1 | |
| 122 | - | 1 | |
| 4 | - | 1 | |
| 75 | - | 1 | |
| 15 | - | 1 | |
| 57 | - | 1 | |
| 123 | - | 1 | |
| 160 | 1 | 1 | |
| 110 | 6 | 1 | |
| 74 | 1 | 1 | |
| 111 | 7 | 1 | |
| 87 | - | 1 |
Correlations
File Size vs. Commits (all time): 238 points
|
|
1373.0 | lines of code min: 1.0average: 67.92 25th percentile: 11.75 median: 24.5 75th percentile: 64.5 max: 1373.0 |
|
| 0 | 215.0 | ||
|
commits (all time) min: 1.0 | average: 13.12 | 25th percentile: 2.0 | median: 5.0 | 75th percentile: 11.0 | max: 215.0
|
|||
File Size vs. Contributors (all time): 238 points
|
|
1373.0 | lines of code min: 1.0average: 67.92 25th percentile: 11.75 median: 24.5 75th percentile: 64.5 max: 1373.0 |
|
| 0 | 21.0 | ||
|
contributors (all time) min: 1.0 | average: 3.24 | 25th percentile: 1.0 | median: 2.0 | 75th percentile: 4.0 | max: 21.0
|
|||
File Size vs. Commits (30 days): 20 points
|
|
1373.0 | lines of code min: 2.0average: 258.95 25th percentile: 32.75 median: 136.5 75th percentile: 358.0 max: 1373.0 |
|
| 0 | 10.0 | ||
|
commits (30d) min: 1.0 | average: 2.65 | 25th percentile: 1.0 | median: 2.0 | 75th percentile: 3.0 | max: 10.0
|
|||
File Size vs. Contributors (30 days): 20 points
|
|
1373.0 | lines of code min: 2.0average: 258.95 25th percentile: 32.75 median: 136.5 75th percentile: 358.0 max: 1373.0 |
|
| 0 | 4.0 | ||
|
contributors (30d) min: 1.0 | average: 1.9 | 25th percentile: 1.0 | median: 2.0 | 75th percentile: 2.0 | max: 4.0
|
|||
File Size vs. Commits (90 days): 46 points
|
|
1373.0 | lines of code min: 2.0average: 161.89 25th percentile: 34.75 median: 78.0 75th percentile: 172.5 max: 1373.0 |
|
| 0 | 22.0 | ||
|
commits (90d) min: 1.0 | average: 4.72 | 25th percentile: 2.0 | median: 3.0 | 75th percentile: 6.25 | max: 22.0
|
|||
File Size vs. Contributors (90 days): 46 points
|
|
1373.0 | lines of code min: 2.0average: 161.89 25th percentile: 34.75 median: 78.0 75th percentile: 172.5 max: 1373.0 |
|
| 0 | 6.0 | ||
|
contributors (90d) min: 1.0 | average: 1.89 | 25th percentile: 1.0 | median: 1.5 | 75th percentile: 2.0 | max: 6.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