File Size Overall
- There are 200 files with 44,140 lines of code.
- 2 very long files (2,274 lines of code)
- 12 long files (7,803 lines of code)
- 76 medium size files (24,590 lines of code)
- 43 small files (6,046 lines of code)
- 67 very small files (3,427 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 |
|---|---|---|
| 1181 | 33 | |
| 1093 | 2 | |
| 943 | 8 | |
| 782 | 51 | |
| 705 | 7 | |
| 698 | 5 | |
| 696 | 6 | |
| 670 | 48 | |
| 654 | 8 | |
| 556 | 21 | |
| 547 | 15 | |
| 528 | 5 | |
| 519 | 6 | |
| 505 | 5 | |
| 496 | 5 | |
| 481 | 5 | |
| 477 | 6 | |
| 470 | 6 | |
| 464 | 6 | |
| 460 | 6 | |
| 457 | 6 | |
| 454 | 5 | |
| 447 | 5 | |
| 445 | 6 | |
| 436 | 5 | |
| 434 | 6 | |
| 426 | 5 | |
| 417 | 5 | |
| 414 | 5 | |
| 407 | 17 | |
| 405 | 5 | |
| 396 | 15 | |
| 396 | 5 | |
| 396 | 5 | |
| 396 | 5 | |
| 391 | 5 | |
| 389 | 5 | |
| 382 | 5 | |
| 369 | 5 | |
| 366 | 5 | |
| 354 | 4 | |
| 353 | 3 | |
| 352 | 5 | |
| 349 | 4 | |
| 342 | 27 | |
| 341 | 19 | |
| 332 | 5 | |
| 331 | 4 | |
| 325 | 16 | |
| 319 | 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 |
|---|---|---|---|---|---|
| 1093 | ~7k–20k | 28 | ~50 | ~20 | |
| 696 | ~3k–10k | 26 | ~30 | ~20 | |
| 698 | ~3k–10k | 23 | ~30 | ~20 | |
| 705 | ~3k–10k | 21 | ~50 | ~15 | |
| 556 | ~3k–10k | 22 | ~50 | ~10 | |
| 505 | ~3k–10k | 24 | ~70 | ~7 | |
| 943 | ~5k–15k | 12 | ~100 | ~10 | |
| 519 | ~3k–10k | 21 | ~30 | ~15 | |
| 496 | ~3k–7k | 19 | ~30 | ~15 | |
| 782 | ~5k–15k | 12 | ~100 | ~10 | |
| 426 | ~2k–7k | 22 | ~30 | ~15 | |
| 382 | ~2k–7k | 24 | ~20 | ~15 | |
| 464 | ~3k–7k | 18 | ~30 | ~15 | |
| 447 | ~3k–7k | 18 | ~30 | ~15 | |
| 434 | ~3k–7k | 18 | ~30 | ~15 | |
| 547 | ~3k–10k | 14 | ~50 | ~10 | |
| 353 | ~2k–5k | 21 | ~20 | ~15 | |
| 457 | ~3k–7k | 16 | ~30 | ~10 | |
| 1181 | ~7k–20k | 6 | ~300 | ~5 | |
| 436 | ~3k–7k | 16 | ~30 | ~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 |
|---|---|---|
| 782 | 51 | |
| 670 | 48 | |
| 1181 | 33 | |
| 342 | 27 | |
| 220 | 22 | |
| 556 | 21 | |
| 274 | 20 | |
| 341 | 19 | |
| 269 | 18 | |
| 189 | 17 | |
| 302 | 17 | |
| 231 | 17 | |
| 407 | 17 | |
| 225 | 16 | |
| 237 | 16 | |
| 325 | 16 | |
| 223 | 16 | |
| 196 | 15 | |
| 279 | 15 | |
| 396 | 15 | |
| 547 | 15 | |
| 277 | 14 | |
| 229 | 14 | |
| 221 | 14 | |
| 231 | 13 | |
| 204 | 12 | |
| 108 | 12 | |
| 291 | 11 | |
| 283 | 11 | |
| 78 | 10 | |
| 198 | 10 | |
| 214 | 10 | |
| 135 | 10 | |
| 229 | 10 | |
| 55 | 9 | |
| 195 | 9 | |
| 107 | 9 | |
| 212 | 9 | |
| 201 | 9 | |
| 195 | 9 | |
| 80 | 8 | |
| 74 | 8 | |
| 81 | 8 | |
| 943 | 8 | |
| 654 | 8 | |
| 97 | 7 | |
| 156 | 7 | |
| 114 | 7 | |
| 705 | 7 | |
| 105 | 6 |
Files With Long Lines (Top 50)
There are 126 files with lines longer than 120 characters. In total, there are 857 long lines.
| File | # lines | # units | # long lines |
|---|---|---|---|
| 943 | 8 | 29 | |
| 528 | 5 | 28 | |
| 505 | 5 | 27 | |
| 481 | 5 | 26 | |
| 698 | 5 | 23 | |
| 696 | 6 | 21 | |
| 477 | 6 | 20 | |
| 496 | 5 | 20 | |
| 1181 | 33 | 17 | |
| 654 | 8 | 16 | |
| 447 | 5 | 16 | |
| 353 | 3 | 14 | |
| 177 | 1 | 14 | |
| 177 | 1 | 14 | |
| 159 | 1 | 13 | |
| 417 | 5 | 13 | |
| 434 | 6 | 13 | |
| 159 | 1 | 13 | |
| 454 | 5 | 13 | |
| 464 | 6 | 13 | |
| 366 | 5 | 12 | |
| 519 | 6 | 12 | |
| 445 | 6 | 12 | |
| 405 | 5 | 11 | |
| 229 | 10 | 11 | |
| 139 | 1 | 10 | |
| 705 | 7 | 10 | |
| 426 | 5 | 10 | |
| 382 | 5 | 10 | |
| 352 | 5 | 9 | |
| 354 | 4 | 9 | |
| 391 | 5 | 9 | |
| 396 | 5 | 9 | |
| 78 | 10 | 8 | |
| 470 | 6 | 8 | |
| 290 | 4 | 8 | |
| 457 | 6 | 8 | |
| 319 | 3 | 8 | |
| 349 | 4 | 8 | |
| 273 | 3 | 8 | |
| 310 | 4 | 8 | |
| 277 | 14 | 7 | |
| 369 | 5 | 7 | |
| 122 | 1 | 7 | |
| 122 | 1 | 7 | |
| 332 | 5 | 7 | |
| 122 | 1 | 7 | |
| 414 | 5 | 7 | |
| 389 | 5 | 7 | |
| 280 | 4 | 7 |
Correlations
File Size vs. Commits (all time): 200 points
|
|
1181.0 | lines of code min: 1.0average: 220.7 25th percentile: 78.0 median: 177.0 75th percentile: 317.0 max: 1181.0 |
|
| 0 | 139.0 | ||
|
commits (all time) min: 1.0 | average: 5.86 | 25th percentile: 2.0 | median: 2.0 | 75th percentile: 4.0 | max: 139.0
|
|||
File Size vs. Contributors (all time): 200 points
|
|
1181.0 | lines of code min: 1.0average: 220.7 25th percentile: 78.0 median: 177.0 75th percentile: 317.0 max: 1181.0 |
|
| 0 | 8.0 | ||
|
contributors (all time) min: 1.0 | average: 2.81 | 25th percentile: 2.0 | median: 2.0 | 75th percentile: 3.0 | max: 8.0
|
|||
File Size vs. Commits (30 days): 128 points
|
|
1093.0 | lines of code min: 1.0average: 261.62 25th percentile: 113.0 median: 236.0 75th percentile: 387.25 max: 1093.0 |
|
| 0 | 22.0 | ||
|
commits (30d) min: 1.0 | average: 2.77 | 25th percentile: 2.0 | median: 2.0 | 75th percentile: 3.0 | max: 22.0
|
|||
File Size vs. Contributors (30 days): 128 points
|
|
1093.0 | lines of code min: 1.0average: 261.62 25th percentile: 113.0 median: 236.0 75th percentile: 387.25 max: 1093.0 |
|
| 0 | 8.0 | ||
|
contributors (30d) min: 1.0 | average: 2.34 | 25th percentile: 2.0 | median: 2.0 | 75th percentile: 3.0 | max: 8.0
|
|||
File Size vs. Commits (90 days): 184 points
|
|
1181.0 | lines of code min: 1.0average: 227.54 25th percentile: 79.25 median: 183.0 75th percentile: 331.75 max: 1181.0 |
|
| 0 | 63.0 | ||
|
commits (90d) min: 1.0 | average: 4.11 | 25th percentile: 2.0 | median: 2.0 | 75th percentile: 4.0 | max: 63.0
|
|||
File Size vs. Contributors (90 days): 184 points
|
|
1181.0 | lines of code min: 1.0average: 227.54 25th percentile: 79.25 median: 183.0 75th percentile: 331.75 max: 1181.0 |
|
| 0 | 8.0 | ||
|
contributors (90d) min: 1.0 | average: 2.87 | 25th percentile: 2.0 | median: 2.0 | 75th percentile: 4.0 | max: 8.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