File Size Overall
- There are 61 files with 8,595 lines of code.
- 0 very long files (0 lines of code)
- 5 long files (3,022 lines of code)
- 9 medium size files (2,767 lines of code)
- 10 small files (1,499 lines of code)
- 37 very small files (1,307 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 |
|---|---|---|
| 806 | 18 | |
| 586 | 15 | |
| 576 | 26 | |
| 540 | 27 | |
| 514 | 17 | |
| 454 | 3 | |
| 446 | 16 | |
| 367 | 7 | |
| 309 | 24 | |
| 262 | 13 | |
| 249 | 9 | |
| 239 | 5 | |
| 221 | 2 | |
| 220 | 10 | |
| 190 | 7 | |
| 173 | 15 | |
| 168 | 8 | |
| 165 | - | |
| 160 | 3 | |
| 148 | 2 | |
| 144 | 7 | |
| 131 | 4 | |
| 114 | 5 | |
| 106 | 1 | |
| 94 | 2 | |
| 93 | - | |
| 93 | 8 | |
| 88 | 3 | |
| 84 | 6 | |
| 73 | 2 | |
| 70 | - | |
| 69 | 2 | |
| 58 | 4 | |
| 52 | - | |
| 38 | 5 | |
| 38 | 4 | |
| 36 | - | |
| 35 | 2 | |
| 35 | - | |
| 34 | - | |
| 32 | 2 | |
| 32 | - | |
| 30 | - | |
| 29 | - | |
| 29 | - | |
| 27 | 1 | |
| 25 | - | |
| 24 | - | |
| 24 | 1 | |
| 21 | - |
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 |
|---|---|---|---|---|---|
| 806 | ~5k–15k | 10 | ~150 | ~5 | |
| 540 | ~3k–10k | 13 | ~100 | ~5 | |
| 446 | ~3k–7k | 14 | ~70 | ~5 | |
| 514 | ~3k–10k | 11 | ~150 | ~3 | |
| 576 | ~3k–10k | 8 | ~100 | ~5 | |
| 454 | ~3k–7k | 9 | ~100 | ~3 | |
| 262 | ~1.5k–5k | 9 | ~50 | ~5 | |
| 586 | ~3k–10k | 4 | ~100 | ~5 | |
| 309 | ~2k–5k | 6 | ~70 | ~5 | |
| 367 | ~2k–7k | 5 | ~70 | ~5 | |
| 249 | ~1.5k–5k | 7 | ~50 | ~5 | |
| 165 | ~1k–3k | 8 | ~50 | ~3 | |
| 239 | ~1.5k–5k | 5 | ~70 | ~3 | |
| 160 | ~1k–3k | 7 | ~70 | ~3 | |
| 221 | ~1.5k–5k | 5 | ~70 | ~3 | |
| 148 | ~1k–3k | 5 | ~50 | ~3 | |
| 106 | ~700–1.5k | 6 | ~30 | ~3 | |
| 94 | ~500–1.5k | 6 | ~30 | ~3 | |
| 93 | ~500–1.5k | 6 | ~30 | ~3 | |
| 173 | ~1k–3k | 3 | ~70 | ~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 36)
| File | # lines | # units |
|---|---|---|
| 540 | 27 | |
| 576 | 26 | |
| 309 | 24 | |
| 806 | 18 | |
| 514 | 17 | |
| 446 | 16 | |
| 586 | 15 | |
| 173 | 15 | |
| 262 | 13 | |
| 220 | 10 | |
| 249 | 9 | |
| 93 | 8 | |
| 168 | 8 | |
| 190 | 7 | |
| 367 | 7 | |
| 144 | 7 | |
| 84 | 6 | |
| 38 | 5 | |
| 239 | 5 | |
| 114 | 5 | |
| 58 | 4 | |
| 38 | 4 | |
| 131 | 4 | |
| 88 | 3 | |
| 454 | 3 | |
| 160 | 3 | |
| 32 | 2 | |
| 69 | 2 | |
| 35 | 2 | |
| 73 | 2 | |
| 148 | 2 | |
| 221 | 2 | |
| 94 | 2 | |
| 106 | 1 | |
| 27 | 1 | |
| 24 | 1 |
Files With Long Lines (Top 11)
There are 11 files with lines longer than 120 characters. In total, there are 34 long lines.
| File | # lines | # units | # long lines |
|---|---|---|---|
| 367 | 7 | 8 | |
| 514 | 17 | 7 | |
| 221 | 2 | 4 | |
| 806 | 18 | 3 | |
| 586 | 15 | 2 | |
| 165 | - | 2 | |
| 446 | 16 | 2 | |
| 58 | 4 | 2 | |
| 168 | 8 | 2 | |
| 454 | 3 | 1 | |
| 29 | - | 1 |
Correlations
File Size vs. Commits (all time): 61 points
|
|
806.0 | lines of code min: 1.0average: 140.9 25th percentile: 26.0 median: 70.0 75th percentile: 181.5 max: 806.0 |
|
| 0 | 19.0 | ||
|
commits (all time) min: 1.0 | average: 7.52 | 25th percentile: 3.0 | median: 7.0 | 75th percentile: 10.0 | max: 19.0
|
|||
File Size vs. Contributors (all time): 61 points
|
|
806.0 | lines of code min: 1.0average: 140.9 25th percentile: 26.0 median: 70.0 75th percentile: 181.5 max: 806.0 |
|
| 0 | 6.0 | ||
|
contributors (all time) min: 1.0 | average: 3.62 | 25th percentile: 2.0 | median: 4.0 | 75th percentile: 5.0 | max: 6.0
|
|||
File Size vs. Commits (30 days): 55 points
|
|
806.0 | lines of code min: 3.0average: 153.04 25th percentile: 29.0 median: 84.0 75th percentile: 220.0 max: 806.0 |
|
| 0 | 6.0 | ||
|
commits (30d) min: 1.0 | average: 1.78 | 25th percentile: 1.0 | median: 1.0 | 75th percentile: 2.0 | max: 6.0
|
|||
File Size vs. Contributors (30 days): 55 points
|
|
806.0 | lines of code min: 3.0average: 153.04 25th percentile: 29.0 median: 84.0 75th percentile: 220.0 max: 806.0 |
|
| 0 | 2.0 | ||
|
contributors (30d) min: 1.0 | average: 1.04 | 25th percentile: 1.0 | median: 1.0 | 75th percentile: 1.0 | max: 2.0
|
|||
File Size vs. Commits (90 days): 55 points
|
|
806.0 | lines of code min: 3.0average: 153.04 25th percentile: 29.0 median: 84.0 75th percentile: 220.0 max: 806.0 |
|
| 0 | 6.0 | ||
|
commits (90d) min: 1.0 | average: 1.82 | 25th percentile: 1.0 | median: 1.0 | 75th percentile: 2.0 | max: 6.0
|
|||
File Size vs. Contributors (90 days): 55 points
|
|
806.0 | lines of code min: 3.0average: 153.04 25th percentile: 29.0 median: 84.0 75th percentile: 220.0 max: 806.0 |
|
| 0 | 2.0 | ||
|
contributors (90d) min: 1.0 | average: 1.07 | 25th percentile: 1.0 | median: 1.0 | 75th percentile: 1.0 | 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