File Size Overall
- There are 128 files with 24,535 lines of code.
- 2 very long files (2,518 lines of code)
- 7 long files (4,240 lines of code)
- 39 medium size files (11,686 lines of code)
- 22 small files (3,314 lines of code)
- 58 very small files (2,777 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 |
|---|---|---|
| 1359 | - | |
| 1159 | - | |
| 806 | 29 | |
| 632 | - | |
| 618 | 19 | |
| 614 | - | |
| 554 | - | |
| 515 | - | |
| 501 | 8 | |
| 438 | - | |
| 418 | - | |
| 404 | - | |
| 396 | 7 | |
| 391 | 7 | |
| 389 | 10 | |
| 389 | - | |
| 389 | - | |
| 382 | - | |
| 379 | - | |
| 360 | 11 | |
| 352 | 19 | |
| 344 | - | |
| 330 | 5 | |
| 326 | - | |
| 314 | 12 | |
| 312 | 5 | |
| 309 | - | |
| 301 | - | |
| 286 | - | |
| 281 | - | |
| 278 | - | |
| 265 | - | |
| 259 | - | |
| 255 | 7 | |
| 254 | - | |
| 248 | - | |
| 245 | - | |
| 241 | 8 | |
| 238 | - | |
| 233 | - | |
| 230 | - | |
| 221 | - | |
| 208 | 3 | |
| 207 | 8 | |
| 207 | - | |
| 205 | 3 | |
| 201 | 1 | |
| 201 | - | |
| 200 | 3 | |
| 200 | - |
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 |
|---|---|---|---|---|---|
| 1359 | ~7k–20k | 7 | ~300 | ~3 | |
| 806 | ~5k–15k | 9 | ~150 | ~5 | |
| 1159 | ~7k–20k | 4 | ~500 | ~3 | |
| 389 | ~2k–7k | 9 | ~150 | ~2 | |
| 391 | ~2k–7k | 8 | ~100 | ~3 | |
| 309 | ~2k–5k | 10 | ~50 | ~5 | |
| 379 | ~2k–7k | 8 | ~100 | ~3 | |
| 515 | ~3k–10k | 5 | ~200 | ~3 | |
| 418 | ~2k–7k | 6 | ~150 | ~3 | |
| 352 | ~2k–5k | 7 | ~50 | ~7 | |
| 396 | ~2k–7k | 6 | ~150 | ~3 | |
| 389 | ~2k–7k | 6 | ~70 | ~5 | |
| 382 | ~2k–7k | 6 | ~100 | ~3 | |
| 326 | ~2k–5k | 7 | ~70 | ~5 | |
| 554 | ~3k–10k | 4 | ~300 | ~2 | |
| 344 | ~2k–5k | 6 | ~70 | ~5 | |
| 501 | ~3k–10k | 4 | ~200 | ~2 | |
| 312 | ~2k–5k | 6 | ~70 | ~3 | |
| 241 | ~1.5k–5k | 7 | ~70 | ~3 | |
| 255 | ~1.5k–5k | 6 | ~70 | ~3 |
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 |
|---|---|---|
| 806 | 29 | |
| 89 | 20 | |
| 352 | 19 | |
| 618 | 19 | |
| 127 | 17 | |
| 136 | 15 | |
| 138 | 12 | |
| 314 | 12 | |
| 360 | 11 | |
| 389 | 10 | |
| 49 | 10 | |
| 97 | 10 | |
| 155 | 9 | |
| 241 | 8 | |
| 69 | 8 | |
| 207 | 8 | |
| 181 | 8 | |
| 501 | 8 | |
| 179 | 8 | |
| 87 | 7 | |
| 146 | 7 | |
| 189 | 7 | |
| 396 | 7 | |
| 391 | 7 | |
| 255 | 7 | |
| 166 | 6 | |
| 102 | 6 | |
| 330 | 5 | |
| 29 | 5 | |
| 312 | 5 | |
| 108 | 4 | |
| 183 | 4 | |
| 208 | 3 | |
| 19 | 3 | |
| 200 | 3 | |
| 205 | 3 | |
| 68 | 3 | |
| 73 | 3 | |
| 53 | 3 | |
| 32 | 3 | |
| 37 | 3 | |
| 48 | 2 | |
| 23 | 2 | |
| 73 | 2 | |
| 72 | 2 | |
| 20 | 2 | |
| 46 | 1 | |
| 144 | 1 | |
| 19 | 1 | |
| 27 | 1 |
Files With Long Lines (Top 50)
There are 79 files with lines longer than 120 characters. In total, there are 766 long lines.
| File | # lines | # units | # long lines |
|---|---|---|---|
| 1359 | - | 77 | |
| 1159 | - | 41 | |
| 632 | - | 35 | |
| 438 | - | 32 | |
| 344 | - | 31 | |
| 515 | - | 29 | |
| 309 | - | 27 | |
| 404 | - | 24 | |
| 389 | - | 23 | |
| 614 | - | 23 | |
| 379 | - | 23 | |
| 352 | 19 | 19 | |
| 501 | 8 | 19 | |
| 286 | - | 17 | |
| 554 | - | 15 | |
| 360 | 11 | 15 | |
| 389 | - | 14 | |
| 806 | 29 | 13 | |
| 200 | - | 13 | |
| 233 | - | 12 | |
| 146 | 7 | 11 | |
| 418 | - | 11 | |
| 230 | - | 11 | |
| 20 | 1 | 11 | |
| 301 | - | 10 | |
| 389 | 10 | 9 | |
| 108 | 4 | 9 | |
| 207 | 8 | 9 | |
| 181 | 8 | 9 | |
| 245 | - | 9 | |
| 281 | - | 9 | |
| 97 | 10 | 8 | |
| 127 | 17 | 7 | |
| 201 | 1 | 7 | |
| 205 | 3 | 6 | |
| 137 | - | 6 | |
| 278 | - | 6 | |
| 166 | 6 | 5 | |
| 189 | 7 | 5 | |
| 136 | 1 | 5 | |
| 312 | 5 | 5 | |
| 88 | - | 5 | |
| 157 | - | 5 | |
| 259 | - | 5 | |
| 207 | - | 5 | |
| 138 | 12 | 4 | |
| 396 | 7 | 4 | |
| 183 | 4 | 4 | |
| 80 | - | 4 | |
| 238 | - | 4 |
Correlations
File Size vs. Commits (all time): 128 points
|
|
1359.0 | lines of code min: 1.0average: 191.68 25th percentile: 46.5 median: 135.0 75th percentile: 263.5 max: 1359.0 |
|
| 0 | 18.0 | ||
|
commits (all time) min: 1.0 | average: 4.07 | 25th percentile: 1.0 | median: 3.0 | 75th percentile: 6.0 | max: 18.0
|
|||
File Size vs. Contributors (all time): 128 points
|
|
1359.0 | lines of code min: 1.0average: 191.68 25th percentile: 46.5 median: 135.0 75th percentile: 263.5 max: 1359.0 |
|
| 0 | 7.0 | ||
|
contributors (all time) min: 1.0 | average: 2.49 | 25th percentile: 1.0 | median: 2.0 | 75th percentile: 3.0 | max: 7.0
|
|||
File Size vs. Commits (30 days): 105 points
|
|
1359.0 | lines of code min: 1.0average: 207.48 25th percentile: 68.5 median: 139.0 75th percentile: 291.0 max: 1359.0 |
|
| 0 | 3.0 | ||
|
commits (30d) min: 1.0 | average: 1.52 | 25th percentile: 1.0 | median: 2.0 | 75th percentile: 2.0 | max: 3.0
|
|||
File Size vs. Contributors (30 days): 105 points
|
|
1359.0 | lines of code min: 1.0average: 207.48 25th percentile: 68.5 median: 139.0 75th percentile: 291.0 max: 1359.0 |
|
| 0 | 2.0 | ||
|
contributors (30d) min: 1.0 | average: 1.5 | 25th percentile: 1.0 | median: 2.0 | 75th percentile: 2.0 | max: 2.0
|
|||
File Size vs. Commits (90 days): 105 points
|
|
1359.0 | lines of code min: 1.0average: 207.48 25th percentile: 68.5 median: 139.0 75th percentile: 291.0 max: 1359.0 |
|
| 0 | 4.0 | ||
|
commits (90d) min: 1.0 | average: 1.73 | 25th percentile: 1.0 | median: 2.0 | 75th percentile: 2.0 | max: 4.0
|
|||
File Size vs. Contributors (90 days): 105 points
|
|
1359.0 | lines of code min: 1.0average: 207.48 25th percentile: 68.5 median: 139.0 75th percentile: 291.0 max: 1359.0 |
|
| 0 | 3.0 | ||
|
contributors (90d) min: 1.0 | average: 1.71 | 25th percentile: 1.0 | median: 2.0 | 75th percentile: 2.0 | 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