File Size Overall
- There are 425 files with 28,676 lines of code.
- 0 very long files (0 lines of code)
- 2 long files (1,068 lines of code)
- 26 medium size files (7,506 lines of code)
- 53 small files (6,973 lines of code)
- 344 very small files (13,129 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 |
|---|---|---|
| 543 | - | |
| 525 | - | |
| 475 | - | |
| 471 | 12 | |
| 455 | 14 | |
| 396 | 13 | |
| 365 | 10 | |
| 336 | 6 | |
| 336 | 11 | |
| 327 | 1 | |
| 305 | 2 | |
| 298 | 14 | |
| 293 | 12 | |
| 262 | 8 | |
| 262 | 4 | |
| 252 | - | |
| 250 | 2 | |
| 248 | 8 | |
| 237 | 13 | |
| 229 | 7 | |
| 225 | 11 | |
| 218 | - | |
| 217 | 9 | |
| 214 | 1 | |
| 213 | 7 | |
| 210 | 3 | |
| 208 | 7 | |
| 204 | 3 | |
| 191 | 10 | |
| 176 | 5 | |
| 170 | 5 | |
| 168 | 5 | |
| 168 | 6 | |
| 165 | - | |
| 164 | 1 | |
| 157 | 2 | |
| 157 | 5 | |
| 154 | 8 | |
| 154 | 4 | |
| 152 | 7 | |
| 148 | 5 | |
| 148 | 7 | |
| 148 | 8 | |
| 143 | 2 | |
| 143 | - | |
| 142 | 5 | |
| 142 | 5 | |
| 142 | 21 | |
| 141 | 4 | |
| 140 | 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 |
|---|---|---|---|---|---|
| 455 | ~3k–7k | 63 | ~30 | ~15 | |
| 475 | ~3k–7k | 52 | ~20 | ~20 | |
| 543 | ~3k–10k | 43 | ~30 | ~20 | |
| 525 | ~3k–10k | 42 | ~20 | ~20 | |
| 327 | ~2k–5k | 46 | ~70 | ~5 | |
| 305 | ~2k–5k | 49 | ~100 | ~3 | |
| 262 | ~1.5k–5k | 53 | ~50 | ~7 | |
| 293 | ~2k–5k | 45 | ~30 | ~10 | |
| 214 | ~1k–3k | 52 | ~10 | ~20 | |
| 225 | ~1.5k–5k | 45 | ~20 | ~10 | |
| 250 | ~1.5k–5k | 40 | ~50 | ~5 | |
| 336 | ~2k–5k | 23 | ~30 | ~15 | |
| 143 | ~1k–3k | 48 | ~30 | ~5 | |
| 164 | ~1k–3k | 41 | ~20 | ~7 | |
| 248 | ~1.5k–5k | 26 | ~30 | ~10 | |
| 176 | ~1k–3k | 35 | ~20 | ~7 | |
| 208 | ~1k–3k | 26 | ~20 | ~10 | |
| 252 | ~1.5k–5k | 20 | ~30 | ~10 | |
| 140 | ~700–2k | 36 | ~15 | ~10 | |
| 210 | ~1k–3k | 24 | ~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 |
|---|---|---|
| 142 | 21 | |
| 455 | 14 | |
| 298 | 14 | |
| 396 | 13 | |
| 237 | 13 | |
| 293 | 12 | |
| 471 | 12 | |
| 225 | 11 | |
| 336 | 11 | |
| 365 | 10 | |
| 191 | 10 | |
| 217 | 9 | |
| 129 | 9 | |
| 90 | 8 | |
| 154 | 8 | |
| 248 | 8 | |
| 129 | 8 | |
| 100 | 8 | |
| 148 | 8 | |
| 26 | 8 | |
| 129 | 8 | |
| 262 | 8 | |
| 61 | 8 | |
| 208 | 7 | |
| 125 | 7 | |
| 148 | 7 | |
| 152 | 7 | |
| 213 | 7 | |
| 229 | 7 | |
| 105 | 6 | |
| 85 | 6 | |
| 108 | 6 | |
| 336 | 6 | |
| 76 | 6 | |
| 168 | 6 | |
| 91 | 5 | |
| 148 | 5 | |
| 142 | 5 | |
| 91 | 5 | |
| 125 | 5 | |
| 176 | 5 | |
| 109 | 5 | |
| 44 | 5 | |
| 170 | 5 | |
| 36 | 5 | |
| 71 | 5 | |
| 50 | 5 | |
| 142 | 5 | |
| 49 | 5 | |
| 157 | 5 |
Files With Long Lines (Top 30)
There are 30 files with lines longer than 120 characters. In total, there are 49 long lines.
| File | # lines | # units | # long lines |
|---|---|---|---|
| 475 | - | 6 | |
| 543 | - | 4 | |
| 208 | 7 | 3 | |
| 293 | 12 | 3 | |
| 157 | 2 | 3 | |
| 396 | 13 | 2 | |
| 81 | 3 | 2 | |
| 336 | 11 | 2 | |
| 124 | 2 | 2 | |
| 229 | 7 | 2 | |
| 79 | 3 | 1 | |
| 91 | 5 | 1 | |
| 9 | - | 1 | |
| 13 | - | 1 | |
| 62 | 2 | 1 | |
| 12 | 1 | 1 | |
| 21 | 1 | 1 | |
| 79 | - | 1 | |
| 142 | 5 | 1 | |
| 157 | 5 | 1 | |
| 54 | - | 1 | |
| 74 | - | 1 | |
| 204 | 3 | 1 | |
| 471 | 12 | 1 | |
| 64 | 1 | 1 | |
| 101 | 1 | 1 | |
| 55 | - | 1 | |
| 36 | 2 | 1 | |
| 69 | 3 | 1 | |
| 55 | 1 | 1 |
Correlations
File Size vs. Commits (all time): 425 points
|
|
543.0 | lines of code min: 1.0average: 67.47 25th percentile: 20.0 median: 44.0 75th percentile: 81.0 max: 543.0 |
|
| 0 | 250.0 | ||
|
commits (all time) min: 2.0 | average: 21.39 | 25th percentile: 6.0 | median: 11.0 | 75th percentile: 23.0 | max: 250.0
|
|||
File Size vs. Contributors (all time): 425 points
|
|
543.0 | lines of code min: 1.0average: 67.47 25th percentile: 20.0 median: 44.0 75th percentile: 81.0 max: 543.0 |
|
| 0 | 35.0 | ||
|
contributors (all time) min: 1.0 | average: 7.18 | 25th percentile: 2.0 | median: 5.0 | 75th percentile: 10.0 | max: 35.0
|
|||
File Size vs. Commits (30 days): 86 points
|
|
543.0 | lines of code min: 2.0average: 118.34 25th percentile: 55.0 median: 90.5 75th percentile: 143.0 max: 543.0 |
|
| 0 | 8.0 | ||
|
commits (30d) min: 1.0 | average: 1.87 | 25th percentile: 1.0 | median: 1.0 | 75th percentile: 2.0 | max: 8.0
|
|||
File Size vs. Contributors (30 days): 86 points
|
|
543.0 | lines of code min: 2.0average: 118.34 25th percentile: 55.0 median: 90.5 75th percentile: 143.0 max: 543.0 |
|
| 0 | 2.0 | ||
|
contributors (30d) min: 1.0 | average: 1.15 | 25th percentile: 1.0 | median: 1.0 | 75th percentile: 1.0 | max: 2.0
|
|||
File Size vs. Commits (90 days): 133 points
|
|
543.0 | lines of code min: 2.0average: 99.23 25th percentile: 35.0 median: 69.0 75th percentile: 129.0 max: 543.0 |
|
| 0 | 35.0 | ||
|
commits (90d) min: 3.0 | average: 9.04 | 25th percentile: 6.0 | median: 7.0 | 75th percentile: 12.5 | max: 35.0
|
|||
File Size vs. Contributors (90 days): 133 points
|
|
543.0 | lines of code min: 2.0average: 99.23 25th percentile: 35.0 median: 69.0 75th percentile: 129.0 max: 543.0 |
|
| 0 | 6.0 | ||
|
contributors (90d) min: 1.0 | average: 2.31 | 25th percentile: 2.0 | median: 2.0 | 75th percentile: 3.0 | max: 6.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