File Size Overall
- There are 394 files with 25,649 lines of code.
- 0 very long files (0 lines of code)
- 0 long files (0 lines of code)
- 19 medium size files (5,474 lines of code)
- 56 small files (7,621 lines of code)
- 319 very small files (12,554 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 |
|---|---|---|
| 408 | - | |
| 402 | 6 | |
| 361 | 5 | |
| 330 | 9 | |
| 319 | 51 | |
| 314 | 10 | |
| 303 | 9 | |
| 303 | - | |
| 289 | 1 | |
| 277 | 2 | |
| 273 | - | |
| 267 | 2 | |
| 265 | 6 | |
| 261 | - | |
| 248 | - | |
| 222 | 8 | |
| 220 | 8 | |
| 206 | 9 | |
| 206 | - | |
| 199 | 2 | |
| 197 | - | |
| 195 | 10 | |
| 192 | 1 | |
| 191 | 6 | |
| 184 | 8 | |
| 182 | - | |
| 174 | 1 | |
| 171 | - | |
| 171 | - | |
| 164 | 14 | |
| 162 | - | |
| 161 | - | |
| 150 | 1 | |
| 148 | - | |
| 143 | 5 | |
| 143 | 2 | |
| 143 | 2 | |
| 136 | - | |
| 136 | 5 | |
| 135 | 1 | |
| 134 | 1 | |
| 133 | - | |
| 132 | - | |
| 130 | 8 | |
| 129 | - | |
| 129 | 8 | |
| 129 | - | |
| 128 | 5 | |
| 128 | - | |
| 127 | 9 |
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 |
|---|---|---|---|---|---|
| 402 | ~2k–7k | 20 | ~30 | ~10 | |
| 303 | ~2k–5k | 12 | ~30 | ~7 | |
| 289 | ~2k–5k | 12 | ~50 | ~7 | |
| 248 | ~1.5k–5k | 11 | ~30 | ~7 | |
| 261 | ~1.5k–5k | 7 | ~50 | ~5 | |
| 164 | ~1k–3k | 9 | ~15 | ~10 | |
| 361 | ~2k–7k | 4 | ~30 | ~10 | |
| 77 | ~500–1.5k | 18 | ~15 | ~5 | |
| 330 | ~2k–5k | 4 | ~100 | ~3 | |
| 162 | ~1k–3k | 8 | ~10 | ~15 | |
| 303 | ~2k–5k | 4 | ~70 | ~5 | |
| 94 | ~500–1.5k | 12 | ~15 | ~5 | |
| 273 | ~1.5k–5k | 4 | ~30 | ~7 | |
| 265 | ~1.5k–5k | 4 | ~20 | ~10 | |
| 199 | ~1k–3k | 5 | ~30 | ~7 | |
| 110 | ~700–2k | 8 | ~20 | ~7 | |
| 277 | ~1.5k–5k | 3 | ~30 | ~7 | |
| 83 | ~500–1.5k | 10 | ~15 | ~7 | |
| 206 | ~1k–3k | 4 | ~30 | ~5 | |
| 136 | ~700–2k | 6 | ~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 |
|---|---|---|
| 319 | 51 | |
| 164 | 14 | |
| 122 | 11 | |
| 195 | 10 | |
| 314 | 10 | |
| 303 | 9 | |
| 206 | 9 | |
| 127 | 9 | |
| 330 | 9 | |
| 130 | 8 | |
| 222 | 8 | |
| 129 | 8 | |
| 220 | 8 | |
| 184 | 8 | |
| 83 | 7 | |
| 90 | 7 | |
| 265 | 6 | |
| 402 | 6 | |
| 191 | 6 | |
| 361 | 5 | |
| 136 | 5 | |
| 143 | 5 | |
| 128 | 5 | |
| 111 | 5 | |
| 62 | 5 | |
| 57 | 4 | |
| 70 | 4 | |
| 50 | 4 | |
| 90 | 3 | |
| 60 | 3 | |
| 121 | 3 | |
| 85 | 3 | |
| 35 | 3 | |
| 54 | 3 | |
| 84 | 2 | |
| 28 | 2 | |
| 71 | 2 | |
| 85 | 2 | |
| 81 | 2 | |
| 78 | 2 | |
| 30 | 2 | |
| 277 | 2 | |
| 143 | 2 | |
| 143 | 2 | |
| 73 | 2 | |
| 199 | 2 | |
| 74 | 2 | |
| 37 | 2 | |
| 51 | 2 | |
| 54 | 2 |
Files With Long Lines (Top 42)
There are 42 files with lines longer than 120 characters. In total, there are 93 long lines.
| File | # lines | # units | # long lines |
|---|---|---|---|
| 408 | - | 8 | |
| 61 | 1 | 7 | |
| 69 | - | 5 | |
| 87 | 1 | 4 | |
| 101 | 1 | 4 | |
| 53 | 1 | 4 | |
| 22 | - | 4 | |
| 122 | 11 | 3 | |
| 47 | 1 | 3 | |
| 85 | 2 | 3 | |
| 46 | 1 | 3 | |
| 46 | 1 | 3 | |
| 78 | 2 | 3 | |
| 30 | - | 3 | |
| 33 | 1 | 3 | |
| 49 | 1 | 3 | |
| 79 | 1 | 3 | |
| 164 | 14 | 2 | |
| 63 | 1 | 2 | |
| 361 | 5 | 1 | |
| 48 | 1 | 1 | |
| 84 | 2 | 1 | |
| 206 | 9 | 1 | |
| 57 | - | 1 | |
| 44 | 1 | 1 | |
| 43 | 1 | 1 | |
| 46 | 1 | 1 | |
| 51 | 1 | 1 | |
| 46 | 1 | 1 | |
| 35 | 1 | 1 | |
| 34 | 1 | 1 | |
| 81 | 2 | 1 | |
| 38 | - | 1 | |
| 49 | 1 | 1 | |
| 265 | 6 | 1 | |
| 143 | 2 | 1 | |
| 69 | - | 1 | |
| 70 | - | 1 | |
| 74 | 2 | 1 | |
| 191 | 6 | 1 | |
| 330 | 9 | 1 | |
| 314 | 10 | 1 |
Correlations
File Size vs. Commits (all time): 394 points
|
|
408.0 | lines of code min: 1.0average: 65.1 25th percentile: 24.0 median: 44.0 75th percentile: 83.0 max: 408.0 |
|
| 0 | 36.0 | ||
|
commits (all time) min: 1.0 | average: 5.88 | 25th percentile: 2.0 | median: 4.0 | 75th percentile: 8.0 | max: 36.0
|
|||
File Size vs. Contributors (all time): 394 points
|
|
408.0 | lines of code min: 1.0average: 65.1 25th percentile: 24.0 median: 44.0 75th percentile: 83.0 max: 408.0 |
|
| 0 | 11.0 | ||
|
contributors (all time) min: 1.0 | average: 2.72 | 25th percentile: 1.0 | median: 3.0 | 75th percentile: 4.0 | max: 11.0
|
|||
File Size vs. Commits (30 days): 82 points
|
|
361.0 | lines of code min: 2.0average: 92.94 25th percentile: 36.75 median: 60.0 75th percentile: 123.0 max: 361.0 |
|
| 0 | 11.0 | ||
|
commits (30d) min: 1.0 | average: 1.84 | 25th percentile: 1.0 | median: 1.0 | 75th percentile: 2.0 | max: 11.0
|
|||
File Size vs. Contributors (30 days): 82 points
|
|
361.0 | lines of code min: 2.0average: 92.94 25th percentile: 36.75 median: 60.0 75th percentile: 123.0 max: 361.0 |
|
| 0 | 2.0 | ||
|
contributors (30d) min: 1.0 | average: 1.11 | 25th percentile: 1.0 | median: 1.0 | 75th percentile: 1.0 | max: 2.0
|
|||
File Size vs. Commits (90 days): 172 points
|
|
408.0 | lines of code min: 2.0average: 93.5 25th percentile: 36.0 median: 60.0 75th percentile: 127.75 max: 408.0 |
|
| 0 | 11.0 | ||
|
commits (90d) min: 1.0 | average: 1.63 | 25th percentile: 1.0 | median: 1.0 | 75th percentile: 2.0 | max: 11.0
|
|||
File Size vs. Contributors (90 days): 172 points
|
|
408.0 | lines of code min: 2.0average: 93.5 25th percentile: 36.0 median: 60.0 75th percentile: 127.75 max: 408.0 |
|
| 0 | 2.0 | ||
|
contributors (90d) min: 1.0 | average: 1.13 | 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