File Size Overall
- There are 487 files with 32,173 lines of code.
- 0 very long files (0 lines of code)
- 8 long files (4,736 lines of code)
- 22 medium size files (6,119 lines of code)
- 59 small files (7,941 lines of code)
- 398 very small files (13,377 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 |
|---|---|---|
| 796 | - | |
| 680 | 20 | |
| 578 | 18 | |
| 564 | 8 | |
| 544 | 9 | |
| 540 | 16 | |
| 517 | 1 | |
| 517 | 13 | |
| 426 | - | |
| 394 | - | |
| 364 | 11 | |
| 342 | - | |
| 337 | - | |
| 332 | 13 | |
| 310 | 1 | |
| 289 | 13 | |
| 287 | 11 | |
| 275 | - | |
| 260 | - | |
| 256 | 3 | |
| 250 | - | |
| 245 | 11 | |
| 225 | - | |
| 224 | - | |
| 223 | - | |
| 222 | 12 | |
| 220 | - | |
| 217 | - | |
| 217 | 8 | |
| 204 | 3 | |
| 200 | - | |
| 197 | - | |
| 187 | 3 | |
| 187 | 7 | |
| 186 | 1 | |
| 182 | - | |
| 180 | - | |
| 178 | 4 | |
| 178 | - | |
| 175 | - | |
| 173 | - | |
| 159 | - | |
| 158 | - | |
| 155 | - | |
| 155 | - | |
| 154 | 2 | |
| 154 | - | |
| 153 | 2 | |
| 153 | - | |
| 151 | 2 |
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 |
|---|---|---|---|---|---|
| 517 | ~3k–10k | 36 | ~30 | ~15 | |
| 680 | ~3k–10k | 27 | ~30 | ~20 | |
| 564 | ~3k–10k | 32 | ~30 | ~20 | |
| 540 | ~3k–10k | 29 | ~20 | ~20 | |
| 289 | ~2k–5k | 22 | ~50 | ~5 | |
| 394 | ~2k–7k | 14 | ~30 | ~15 | |
| 342 | ~2k–5k | 13 | ~20 | ~20 | |
| 578 | ~3k–10k | 6 | ~30 | ~20 | |
| 225 | ~1.5k–5k | 14 | ~30 | ~7 | |
| 159 | ~1k–3k | 17 | ~5 | ~30 | |
| 178 | ~1k–3k | 14 | ~20 | ~10 | |
| 217 | ~1.5k–5k | 11 | ~50 | ~5 | |
| 544 | ~3k–10k | 4 | ~70 | ~7 | |
| 180 | ~1k–3k | 12 | ~30 | ~5 | |
| 147 | ~1k–3k | 13 | ~10 | ~15 | |
| 250 | ~1.5k–5k | 7 | ~20 | ~10 | |
| 155 | ~1k–3k | 11 | ~20 | ~7 | |
| 796 | ~5k–15k | 2 | ~15 | ~50 | |
| 126 | ~700–2k | 12 | ~20 | ~5 | |
| 223 | ~1.5k–5k | 6 | ~20 | ~10 |
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 |
|---|---|---|
| 680 | 20 | |
| 578 | 18 | |
| 540 | 16 | |
| 289 | 13 | |
| 517 | 13 | |
| 332 | 13 | |
| 222 | 12 | |
| 245 | 11 | |
| 364 | 11 | |
| 287 | 11 | |
| 91 | 10 | |
| 544 | 9 | |
| 564 | 8 | |
| 217 | 8 | |
| 76 | 7 | |
| 187 | 7 | |
| 51 | 4 | |
| 178 | 4 | |
| 116 | 4 | |
| 24 | 4 | |
| 33 | 3 | |
| 48 | 3 | |
| 187 | 3 | |
| 84 | 3 | |
| 118 | 3 | |
| 93 | 3 | |
| 204 | 3 | |
| 256 | 3 | |
| 39 | 3 | |
| 153 | 2 | |
| 106 | 2 | |
| 119 | 2 | |
| 93 | 2 | |
| 107 | 2 | |
| 151 | 2 | |
| 62 | 2 | |
| 103 | 2 | |
| 138 | 2 | |
| 154 | 2 | |
| 32 | 2 | |
| 84 | 2 | |
| 51 | 2 | |
| 109 | 2 | |
| 106 | 2 | |
| 106 | 2 | |
| 517 | 1 | |
| 57 | 1 | |
| 11 | 1 | |
| 9 | 1 | |
| 22 | 1 |
Files With Long Lines (Top 38)
There are 38 files with lines longer than 120 characters. In total, there are 113 long lines.
| File | # lines | # units | # long lines |
|---|---|---|---|
| 517 | 1 | 28 | |
| 796 | - | 20 | |
| 147 | - | 6 | |
| 180 | - | 5 | |
| 175 | - | 4 | |
| 11 | - | 4 | |
| 60 | - | 3 | |
| 39 | - | 3 | |
| 20 | - | 3 | |
| 11 | - | 3 | |
| 217 | - | 2 | |
| 517 | 13 | 2 | |
| 544 | 9 | 2 | |
| 14 | - | 2 | |
| 11 | - | 2 | |
| 11 | - | 2 | |
| 112 | - | 1 | |
| 139 | 1 | 1 | |
| 106 | 2 | 1 | |
| 79 | - | 1 | |
| 364 | 11 | 1 | |
| 46 | 1 | 1 | |
| 138 | 2 | 1 | |
| 84 | 2 | 1 | |
| 87 | - | 1 | |
| 27 | - | 1 | |
| 66 | - | 1 | |
| 66 | - | 1 | |
| 394 | - | 1 | |
| 23 | - | 1 | |
| 96 | - | 1 | |
| 10 | - | 1 | |
| 19 | - | 1 | |
| 11 | - | 1 | |
| 10 | - | 1 | |
| 10 | - | 1 | |
| 11 | - | 1 | |
| 13 | - | 1 |
Correlations
File Size vs. Commits (all time): 487 points
|
|
796.0 | lines of code min: 1.0average: 66.06 25th percentile: 17.0 median: 34.0 75th percentile: 77.0 max: 796.0 |
|
| 0 | 287.0 | ||
|
commits (all time) min: 1.0 | average: 25.95 | 25th percentile: 6.0 | median: 13.0 | 75th percentile: 28.0 | max: 287.0
|
|||
File Size vs. Contributors (all time): 487 points
|
|
796.0 | lines of code min: 1.0average: 66.06 25th percentile: 17.0 median: 34.0 75th percentile: 77.0 max: 796.0 |
|
| 0 | 30.0 | ||
|
contributors (all time) min: 1.0 | average: 6.33 | 25th percentile: 3.0 | median: 5.0 | 75th percentile: 8.0 | max: 30.0
|
|||
File Size vs. Commits (30 days): 31 points
|
|
680.0 | lines of code min: 8.0average: 165.29 25th percentile: 36.0 median: 106.0 75th percentile: 180.0 max: 680.0 |
|
| 0 | 16.0 | ||
|
commits (30d) min: 1.0 | average: 3.35 | 25th percentile: 2.0 | median: 2.0 | 75th percentile: 4.0 | max: 16.0
|
|||
File Size vs. Contributors (30 days): 31 points
|
|
680.0 | lines of code min: 8.0average: 165.29 25th percentile: 36.0 median: 106.0 75th percentile: 180.0 max: 680.0 |
|
| 0 | 3.0 | ||
|
contributors (30d) min: 1.0 | average: 1.19 | 25th percentile: 1.0 | median: 1.0 | 75th percentile: 1.0 | max: 3.0
|
|||
File Size vs. Commits (90 days): 46 points
|
|
680.0 | lines of code min: 5.0average: 139.35 25th percentile: 29.0 median: 82.5 75th percentile: 163.75 max: 680.0 |
|
| 0 | 22.0 | ||
|
commits (90d) min: 2.0 | average: 6.11 | 25th percentile: 3.0 | median: 4.0 | 75th percentile: 9.25 | max: 22.0
|
|||
File Size vs. Contributors (90 days): 46 points
|
|
680.0 | lines of code min: 5.0average: 139.35 25th percentile: 29.0 median: 82.5 75th percentile: 163.75 max: 680.0 |
|
| 0 | 3.0 | ||
|
contributors (90d) min: 1.0 | average: 1.57 | 25th percentile: 1.0 | median: 1.0 | 75th percentile: 2.0 | max: 3.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