File Size Overall
- There are 191 files with 16,114 lines of code.
- 0 very long files (0 lines of code)
- 3 long files (2,200 lines of code)
- 18 medium size files (5,416 lines of code)
- 22 small files (3,128 lines of code)
- 148 very small files (5,370 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 |
|---|---|---|
| 861 | - | |
| 788 | 25 | |
| 551 | 72 | |
| 499 | 13 | |
| 433 | 10 | |
| 404 | 11 | |
| 364 | 13 | |
| 338 | 22 | |
| 313 | 22 | |
| 294 | 15 | |
| 284 | 10 | |
| 284 | 19 | |
| 283 | 8 | |
| 264 | 16 | |
| 246 | 14 | |
| 245 | 4 | |
| 242 | 4 | |
| 238 | 6 | |
| 238 | 3 | |
| 230 | 6 | |
| 217 | 5 | |
| 196 | 2 | |
| 193 | 18 | |
| 182 | 8 | |
| 172 | 3 | |
| 162 | 14 | |
| 158 | 3 | |
| 157 | 10 | |
| 156 | 8 | |
| 139 | 9 | |
| 133 | 12 | |
| 131 | 7 | |
| 131 | 5 | |
| 129 | 1 | |
| 128 | 5 | |
| 128 | 8 | |
| 126 | 4 | |
| 125 | 4 | |
| 124 | 5 | |
| 122 | 6 | |
| 119 | 9 | |
| 109 | 2 | |
| 108 | 4 | |
| 94 | 1 | |
| 92 | 10 | |
| 89 | 2 | |
| 86 | 3 | |
| 86 | 5 | |
| 86 | 1 | |
| 85 | 15 |
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 |
|---|---|---|---|---|---|
| 861 | ~5k–15k | 24 | ~50 | ~20 | |
| 788 | ~5k–15k | 21 | ~50 | ~15 | |
| 499 | ~3k–7k | 16 | ~20 | ~20 | |
| 313 | ~2k–5k | 17 | ~15 | ~20 | |
| 364 | ~2k–7k | 14 | ~100 | ~5 | |
| 404 | ~2k–7k | 12 | ~15 | ~30 | |
| 284 | ~1.5k–5k | 9 | ~20 | ~15 | |
| 283 | ~1.5k–5k | 9 | ~100 | ~3 | |
| 433 | ~3k–7k | 5 | ~50 | ~10 | |
| 264 | ~1.5k–5k | 7 | ~50 | ~5 | |
| 196 | ~1k–3k | 9 | ~10 | ~15 | |
| 338 | ~2k–5k | 5 | ~30 | ~10 | |
| 242 | ~1.5k–5k | 6 | ~20 | ~15 | |
| 238 | ~1.5k–5k | 6 | ~15 | ~15 | |
| 284 | ~1.5k–5k | 5 | ~20 | ~15 | |
| 246 | ~1.5k–5k | 5 | ~70 | ~3 | |
| 245 | ~1.5k–5k | 5 | ~30 | ~10 | |
| 294 | ~2k–5k | 4 | ~100 | ~3 | |
| 551 | ~3k–10k | 2 | ~300 | ~2 | |
| 182 | ~1k–3k | 5 | ~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 |
|---|---|---|
| 551 | 72 | |
| 788 | 25 | |
| 313 | 22 | |
| 338 | 22 | |
| 284 | 19 | |
| 193 | 18 | |
| 264 | 16 | |
| 85 | 15 | |
| 294 | 15 | |
| 246 | 14 | |
| 162 | 14 | |
| 499 | 13 | |
| 364 | 13 | |
| 133 | 12 | |
| 404 | 11 | |
| 92 | 10 | |
| 433 | 10 | |
| 157 | 10 | |
| 284 | 10 | |
| 60 | 10 | |
| 80 | 10 | |
| 139 | 9 | |
| 119 | 9 | |
| 283 | 8 | |
| 156 | 8 | |
| 182 | 8 | |
| 128 | 8 | |
| 131 | 7 | |
| 69 | 7 | |
| 122 | 6 | |
| 230 | 6 | |
| 238 | 6 | |
| 42 | 6 | |
| 39 | 6 | |
| 40 | 6 | |
| 79 | 6 | |
| 65 | 6 | |
| 131 | 5 | |
| 21 | 5 | |
| 86 | 5 | |
| 21 | 5 | |
| 21 | 5 | |
| 22 | 5 | |
| 124 | 5 | |
| 128 | 5 | |
| 217 | 5 | |
| 81 | 5 | |
| 81 | 5 | |
| 54 | 5 | |
| 42 | 5 |
Files With Long Lines (Top 10)
There are 10 files with lines longer than 120 characters. In total, there are 25 long lines.
| File | # lines | # units | # long lines |
|---|---|---|---|
| 551 | 72 | 8 | |
| 193 | 18 | 5 | |
| 861 | - | 3 | |
| 196 | 2 | 2 | |
| 284 | 19 | 2 | |
| 283 | 8 | 1 | |
| 86 | 3 | 1 | |
| 499 | 13 | 1 | |
| 238 | 3 | 1 | |
| 44 | 1 | 1 |
Correlations
File Size vs. Commits (all time): 191 points
|
|
861.0 | lines of code min: 3.0average: 84.37 25th percentile: 20.0 median: 42.0 75th percentile: 86.0 max: 861.0 |
|
| 0 | 50.0 | ||
|
commits (all time) min: 1.0 | average: 5.58 | 25th percentile: 1.0 | median: 3.0 | 75th percentile: 5.0 | max: 50.0
|
|||
File Size vs. Contributors (all time): 191 points
|
|
861.0 | lines of code min: 3.0average: 84.37 25th percentile: 20.0 median: 42.0 75th percentile: 86.0 max: 861.0 |
|
| 0 | 6.0 | ||
|
contributors (all time) min: 1.0 | average: 1.79 | 25th percentile: 1.0 | median: 1.0 | 75th percentile: 2.0 | max: 6.0
|
|||
File Size vs. Commits (30 days): 40 points
|
|
861.0 | lines of code min: 12.0average: 204.82 25th percentile: 55.5 median: 136.0 75th percentile: 278.25 max: 861.0 |
|
| 0 | 6.0 | ||
|
commits (30d) min: 1.0 | average: 1.35 | 25th percentile: 1.0 | median: 1.0 | 75th percentile: 1.0 | max: 6.0
|
|||
File Size vs. Contributors (30 days): 40 points
|
|
861.0 | lines of code min: 12.0average: 204.82 25th percentile: 55.5 median: 136.0 75th percentile: 278.25 max: 861.0 |
|
| 0 | 2.0 | ||
|
contributors (30d) min: 1.0 | average: 1.1 | 25th percentile: 1.0 | median: 1.0 | 75th percentile: 1.0 | max: 2.0
|
|||
File Size vs. Commits (90 days): 62 points
|
|
861.0 | lines of code min: 12.0average: 163.63 25th percentile: 49.75 median: 89.5 75th percentile: 239.0 max: 861.0 |
|
| 0 | 11.0 | ||
|
commits (90d) min: 1.0 | average: 2.55 | 25th percentile: 1.0 | median: 2.0 | 75th percentile: 3.0 | max: 11.0
|
|||
File Size vs. Contributors (90 days): 62 points
|
|
861.0 | lines of code min: 12.0average: 163.63 25th percentile: 49.75 median: 89.5 75th percentile: 239.0 max: 861.0 |
|
| 0 | 3.0 | ||
|
contributors (90d) min: 1.0 | average: 1.35 | 25th percentile: 1.0 | median: 1.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