File Size Overall
- There are 97 files with 17,763 lines of code.
- 4 very long files (5,848 lines of code)
- 6 long files (4,483 lines of code)
- 11 medium size files (3,318 lines of code)
- 19 small files (2,776 lines of code)
- 57 very small files (1,338 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 |
|---|---|---|
| 1578 | - | |
| 1440 | 16 | |
| 1416 | 16 | |
| 1414 | 16 | |
| 974 | - | |
| 814 | 20 | |
| 805 | 20 | |
| 667 | - | |
| 625 | - | |
| 598 | - | |
| 491 | 11 | |
| 462 | 6 | |
| 396 | 9 | |
| 321 | 11 | |
| 278 | - | |
| 277 | 21 | |
| 237 | 3 | |
| 223 | 14 | |
| 220 | 5 | |
| 208 | - | |
| 205 | 4 | |
| 198 | 4 | |
| 196 | 9 | |
| 195 | 6 | |
| 174 | 12 | |
| 171 | - | |
| 168 | 3 | |
| 168 | 5 | |
| 151 | - | |
| 148 | 6 | |
| 142 | 3 | |
| 139 | 1 | |
| 132 | - | |
| 129 | - | |
| 117 | 8 | |
| 115 | - | |
| 113 | - | |
| 107 | - | |
| 107 | - | |
| 106 | 7 | |
| 100 | 8 | |
| 96 | 8 | |
| 88 | - | |
| 84 | 5 | |
| 77 | - | |
| 77 | 4 | |
| 76 | - | |
| 57 | - | |
| 56 | - | |
| 45 | 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 |
|---|---|---|---|---|---|
| 1578 | ~10k–30k | 1 | ~1,500 | ~1 | |
| 1440 | ~10k–30k | 1 | ~1,500 | ~1 | |
| 1416 | ~7k–20k | 1 | ~2,000 | ~1 | |
| 1414 | ~7k–20k | 1 | ~2,000 | ~1 | |
| 321 | ~2k–5k | 4 | ~100 | ~3 | |
| 974 | ~5k–15k | 1 | ~1,000 | ~1 | |
| 462 | ~3k–7k | 2 | ~300 | ~2 | |
| 223 | ~1.5k–5k | 4 | ~100 | ~2 | |
| 814 | ~5k–15k | 1 | ~1,000 | ~1 | |
| 805 | ~5k–15k | 1 | ~1,000 | ~1 | |
| 396 | ~2k–7k | 2 | ~500 | ~1 | |
| 667 | ~3k–10k | 1 | ~700 | ~1 | |
| 625 | ~3k–10k | 1 | ~700 | ~1 | |
| 598 | ~3k–10k | 1 | ~700 | ~1 | |
| 491 | ~3k–7k | 1 | ~700 | ~1 | |
| 195 | ~1k–3k | 2 | ~200 | ~1 | |
| 129 | ~700–2k | 3 | ~150 | ~1 | |
| 278 | ~1.5k–5k | 1 | ~300 | ~1 | |
| 277 | ~1.5k–5k | 1 | ~300 | ~1 | |
| 237 | ~1.5k–5k | 1 | ~300 | ~1 |
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 36)
| File | # lines | # units |
|---|---|---|
| 277 | 21 | |
| 814 | 20 | |
| 805 | 20 | |
| 1414 | 16 | |
| 1416 | 16 | |
| 1440 | 16 | |
| 223 | 14 | |
| 174 | 12 | |
| 491 | 11 | |
| 321 | 11 | |
| 396 | 9 | |
| 196 | 9 | |
| 96 | 8 | |
| 117 | 8 | |
| 100 | 8 | |
| 106 | 7 | |
| 462 | 6 | |
| 195 | 6 | |
| 148 | 6 | |
| 84 | 5 | |
| 220 | 5 | |
| 168 | 5 | |
| 37 | 4 | |
| 205 | 4 | |
| 198 | 4 | |
| 77 | 4 | |
| 45 | 3 | |
| 142 | 3 | |
| 237 | 3 | |
| 168 | 3 | |
| 45 | 2 | |
| 28 | 2 | |
| 45 | 2 | |
| 13 | 1 | |
| 13 | 1 | |
| 139 | 1 |
Files With Long Lines (Top 50)
There are 62 files with lines longer than 120 characters. In total, there are 563 long lines.
| File | # lines | # units | # long lines |
|---|---|---|---|
| 1578 | - | 137 | |
| 1440 | 16 | 51 | |
| 974 | - | 49 | |
| 667 | - | 40 | |
| 462 | 6 | 23 | |
| 1414 | 16 | 23 | |
| 1416 | 16 | 21 | |
| 598 | - | 20 | |
| 107 | - | 18 | |
| 396 | 9 | 16 | |
| 625 | - | 16 | |
| 321 | 11 | 13 | |
| 491 | 11 | 11 | |
| 208 | - | 9 | |
| 174 | 12 | 9 | |
| 223 | 14 | 7 | |
| 814 | 20 | 7 | |
| 805 | 20 | 7 | |
| 139 | 1 | 7 | |
| 88 | - | 6 | |
| 106 | 7 | 5 | |
| 100 | 8 | 5 | |
| 113 | - | 5 | |
| 220 | 5 | 4 | |
| 198 | 4 | 4 | |
| 151 | - | 4 | |
| 57 | - | 3 | |
| 237 | 3 | 3 | |
| 56 | - | 3 | |
| 195 | 6 | 2 | |
| 277 | 21 | 2 | |
| 76 | - | 2 | |
| 11 | - | 2 | |
| 129 | - | 1 | |
| 132 | - | 1 | |
| 171 | - | 1 | |
| 96 | 8 | 1 | |
| 117 | 8 | 1 | |
| 107 | - | 1 | |
| 5 | - | 1 | |
| 5 | - | 1 | |
| 5 | - | 1 | |
| 5 | - | 1 | |
| 5 | - | 1 | |
| 5 | - | 1 | |
| 5 | - | 1 | |
| 5 | - | 1 | |
| 5 | - | 1 | |
| 5 | - | 1 | |
| 5 | - | 1 |
Correlations
File Size vs. Commits (all time): 97 points
|
|
1578.0 | lines of code min: 2.0average: 183.12 25th percentile: 6.0 median: 56.0 75th percentile: 184.5 max: 1578.0 |
|
| 0 | 11.0 | ||
|
commits (all time) min: 1.0 | average: 1.3 | 25th percentile: 1.0 | median: 1.0 | 75th percentile: 1.0 | max: 11.0
|
|||
File Size vs. Contributors (all time): 97 points
|
|
1578.0 | lines of code min: 2.0average: 183.12 25th percentile: 6.0 median: 56.0 75th percentile: 184.5 max: 1578.0 |
|
| 0 | 6.0 | ||
|
contributors (all time) min: 1.0 | average: 1.07 | 25th percentile: 1.0 | median: 1.0 | 75th percentile: 1.0 | max: 6.0
|
|||
File Size vs. Commits (30 days): 97 points
|
|
1578.0 | lines of code min: 2.0average: 183.12 25th percentile: 6.0 median: 56.0 75th percentile: 184.5 max: 1578.0 |
|
| 0 | 2.0 | ||
|
commits (30d) min: 1.0 | average: 1.1 | 25th percentile: 1.0 | median: 1.0 | 75th percentile: 1.0 | max: 2.0
|
|||
File Size vs. Contributors (30 days): 97 points
|
|
1578.0 | lines of code min: 2.0average: 183.12 25th percentile: 6.0 median: 56.0 75th percentile: 184.5 max: 1578.0 |
|
| 0 | 1.0 | ||
|
contributors (30d) min: 1.0 | average: 1.0 | 25th percentile: 1.0 | median: 1.0 | 75th percentile: 1.0 | max: 1.0
|
|||
File Size vs. Commits (90 days): 97 points
|
|
1578.0 | lines of code min: 2.0average: 183.12 25th percentile: 6.0 median: 56.0 75th percentile: 184.5 max: 1578.0 |
|
| 0 | 2.0 | ||
|
commits (90d) min: 1.0 | average: 1.1 | 25th percentile: 1.0 | median: 1.0 | 75th percentile: 1.0 | max: 2.0
|
|||
File Size vs. Contributors (90 days): 97 points
|
|
1578.0 | lines of code min: 2.0average: 183.12 25th percentile: 6.0 median: 56.0 75th percentile: 184.5 max: 1578.0 |
|
| 0 | 1.0 | ||
|
contributors (90d) min: 1.0 | average: 1.0 | 25th percentile: 1.0 | median: 1.0 | 75th percentile: 1.0 | max: 1.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