File Size Overall
- There are 71 files with 11,276 lines of code.
- 1 very long files (1,319 lines of code)
- 4 long files (2,534 lines of code)
- 13 medium size files (4,266 lines of code)
- 11 small files (1,611 lines of code)
- 42 very small files (1,546 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 |
|---|---|---|
| 1319 | - | |
| 778 | 52 | |
| 643 | 22 | |
| 568 | 14 | |
| 545 | 22 | |
| 494 | 14 | |
| 458 | 15 | |
| 379 | 12 | |
| 375 | 14 | |
| 365 | 9 | |
| 364 | 18 | |
| 309 | 14 | |
| 306 | 8 | |
| 257 | 12 | |
| 257 | - | |
| 254 | 20 | |
| 242 | 16 | |
| 206 | 10 | |
| 200 | 12 | |
| 191 | 9 | |
| 165 | 11 | |
| 164 | 12 | |
| 163 | 7 | |
| 137 | 10 | |
| 133 | 5 | |
| 124 | 12 | |
| 117 | 11 | |
| 111 | 11 | |
| 106 | 12 | |
| 92 | 3 | |
| 82 | 6 | |
| 80 | 3 | |
| 73 | 3 | |
| 61 | 4 | |
| 61 | 1 | |
| 61 | 1 | |
| 59 | 5 | |
| 59 | 1 | |
| 59 | 1 | |
| 59 | 2 | |
| 53 | 1 | |
| 53 | 1 | |
| 53 | 1 | |
| 53 | 1 | |
| 52 | 1 | |
| 51 | 1 | |
| 51 | 1 | |
| 45 | 1 | |
| 45 | 1 | |
| 43 | 6 |
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 |
|---|---|---|---|---|---|
| 643 | ~3k–10k | 2 | ~2 | ~300 | |
| 568 | ~3k–10k | 2 | ~1 | ~500 | |
| 364 | ~2k–7k | 3 | ~3 | ~100 | |
| 494 | ~3k–7k | 2 | ~1 | ~500 | |
| 365 | ~2k–7k | 2 | ~2 | ~200 | |
| 106 | ~700–1.5k | 3 | ~3 | ~30 | |
| 124 | ~700–2k | 2 | ~2 | ~70 | |
| 61 | ~300–1k | 3 | ~3 | ~20 | |
| 61 | ~300–1k | 3 | ~3 | ~20 | |
| 59 | ~300–1k | 3 | ~3 | ~20 | |
| 59 | ~300–1k | 3 | ~3 | ~20 | |
| 53 | ~300–1k | 3 | ~3 | ~15 | |
| 53 | ~300–1k | 3 | ~3 | ~15 | |
| 51 | ~300–1k | 3 | ~3 | ~15 | |
| 51 | ~300–1k | 3 | ~3 | ~15 | |
| 117 | ~700–2k | 1 | ~5 | ~20 | |
| 38 | under 1k | 2 | ~2 | ~20 | |
| 53 | ~300–1k | 1 | ~5 | ~10 | |
| 53 | ~300–1k | 1 | ~5 | ~10 | |
| 45 | under 1k | 1 | ~7 | ~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 |
|---|---|---|
| 778 | 52 | |
| 643 | 22 | |
| 545 | 22 | |
| 254 | 20 | |
| 364 | 18 | |
| 242 | 16 | |
| 458 | 15 | |
| 375 | 14 | |
| 568 | 14 | |
| 494 | 14 | |
| 309 | 14 | |
| 106 | 12 | |
| 124 | 12 | |
| 379 | 12 | |
| 257 | 12 | |
| 200 | 12 | |
| 164 | 12 | |
| 111 | 11 | |
| 165 | 11 | |
| 117 | 11 | |
| 137 | 10 | |
| 206 | 10 | |
| 191 | 9 | |
| 365 | 9 | |
| 306 | 8 | |
| 163 | 7 | |
| 82 | 6 | |
| 43 | 6 | |
| 59 | 5 | |
| 39 | 5 | |
| 133 | 5 | |
| 61 | 4 | |
| 73 | 3 | |
| 80 | 3 | |
| 92 | 3 | |
| 41 | 3 | |
| 11 | 2 | |
| 38 | 2 | |
| 59 | 2 | |
| 36 | 1 | |
| 52 | 1 | |
| 45 | 1 | |
| 53 | 1 | |
| 53 | 1 | |
| 45 | 1 | |
| 61 | 1 | |
| 53 | 1 | |
| 61 | 1 | |
| 53 | 1 | |
| 59 | 1 |
Files With Long Lines (Top 3)
There are 3 files with lines longer than 120 characters. In total, there are 1370 long lines.
| File | # lines | # units | # long lines |
|---|---|---|---|
| 1319 | - | 1319 | |
| 257 | - | 50 | |
| 59 | 2 | 1 |
Correlations
File Size vs. Commits (all time): 24 points
|
|
643.0 | lines of code min: 5.0average: 145.33 25th percentile: 46.5 median: 56.0 75th percentile: 122.25 max: 643.0 |
|
| 0 | 3.0 | ||
|
commits (all time) min: 1.0 | average: 2.17 | 25th percentile: 1.25 | median: 2.0 | 75th percentile: 3.0 | max: 3.0
|
|||
File Size vs. Contributors (all time): 24 points
|
|
643.0 | lines of code min: 5.0average: 145.33 25th percentile: 46.5 median: 56.0 75th percentile: 122.25 max: 643.0 |
|
| 0 | 3.0 | ||
|
contributors (all time) min: 1.0 | average: 2.13 | 25th percentile: 1.0 | median: 2.0 | 75th percentile: 3.0 | max: 3.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): 5 points
|
|
643.0 | lines of code min: 11.0average: 232.6 25th percentile: 24.5 median: 106.0 75th percentile: 504.0 max: 643.0 |
|
| 0 | 2.0 | ||
|
commits (90d) min: 1.0 | average: 1.2 | 25th percentile: 1.0 | median: 1.0 | 75th percentile: 1.5 | max: 2.0
|
|||
File Size vs. Contributors (90 days): 5 points
|
|
643.0 | lines of code min: 11.0average: 232.6 25th percentile: 24.5 median: 106.0 75th percentile: 504.0 max: 643.0 |
|
| 0 | 2.0 | ||
|
contributors (90d) min: 1.0 | average: 1.2 | 25th percentile: 1.0 | median: 1.0 | 75th percentile: 1.5 | max: 2.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