File Size Overall
- There are 260 files with 19,359 lines of code.
- 0 very long files (0 lines of code)
- 2 long files (1,410 lines of code)
- 18 medium size files (5,882 lines of code)
- 33 small files (4,656 lines of code)
- 207 very small files (7,411 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 |
|---|---|---|
| 863 | 61 | |
| 547 | 60 | |
| 490 | 66 | |
| 457 | 34 | |
| 393 | 17 | |
| 392 | 20 | |
| 389 | 38 | |
| 373 | 28 | |
| 372 | 28 | |
| 350 | 28 | |
| 322 | 62 | |
| 307 | 41 | |
| 305 | 19 | |
| 289 | 17 | |
| 286 | 34 | |
| 254 | 6 | |
| 240 | 13 | |
| 237 | 15 | |
| 224 | 19 | |
| 202 | 2 | |
| 199 | 9 | |
| 197 | 35 | |
| 194 | 16 | |
| 190 | 22 | |
| 187 | 13 | |
| 186 | 23 | |
| 182 | 25 | |
| 177 | 14 | |
| 167 | 34 | |
| 165 | 28 | |
| 159 | 14 | |
| 145 | 9 | |
| 143 | 6 | |
| 142 | 13 | |
| 137 | 13 | |
| 136 | 15 | |
| 135 | 6 | |
| 132 | 10 | |
| 125 | 9 | |
| 118 | 8 | |
| 117 | 10 | |
| 117 | 10 | |
| 117 | 5 | |
| 116 | 4 | |
| 115 | 5 | |
| 115 | 4 | |
| 110 | 18 | |
| 109 | 3 | |
| 106 | 6 | |
| 105 | 3 |
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 |
|---|---|---|---|---|---|
| 863 | ~5k–15k | 17 | ~30 | ~30 | |
| 393 | ~2k–7k | 13 | ~20 | ~15 | |
| 547 | ~3k–10k | 7 | ~50 | ~15 | |
| 373 | ~2k–7k | 8 | ~50 | ~7 | |
| 490 | ~3k–7k | 5 | ~50 | ~10 | |
| 392 | ~2k–7k | 6 | ~50 | ~7 | |
| 254 | ~1.5k–5k | 9 | ~30 | ~7 | |
| 289 | ~2k–5k | 7 | ~30 | ~10 | |
| 322 | ~2k–5k | 6 | ~50 | ~7 | |
| 240 | ~1.5k–5k | 7 | ~30 | ~10 | |
| 237 | ~1.5k–5k | 4 | ~30 | ~7 | |
| 305 | ~2k–5k | 3 | ~30 | ~10 | |
| 143 | ~1k–3k | 6 | ~20 | ~7 | |
| 202 | ~1k–3k | 4 | ~30 | ~7 | |
| 187 | ~1k–3k | 4 | ~20 | ~10 | |
| 177 | ~1k–3k | 4 | ~30 | ~5 | |
| 350 | ~2k–5k | 2 | ~30 | ~10 | |
| 136 | ~700–2k | 5 | ~30 | ~5 | |
| 199 | ~1k–3k | 3 | ~30 | ~5 | |
| 194 | ~1k–3k | 3 | ~30 | ~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 |
|---|---|---|
| 490 | 66 | |
| 322 | 62 | |
| 863 | 61 | |
| 547 | 60 | |
| 307 | 41 | |
| 389 | 38 | |
| 197 | 35 | |
| 286 | 34 | |
| 457 | 34 | |
| 167 | 34 | |
| 372 | 28 | |
| 165 | 28 | |
| 350 | 28 | |
| 373 | 28 | |
| 182 | 25 | |
| 186 | 23 | |
| 190 | 22 | |
| 392 | 20 | |
| 224 | 19 | |
| 305 | 19 | |
| 110 | 18 | |
| 393 | 17 | |
| 289 | 17 | |
| 194 | 16 | |
| 136 | 15 | |
| 90 | 15 | |
| 237 | 15 | |
| 177 | 14 | |
| 159 | 14 | |
| 79 | 14 | |
| 68 | 14 | |
| 137 | 13 | |
| 142 | 13 | |
| 91 | 13 | |
| 240 | 13 | |
| 187 | 13 | |
| 62 | 12 | |
| 47 | 12 | |
| 100 | 11 | |
| 49 | 11 | |
| 55 | 11 | |
| 117 | 10 | |
| 117 | 10 | |
| 105 | 10 | |
| 99 | 10 | |
| 132 | 10 | |
| 95 | 10 | |
| 199 | 9 | |
| 73 | 9 | |
| 93 | 9 |
Files With Long Lines (Top 1)
There is only one file with lines longer than 120 characters. In total, there are 2 long lines.
| File | # lines | # units | # long lines |
|---|---|---|---|
| 97 | 6 | 2 |
Correlations
File Size vs. Commits (all time): 260 points
|
|
863.0 | lines of code min: 2.0average: 74.46 25th percentile: 17.0 median: 41.0 75th percentile: 92.5 max: 863.0 |
|
| 0 | 149.0 | ||
|
commits (all time) min: 1.0 | average: 12.54 | 25th percentile: 4.0 | median: 8.0 | 75th percentile: 14.0 | max: 149.0
|
|||
File Size vs. Contributors (all time): 260 points
|
|
863.0 | lines of code min: 2.0average: 74.46 25th percentile: 17.0 median: 41.0 75th percentile: 92.5 max: 863.0 |
|
| 0 | 26.0 | ||
|
contributors (all time) min: 1.0 | average: 6.54 | 25th percentile: 4.0 | median: 6.0 | 75th percentile: 9.0 | max: 26.0
|
|||
File Size vs. Commits (30 days): 7 points
|
|
863.0 | lines of code min: 73.0average: 334.57 25th percentile: 186.0 median: 240.0 75th percentile: 457.0 max: 863.0 |
|
| 0 | 2.0 | ||
|
commits (30d) min: 1.0 | average: 1.29 | 25th percentile: 1.0 | median: 1.0 | 75th percentile: 2.0 | max: 2.0
|
|||
File Size vs. Contributors (30 days): 7 points
|
|
863.0 | lines of code min: 73.0average: 334.57 25th percentile: 186.0 median: 240.0 75th percentile: 457.0 max: 863.0 |
|
| 0 | 2.0 | ||
|
contributors (30d) min: 1.0 | average: 1.14 | 25th percentile: 1.0 | median: 1.0 | 75th percentile: 1.0 | max: 2.0
|
|||
File Size vs. Commits (90 days): 16 points
|
|
863.0 | lines of code min: 25.0average: 235.19 25th percentile: 75.5 median: 161.5 75th percentile: 366.25 max: 863.0 |
|
| 0 | 2.0 | ||
|
commits (90d) min: 1.0 | average: 1.31 | 25th percentile: 1.0 | median: 1.0 | 75th percentile: 2.0 | max: 2.0
|
|||
File Size vs. Contributors (90 days): 16 points
|
|
863.0 | lines of code min: 25.0average: 235.19 25th percentile: 75.5 median: 161.5 75th percentile: 366.25 max: 863.0 |
|
| 0 | 2.0 | ||
|
contributors (90d) min: 1.0 | average: 1.19 | 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