File Size Overall
- There are 111 files with 17,322 lines of code.
- 3 very long files (3,697 lines of code)
- 4 long files (2,196 lines of code)
- 17 medium size files (5,779 lines of code)
- 17 small files (2,617 lines of code)
- 70 very small files (3,033 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 |
|---|---|---|
| 1454 | 27 | |
| 1233 | 11 | |
| 1010 | 12 | |
| 627 | - | |
| 553 | 29 | |
| 514 | 9 | |
| 502 | 14 | |
| 491 | - | |
| 463 | 15 | |
| 459 | - | |
| 453 | 21 | |
| 423 | 19 | |
| 410 | 20 | |
| 402 | 24 | |
| 326 | 2 | |
| 293 | 15 | |
| 288 | 9 | |
| 285 | 7 | |
| 284 | 35 | |
| 284 | 6 | |
| 264 | - | |
| 236 | 2 | |
| 210 | 4 | |
| 208 | 19 | |
| 198 | 2 | |
| 190 | 1 | |
| 188 | - | |
| 182 | - | |
| 179 | - | |
| 177 | 5 | |
| 175 | 4 | |
| 164 | - | |
| 157 | - | |
| 154 | 1 | |
| 153 | 2 | |
| 140 | - | |
| 128 | 5 | |
| 116 | 2 | |
| 109 | - | |
| 104 | - | |
| 103 | 4 | |
| 99 | 5 | |
| 92 | 3 | |
| 92 | 2 | |
| 90 | - | |
| 90 | 2 | |
| 89 | 5 | |
| 89 | 7 | |
| 88 | 2 | |
| 87 | 1 |
Large Files That Change Often (Top 16)
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 |
|---|---|---|---|---|---|
| 1454 | ~10k–30k | 2 | ~100 | ~10 | |
| 1010 | ~7k–15k | 2 | ~100 | ~10 | |
| 1233 | ~7k–20k | 1 | ~100 | ~15 | |
| 459 | ~3k–7k | 2 | ~30 | ~15 | |
| 326 | ~2k–5k | 2 | ~5 | ~70 | |
| 627 | ~3k–10k | 1 | ~200 | ~3 | |
| 514 | ~3k–10k | 1 | ~15 | ~30 | |
| 491 | ~3k–7k | 1 | ~100 | ~5 | |
| 210 | ~1k–3k | 2 | ~50 | ~5 | |
| 179 | ~1k–3k | 2 | ~15 | ~10 | |
| 236 | ~1.5k–5k | 1 | ~20 | ~10 | |
| 140 | ~700–2k | 1 | ~7 | ~20 | |
| 90 | ~500–1.5k | 1 | ~50 | ~2 | |
| 43 | under 1k | 2 | ~15 | ~3 | |
| 48 | under 1k | 1 | ~10 | ~5 | |
| 36 | under 1k | 1 | ~50 | ~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 |
|---|---|---|
| 284 | 35 | |
| 553 | 29 | |
| 1454 | 27 | |
| 402 | 24 | |
| 453 | 21 | |
| 410 | 20 | |
| 208 | 19 | |
| 423 | 19 | |
| 463 | 15 | |
| 293 | 15 | |
| 502 | 14 | |
| 1010 | 12 | |
| 1233 | 11 | |
| 75 | 11 | |
| 514 | 9 | |
| 288 | 9 | |
| 285 | 7 | |
| 74 | 7 | |
| 89 | 7 | |
| 52 | 6 | |
| 31 | 6 | |
| 284 | 6 | |
| 81 | 5 | |
| 89 | 5 | |
| 99 | 5 | |
| 128 | 5 | |
| 177 | 5 | |
| 210 | 4 | |
| 103 | 4 | |
| 175 | 4 | |
| 92 | 3 | |
| 71 | 3 | |
| 80 | 3 | |
| 49 | 3 | |
| 75 | 3 | |
| 43 | 3 | |
| 27 | 3 | |
| 78 | 2 | |
| 30 | 2 | |
| 34 | 2 | |
| 198 | 2 | |
| 77 | 2 | |
| 236 | 2 | |
| 28 | 2 | |
| 44 | 2 | |
| 326 | 2 | |
| 92 | 2 | |
| 88 | 2 | |
| 90 | 2 | |
| 153 | 2 |
Files With Long Lines (Top 27)
There are 27 files with lines longer than 120 characters. In total, there are 221 long lines.
| File | # lines | # units | # long lines |
|---|---|---|---|
| 1454 | 27 | 78 | |
| 514 | 9 | 28 | |
| 30 | - | 21 | |
| 1010 | 12 | 19 | |
| 502 | 14 | 14 | |
| 103 | 4 | 14 | |
| 264 | - | 9 | |
| 463 | 15 | 5 | |
| 627 | - | 4 | |
| 198 | 2 | 3 | |
| 285 | 7 | 3 | |
| 288 | 9 | 3 | |
| 326 | 2 | 3 | |
| 491 | - | 2 | |
| 49 | 3 | 2 | |
| 99 | 5 | 2 | |
| 553 | 29 | 1 | |
| 236 | 2 | 1 | |
| 154 | 1 | 1 | |
| 423 | 19 | 1 | |
| 188 | - | 1 | |
| 83 | 1 | 1 | |
| 175 | 4 | 1 | |
| 453 | 21 | 1 | |
| 44 | 2 | 1 | |
| 284 | 6 | 1 | |
| 153 | 2 | 1 |
Correlations
File Size vs. Commits (all time): 63 points
|
|
1454.0 | lines of code min: 1.0average: 222.68 25th percentile: 50.0 median: 140.0 75th percentile: 284.0 max: 1454.0 |
|
| 0 | 13.0 | ||
|
commits (all time) min: 1.0 | average: 2.92 | 25th percentile: 1.0 | median: 2.0 | 75th percentile: 4.0 | max: 13.0
|
|||
File Size vs. Contributors (all time): 63 points
|
|
1454.0 | lines of code min: 1.0average: 222.68 25th percentile: 50.0 median: 140.0 75th percentile: 284.0 max: 1454.0 |
|
| 0 | 4.0 | ||
|
contributors (all time) min: 1.0 | average: 1.7 | 25th percentile: 1.0 | median: 1.0 | 75th percentile: 2.0 | max: 4.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): 1 points
|
|
210.0 | lines of code min: 210.0average: 210.0 25th percentile: 210.0 median: 210.0 75th percentile: 210.0 max: 210.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): 1 points
|
|
210.0 | lines of code min: 210.0average: 210.0 25th percentile: 210.0 median: 210.0 75th percentile: 210.0 max: 210.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