File Size Overall
- There are 233 files with 21,066 lines of code.
- 2 very long files (3,186 lines of code)
- 0 long files (0 lines of code)
- 26 medium size files (8,042 lines of code)
- 26 small files (3,683 lines of code)
- 179 very small files (6,155 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 |
|---|---|---|
| 2127 | 179 | |
| 1059 | 34 | |
| 460 | 13 | |
| 455 | 17 | |
| 438 | 13 | |
| 410 | 2 | |
| 397 | 9 | |
| 392 | 13 | |
| 349 | 16 | |
| 340 | 4 | |
| 330 | 10 | |
| 326 | 21 | |
| 326 | 13 | |
| 323 | 23 | |
| 310 | - | |
| 288 | 2 | |
| 282 | 4 | |
| 274 | 17 | |
| 258 | 18 | |
| 258 | 22 | |
| 258 | 18 | |
| 249 | 3 | |
| 243 | 1 | |
| 222 | 11 | |
| 218 | 10 | |
| 216 | 9 | |
| 216 | 5 | |
| 204 | 10 | |
| 192 | - | |
| 185 | 9 | |
| 180 | 7 | |
| 177 | 9 | |
| 176 | 7 | |
| 171 | 3 | |
| 167 | - | |
| 166 | 2 | |
| 154 | 3 | |
| 148 | 5 | |
| 148 | 4 | |
| 142 | 4 | |
| 141 | - | |
| 138 | 2 | |
| 135 | 2 | |
| 127 | - | |
| 125 | - | |
| 122 | 4 | |
| 119 | - | |
| 115 | - | |
| 113 | 9 | |
| 113 | 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 |
|---|---|---|---|---|---|
| 81 | ~500–1.5k | 245 | ~3 | ~20 | |
| 1059 | ~7k–15k | 3 | ~50 | ~20 | |
| 410 | ~2k–7k | 6 | ~15 | ~30 | |
| 288 | ~2k–5k | 7 | ~15 | ~15 | |
| 460 | ~3k–7k | 3 | ~20 | ~20 | |
| 455 | ~3k–7k | 3 | ~30 | ~20 | |
| 177 | ~1k–3k | 6 | ~20 | ~7 | |
| 180 | ~1k–3k | 5 | ~100 | ~2 | |
| 204 | ~1k–3k | 4 | ~20 | ~10 | |
| 326 | ~2k–5k | 2 | ~50 | ~5 | |
| 142 | ~700–2k | 4 | ~30 | ~5 | |
| 274 | ~1.5k–5k | 2 | ~20 | ~15 | |
| 258 | ~1.5k–5k | 2 | ~100 | ~3 | |
| 154 | ~1k–3k | 3 | ~30 | ~5 | |
| 438 | ~3k–7k | 1 | ~30 | ~10 | |
| 216 | ~1.5k–5k | 2 | ~30 | ~7 | |
| 397 | ~2k–7k | 1 | ~30 | ~10 | |
| 392 | ~2k–7k | 1 | ~20 | ~20 | |
| 185 | ~1k–3k | 2 | ~30 | ~5 | |
| 349 | ~2k–5k | 1 | ~20 | ~15 |
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 |
|---|---|---|
| 2127 | 179 | |
| 1059 | 34 | |
| 323 | 23 | |
| 258 | 22 | |
| 326 | 21 | |
| 258 | 18 | |
| 258 | 18 | |
| 274 | 17 | |
| 455 | 17 | |
| 349 | 16 | |
| 460 | 13 | |
| 326 | 13 | |
| 438 | 13 | |
| 392 | 13 | |
| 222 | 11 | |
| 204 | 10 | |
| 218 | 10 | |
| 330 | 10 | |
| 216 | 9 | |
| 177 | 9 | |
| 113 | 9 | |
| 397 | 9 | |
| 185 | 9 | |
| 110 | 9 | |
| 94 | 7 | |
| 176 | 7 | |
| 180 | 7 | |
| 91 | 6 | |
| 92 | 6 | |
| 80 | 5 | |
| 91 | 5 | |
| 148 | 5 | |
| 216 | 5 | |
| 94 | 5 | |
| 122 | 4 | |
| 99 | 4 | |
| 52 | 4 | |
| 40 | 4 | |
| 69 | 4 | |
| 58 | 4 | |
| 52 | 4 | |
| 142 | 4 | |
| 340 | 4 | |
| 101 | 4 | |
| 48 | 4 | |
| 148 | 4 | |
| 282 | 4 | |
| 81 | 4 | |
| 38 | 4 | |
| 24 | 3 |
Files With Long Lines (Top 50)
There are 75 files with lines longer than 120 characters. In total, there are 221 long lines.
| File | # lines | # units | # long lines |
|---|---|---|---|
| 112 | - | 14 | |
| 55 | - | 13 | |
| 127 | - | 11 | |
| 1059 | 34 | 11 | |
| 141 | - | 10 | |
| 49 | - | 8 | |
| 62 | - | 7 | |
| 59 | - | 7 | |
| 15 | - | 6 | |
| 50 | - | 6 | |
| 68 | - | 6 | |
| 50 | - | 6 | |
| 323 | 23 | 5 | |
| 38 | - | 4 | |
| 25 | - | 4 | |
| 23 | - | 4 | |
| 17 | - | 4 | |
| 32 | - | 4 | |
| 171 | 3 | 3 | |
| 25 | - | 3 | |
| 47 | - | 3 | |
| 11 | - | 3 | |
| 45 | - | 3 | |
| 125 | - | 3 | |
| 2127 | 179 | 3 | |
| 216 | 5 | 3 | |
| 222 | 11 | 2 | |
| 349 | 16 | 2 | |
| 340 | 4 | 2 | |
| 16 | - | 2 | |
| 33 | - | 2 | |
| 38 | - | 2 | |
| 62 | - | 2 | |
| 21 | - | 2 | |
| 53 | - | 2 | |
| 41 | - | 2 | |
| 19 | - | 2 | |
| 167 | - | 2 | |
| 397 | 9 | 2 | |
| 326 | 13 | 2 | |
| 78 | 1 | 2 | |
| 81 | 4 | 2 | |
| 243 | 1 | 2 | |
| 79 | - | 2 | |
| 80 | 5 | 1 | |
| 99 | 4 | 1 | |
| 52 | 4 | 1 | |
| 410 | 2 | 1 | |
| 91 | 6 | 1 | |
| 460 | 13 | 1 |
Correlations
File Size vs. Commits (all time): 233 points
|
|
2127.0 | lines of code min: 2.0average: 90.41 25th percentile: 17.0 median: 38.0 75th percentile: 96.0 max: 2127.0 |
|
| 0 | 1167.0 | ||
|
commits (all time) min: 1.0 | average: 35.54 | 25th percentile: 7.0 | median: 16.0 | 75th percentile: 32.5 | max: 1167.0
|
|||
File Size vs. Contributors (all time): 233 points
|
|
2127.0 | lines of code min: 2.0average: 90.41 25th percentile: 17.0 median: 38.0 75th percentile: 96.0 max: 2127.0 |
|
| 0 | 36.0 | ||
|
contributors (all time) min: 1.0 | average: 7.31 | 25th percentile: 3.0 | median: 6.0 | 75th percentile: 9.0 | max: 36.0
|
|||
File Size vs. Commits (30 days): 1 points
|
|
81.0 | lines of code min: 81.0average: 81.0 25th percentile: 81.0 median: 81.0 75th percentile: 81.0 max: 81.0 |
|
| 0 | 11.0 | ||
|
commits (30d) min: 11.0 | average: 11.0 | 25th percentile: 11.0 | median: 11.0 | 75th percentile: 11.0 | max: 11.0
|
|||
File Size vs. Contributors (30 days): 1 points
|
|
81.0 | lines of code min: 81.0average: 81.0 25th percentile: 81.0 median: 81.0 75th percentile: 81.0 max: 81.0 |
|
| 0 | 2.0 | ||
|
contributors (30d) min: 2.0 | average: 2.0 | 25th percentile: 2.0 | median: 2.0 | 75th percentile: 2.0 | max: 2.0
|
|||
File Size vs. Commits (90 days): 4 points
|
|
180.0 | lines of code min: 31.0average: 87.5 25th percentile: 37.75 median: 69.5 75th percentile: 155.25 max: 180.0 |
|
| 0 | 56.0 | ||
|
commits (90d) min: 2.0 | average: 15.75 | 25th percentile: 2.0 | median: 2.5 | 75th percentile: 42.75 | max: 56.0
|
|||
File Size vs. Contributors (90 days): 4 points
|
|
180.0 | lines of code min: 31.0average: 87.5 25th percentile: 37.75 median: 69.5 75th percentile: 155.25 max: 180.0 |
|
| 0 | 3.0 | ||
|
contributors (90d) min: 1.0 | average: 1.5 | 25th percentile: 1.0 | median: 1.0 | 75th percentile: 2.5 | 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