File Size Overall
- There are 106 files with 16,955 lines of code.
- 3 very long files (3,904 lines of code)
- 6 long files (3,509 lines of code)
- 11 medium size files (3,210 lines of code)
- 27 small files (3,756 lines of code)
- 59 very small files (2,576 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 |
|---|---|---|
| 1705 | 224 | |
| 1198 | 105 | |
| 1001 | 31 | |
| 674 | 51 | |
| 645 | 55 | |
| 637 | 34 | |
| 525 | 30 | |
| 520 | 38 | |
| 508 | 1 | |
| 451 | 25 | |
| 357 | 17 | |
| 344 | 15 | |
| 297 | 13 | |
| 295 | 24 | |
| 293 | 13 | |
| 279 | 11 | |
| 248 | - | |
| 221 | 9 | |
| 216 | 10 | |
| 209 | 1 | |
| 199 | 21 | |
| 197 | 19 | |
| 175 | 13 | |
| 171 | 12 | |
| 171 | 1 | |
| 165 | 23 | |
| 159 | 9 | |
| 154 | - | |
| 151 | 7 | |
| 151 | 22 | |
| 149 | 4 | |
| 149 | 7 | |
| 146 | 12 | |
| 139 | 6 | |
| 139 | 10 | |
| 138 | 17 | |
| 116 | 1 | |
| 116 | 9 | |
| 111 | 7 | |
| 110 | 7 | |
| 110 | 6 | |
| 109 | 6 | |
| 109 | 6 | |
| 108 | 11 | |
| 106 | 4 | |
| 105 | 9 | |
| 103 | 20 | |
| 98 | 9 | |
| 98 | 7 | |
| 96 | 1 |
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 |
|---|---|---|---|---|---|
| 525 | ~3k–10k | 10 | ~50 | ~10 | |
| 1198 | ~7k–20k | 4 | ~30 | ~30 | |
| 520 | ~3k–10k | 9 | ~100 | ~5 | |
| 674 | ~3k–10k | 6 | ~100 | ~5 | |
| 344 | ~2k–5k | 11 | ~20 | ~15 | |
| 248 | ~1.5k–5k | 10 | ~10 | ~20 | |
| 293 | ~2k–5k | 8 | ~7 | ~50 | |
| 508 | ~3k–10k | 4 | ~10 | ~50 | |
| 645 | ~3k–10k | 2 | ~500 | ~2 | |
| 221 | ~1.5k–5k | 5 | ~3 | ~70 | |
| 357 | ~2k–5k | 3 | ~30 | ~10 | |
| 1001 | ~7k–15k | 1 | ~30 | ~30 | |
| 149 | ~1k–3k | 6 | ~15 | ~10 | |
| 297 | ~2k–5k | 3 | ~10 | ~30 | |
| 295 | ~2k–5k | 3 | ~20 | ~15 | |
| 171 | ~1k–3k | 5 | ~30 | ~7 | |
| 165 | ~1k–3k | 5 | ~15 | ~10 | |
| 637 | ~3k–10k | 1 | ~7 | ~70 | |
| 451 | ~3k–7k | 1 | ~5 | ~70 | |
| 146 | ~1k–3k | 3 | ~10 | ~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 |
|---|---|---|
| 1705 | 224 | |
| 1198 | 105 | |
| 645 | 55 | |
| 674 | 51 | |
| 520 | 38 | |
| 637 | 34 | |
| 1001 | 31 | |
| 525 | 30 | |
| 451 | 25 | |
| 295 | 24 | |
| 165 | 23 | |
| 151 | 22 | |
| 199 | 21 | |
| 103 | 20 | |
| 197 | 19 | |
| 138 | 17 | |
| 357 | 17 | |
| 344 | 15 | |
| 175 | 13 | |
| 297 | 13 | |
| 293 | 13 | |
| 171 | 12 | |
| 146 | 12 | |
| 279 | 11 | |
| 108 | 11 | |
| 216 | 10 | |
| 91 | 10 | |
| 139 | 10 | |
| 43 | 10 | |
| 98 | 9 | |
| 221 | 9 | |
| 25 | 9 | |
| 105 | 9 | |
| 116 | 9 | |
| 88 | 9 | |
| 159 | 9 | |
| 37 | 8 | |
| 151 | 7 | |
| 110 | 7 | |
| 63 | 7 | |
| 54 | 7 | |
| 58 | 7 | |
| 149 | 7 | |
| 98 | 7 | |
| 111 | 7 | |
| 63 | 6 | |
| 109 | 6 | |
| 79 | 6 | |
| 110 | 6 | |
| 60 | 6 |
Files With Long Lines (Top 50)
There are 56 files with lines longer than 120 characters. In total, there are 247 long lines.
| File | # lines | # units | # long lines |
|---|---|---|---|
| 525 | 30 | 37 | |
| 637 | 34 | 23 | |
| 520 | 38 | 17 | |
| 674 | 51 | 13 | |
| 293 | 13 | 9 | |
| 1198 | 105 | 8 | |
| 297 | 13 | 8 | |
| 175 | 13 | 7 | |
| 43 | 10 | 7 | |
| 62 | 1 | 6 | |
| 37 | 8 | 6 | |
| 221 | 9 | 5 | |
| 508 | 1 | 5 | |
| 151 | 7 | 4 | |
| 216 | 10 | 4 | |
| 209 | 1 | 4 | |
| 295 | 24 | 4 | |
| 146 | 12 | 4 | |
| 645 | 55 | 4 | |
| 27 | 6 | 4 | |
| 357 | 17 | 3 | |
| 103 | 20 | 3 | |
| 27 | 1 | 3 | |
| 80 | 1 | 3 | |
| 344 | 15 | 3 | |
| 279 | 11 | 3 | |
| 116 | 1 | 3 | |
| 88 | 9 | 3 | |
| 109 | 6 | 3 | |
| 98 | 7 | 3 | |
| 138 | 17 | 2 | |
| 110 | 7 | 2 | |
| 109 | 6 | 2 | |
| 43 | 1 | 2 | |
| 105 | 9 | 2 | |
| 60 | 6 | 2 | |
| 47 | 1 | 2 | |
| 159 | 9 | 2 | |
| 29 | 2 | 2 | |
| 149 | 7 | 2 | |
| 85 | 4 | 2 | |
| 111 | 7 | 2 | |
| 248 | - | 1 | |
| 451 | 25 | 1 | |
| 33 | 3 | 1 | |
| 35 | 4 | 1 | |
| 106 | 4 | 1 | |
| 79 | 6 | 1 | |
| 110 | 6 | 1 | |
| 165 | 23 | 1 |
Correlations
File Size vs. Commits (all time): 66 points
|
|
1198.0 | lines of code min: 4.0average: 191.5 25th percentile: 46.25 median: 109.0 75th percentile: 227.75 max: 1198.0 |
|
| 0 | 18.0 | ||
|
commits (all time) min: 1.0 | average: 3.14 | 25th percentile: 1.0 | median: 2.0 | 75th percentile: 4.0 | max: 18.0
|
|||
File Size vs. Contributors (all time): 66 points
|
|
1198.0 | lines of code min: 4.0average: 191.5 25th percentile: 46.25 median: 109.0 75th percentile: 227.75 max: 1198.0 |
|
| 0 | 2.0 | ||
|
contributors (all time) min: 1.0 | average: 1.08 | 25th percentile: 1.0 | median: 1.0 | 75th percentile: 1.0 | max: 2.0
|
|||
File Size vs. Commits (30 days): 66 points
|
|
1198.0 | lines of code min: 4.0average: 191.5 25th percentile: 46.25 median: 109.0 75th percentile: 227.75 max: 1198.0 |
|
| 0 | 18.0 | ||
|
commits (30d) min: 1.0 | average: 3.14 | 25th percentile: 1.0 | median: 2.0 | 75th percentile: 4.0 | max: 18.0
|
|||
File Size vs. Contributors (30 days): 66 points
|
|
1198.0 | lines of code min: 4.0average: 191.5 25th percentile: 46.25 median: 109.0 75th percentile: 227.75 max: 1198.0 |
|
| 0 | 2.0 | ||
|
contributors (30d) min: 1.0 | average: 1.08 | 25th percentile: 1.0 | median: 1.0 | 75th percentile: 1.0 | max: 2.0
|
|||
File Size vs. Commits (90 days): 66 points
|
|
1198.0 | lines of code min: 4.0average: 191.5 25th percentile: 46.25 median: 109.0 75th percentile: 227.75 max: 1198.0 |
|
| 0 | 18.0 | ||
|
commits (90d) min: 1.0 | average: 3.14 | 25th percentile: 1.0 | median: 2.0 | 75th percentile: 4.0 | max: 18.0
|
|||
File Size vs. Contributors (90 days): 66 points
|
|
1198.0 | lines of code min: 4.0average: 191.5 25th percentile: 46.25 median: 109.0 75th percentile: 227.75 max: 1198.0 |
|
| 0 | 2.0 | ||
|
contributors (90d) min: 1.0 | average: 1.08 | 25th percentile: 1.0 | median: 1.0 | 75th percentile: 1.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