File Size Overall
- There are 701 files with 60,590 lines of code.
- 2 very long files (2,092 lines of code)
- 6 long files (3,596 lines of code)
- 65 medium size files (18,912 lines of code)
- 113 small files (15,610 lines of code)
- 515 very small files (20,380 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 |
|---|---|---|
| 1068 | 31 | |
| 1024 | 28 | |
| 799 | 38 | |
| 667 | 92 | |
| 577 | 29 | |
| 544 | 41 | |
| 505 | 28 | |
| 504 | 41 | |
| 488 | 70 | |
| 445 | 33 | |
| 438 | 42 | |
| 420 | 20 | |
| 404 | 41 | |
| 392 | 19 | |
| 390 | 33 | |
| 387 | 13 | |
| 376 | 18 | |
| 368 | 22 | |
| 361 | 13 | |
| 351 | 29 | |
| 351 | 17 | |
| 348 | 22 | |
| 347 | 31 | |
| 343 | 42 | |
| 342 | 19 | |
| 340 | 25 | |
| 338 | 18 | |
| 335 | 22 | |
| 331 | 23 | |
| 321 | 32 | |
| 312 | 13 | |
| 311 | 15 | |
| 304 | 31 | |
| 301 | 27 | |
| 297 | 27 | |
| 296 | 23 | |
| 288 | 19 | |
| 279 | 45 | |
| 278 | 27 | |
| 277 | 17 | |
| 276 | 27 | |
| 272 | 23 | |
| 271 | 13 | |
| 270 | 30 | |
| 266 | 20 | |
| 262 | 15 | |
| 260 | 5 | |
| 255 | 19 | |
| 254 | 27 | |
| 249 | 25 |
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 |
|---|---|---|---|---|---|
| 1024 | ~7k–15k | 18 | ~200 | ~5 | |
| 577 | ~3k–10k | 16 | ~100 | ~5 | |
| 799 | ~5k–15k | 11 | ~30 | ~20 | |
| 445 | ~3k–7k | 11 | ~70 | ~7 | |
| 544 | ~3k–10k | 8 | ~20 | ~30 | |
| 1068 | ~7k–15k | 3 | ~50 | ~30 | |
| 390 | ~2k–7k | 7 | ~50 | ~7 | |
| 504 | ~3k–10k | 5 | ~150 | ~3 | |
| 488 | ~3k–7k | 5 | ~50 | ~10 | |
| 347 | ~2k–5k | 7 | ~50 | ~7 | |
| 667 | ~3k–10k | 3 | ~50 | ~15 | |
| 301 | ~2k–5k | 6 | ~50 | ~7 | |
| 249 | ~1.5k–5k | 7 | ~30 | ~7 | |
| 210 | ~1k–3k | 8 | ~70 | ~3 | |
| 288 | ~2k–5k | 5 | ~50 | ~5 | |
| 438 | ~3k–7k | 3 | ~30 | ~15 | |
| 151 | ~1k–3k | 8 | ~10 | ~15 | |
| 343 | ~2k–5k | 3 | ~15 | ~30 | |
| 312 | ~2k–5k | 3 | ~70 | ~5 | |
| 404 | ~2k–7k | 2 | ~30 | ~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 |
|---|---|---|
| 667 | 92 | |
| 488 | 70 | |
| 279 | 45 | |
| 438 | 42 | |
| 343 | 42 | |
| 404 | 41 | |
| 504 | 41 | |
| 544 | 41 | |
| 233 | 41 | |
| 799 | 38 | |
| 390 | 33 | |
| 445 | 33 | |
| 321 | 32 | |
| 1068 | 31 | |
| 304 | 31 | |
| 347 | 31 | |
| 194 | 30 | |
| 270 | 30 | |
| 577 | 29 | |
| 351 | 29 | |
| 148 | 29 | |
| 1024 | 28 | |
| 505 | 28 | |
| 297 | 27 | |
| 278 | 27 | |
| 276 | 27 | |
| 254 | 27 | |
| 301 | 27 | |
| 112 | 25 | |
| 249 | 25 | |
| 340 | 25 | |
| 218 | 24 | |
| 331 | 23 | |
| 140 | 23 | |
| 272 | 23 | |
| 176 | 23 | |
| 210 | 23 | |
| 248 | 23 | |
| 205 | 23 | |
| 296 | 23 | |
| 204 | 23 | |
| 245 | 22 | |
| 348 | 22 | |
| 165 | 22 | |
| 335 | 22 | |
| 120 | 22 | |
| 368 | 22 | |
| 205 | 21 | |
| 165 | 21 | |
| 145 | 21 |
Files With Long Lines (Top 50)
There are 314 files with lines longer than 120 characters. In total, there are 1779 long lines.
| File | # lines | # units | # long lines |
|---|---|---|---|
| 342 | 19 | 37 | |
| 331 | 23 | 36 | |
| 262 | 15 | 34 | |
| 277 | 17 | 33 | |
| 224 | 3 | 30 | |
| 505 | 28 | 28 | |
| 1024 | 28 | 27 | |
| 361 | 13 | 26 | |
| 392 | 19 | 26 | |
| 387 | 13 | 24 | |
| 438 | 42 | 23 | |
| 176 | 4 | 23 | |
| 183 | 13 | 22 | |
| 577 | 29 | 21 | |
| 335 | 22 | 21 | |
| 445 | 33 | 21 | |
| 210 | 19 | 21 | |
| 247 | 12 | 21 | |
| 420 | 20 | 21 | |
| 544 | 41 | 20 | |
| 271 | 13 | 19 | |
| 1068 | 31 | 19 | |
| 174 | 9 | 19 | |
| 504 | 41 | 19 | |
| 213 | 4 | 19 | |
| 212 | 3 | 19 | |
| 133 | 6 | 18 | |
| 124 | 6 | 17 | |
| 799 | 38 | 15 | |
| 165 | 15 | 15 | |
| 110 | 14 | 14 | |
| 311 | 15 | 14 | |
| 244 | 14 | 14 | |
| 132 | 4 | 14 | |
| 376 | 18 | 13 | |
| 114 | 6 | 13 | |
| 278 | 27 | 13 | |
| 321 | 32 | 13 | |
| 245 | 22 | 12 | |
| 151 | 6 | 12 | |
| 312 | 13 | 12 | |
| 148 | 7 | 12 | |
| 390 | 33 | 12 | |
| 488 | 70 | 12 | |
| 153 | 17 | 11 | |
| 249 | 25 | 11 | |
| 347 | 31 | 11 | |
| 667 | 92 | 11 | |
| 194 | 6 | 11 | |
| 153 | 17 | 11 |
Correlations
File Size vs. Commits (all time): 698 points
|
|
1068.0 | lines of code min: 3.0average: 86.62 25th percentile: 21.75 median: 51.0 75th percentile: 106.0 max: 1068.0 |
|
| 0 | 165.0 | ||
|
commits (all time) min: 1.0 | average: 7.37 | 25th percentile: 2.0 | median: 4.0 | 75th percentile: 8.0 | max: 165.0
|
|||
File Size vs. Contributors (all time): 698 points
|
|
1068.0 | lines of code min: 3.0average: 86.62 25th percentile: 21.75 median: 51.0 75th percentile: 106.0 max: 1068.0 |
|
| 0 | 27.0 | ||
|
contributors (all time) min: 1.0 | average: 3.98 | 25th percentile: 2.0 | median: 3.0 | 75th percentile: 5.0 | max: 27.0
|
|||
File Size vs. Commits (30 days): 46 points
|
|
667.0 | lines of code min: 5.0average: 150.41 25th percentile: 63.0 median: 99.5 75th percentile: 210.0 max: 667.0 |
|
| 0 | 10.0 | ||
|
commits (30d) min: 1.0 | average: 2.93 | 25th percentile: 2.0 | median: 2.0 | 75th percentile: 3.0 | max: 10.0
|
|||
File Size vs. Contributors (30 days): 46 points
|
|
667.0 | lines of code min: 5.0average: 150.41 25th percentile: 63.0 median: 99.5 75th percentile: 210.0 max: 667.0 |
|
| 0 | 2.0 | ||
|
contributors (30d) min: 1.0 | average: 1.91 | 25th percentile: 2.0 | median: 2.0 | 75th percentile: 2.0 | max: 2.0
|
|||
File Size vs. Commits (90 days): 59 points
|
|
799.0 | lines of code min: 5.0average: 185.95 25th percentile: 66.0 median: 114.0 75th percentile: 288.0 max: 799.0 |
|
| 0 | 10.0 | ||
|
commits (90d) min: 1.0 | average: 2.53 | 25th percentile: 1.0 | median: 2.0 | 75th percentile: 3.0 | max: 10.0
|
|||
File Size vs. Contributors (90 days): 59 points
|
|
799.0 | lines of code min: 5.0average: 185.95 25th percentile: 66.0 median: 114.0 75th percentile: 288.0 max: 799.0 |
|
| 0 | 2.0 | ||
|
contributors (90d) min: 1.0 | average: 1.71 | 25th percentile: 1.0 | median: 2.0 | 75th percentile: 2.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