File Size Overall
- There are 936 files with 15,145 lines of code.
- 2 very long files (3,000 lines of code)
- 1 long files (806 lines of code)
- 8 medium size files (2,181 lines of code)
- 12 small files (1,744 lines of code)
- 913 very small files (7,414 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 |
|---|---|---|
| 1789 | - | |
| 1211 | 24 | |
| 806 | 48 | |
| 405 | 19 | |
| 343 | 7 | |
| 278 | 14 | |
| 267 | 8 | |
| 232 | 12 | |
| 229 | 6 | |
| 214 | 1 | |
| 213 | 3 | |
| 184 | 5 | |
| 181 | 11 | |
| 177 | 4 | |
| 170 | 8 | |
| 169 | - | |
| 142 | 9 | |
| 138 | 3 | |
| 131 | - | |
| 127 | 3 | |
| 112 | - | |
| 110 | 4 | |
| 103 | - | |
| 100 | 7 | |
| 99 | - | |
| 89 | 4 | |
| 83 | 3 | |
| 77 | 1 | |
| 66 | 1 | |
| 65 | 1 | |
| 61 | 1 | |
| 60 | 1 | |
| 58 | 1 | |
| 58 | 1 | |
| 58 | - | |
| 57 | 1 | |
| 55 | 1 | |
| 54 | 1 | |
| 53 | 1 | |
| 52 | 2 | |
| 52 | 5 | |
| 51 | 1 | |
| 49 | 1 | |
| 48 | 2 | |
| 47 | 1 | |
| 46 | 1 | |
| 44 | 1 | |
| 43 | 4 | |
| 42 | - | |
| 41 | 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 |
|---|---|---|---|---|---|
| 1789 | ~10k–30k | 139 | ~70 | ~20 | |
| 806 | ~5k–15k | 41 | ~70 | ~10 | |
| 1211 | ~7k–20k | 3 | ~1,500 | ~1 | |
| 343 | ~2k–5k | 9 | ~50 | ~7 | |
| 278 | ~1.5k–5k | 6 | ~100 | ~2 | |
| 142 | ~700–2k | 9 | ~50 | ~2 | |
| 213 | ~1k–3k | 5 | ~70 | ~3 | |
| 405 | ~2k–7k | 2 | ~700 | ~1 | |
| 127 | ~700–2k | 6 | ~50 | ~2 | |
| 60 | ~300–1k | 10 | ~20 | ~3 | |
| 267 | ~1.5k–5k | 2 | ~300 | ~1 | |
| 53 | ~300–1k | 10 | ~50 | ~1 | |
| 52 | ~300–1k | 9 | ~20 | ~3 | |
| 232 | ~1.5k–5k | 2 | ~500 | ~1 | |
| 38 | under 1k | 12 | ~20 | ~2 | |
| 214 | ~1k–3k | 2 | ~300 | ~1 | |
| 83 | ~500–1.5k | 5 | ~30 | ~2 | |
| 51 | ~300–1k | 8 | ~20 | ~2 | |
| 35 | under 1k | 11 | ~20 | ~2 | |
| 184 | ~1k–3k | 2 | ~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 50)
| File | # lines | # units |
|---|---|---|
| 806 | 48 | |
| 1211 | 24 | |
| 405 | 19 | |
| 278 | 14 | |
| 232 | 12 | |
| 181 | 11 | |
| 142 | 9 | |
| 267 | 8 | |
| 170 | 8 | |
| 100 | 7 | |
| 343 | 7 | |
| 229 | 6 | |
| 184 | 5 | |
| 37 | 5 | |
| 52 | 5 | |
| 89 | 4 | |
| 177 | 4 | |
| 110 | 4 | |
| 43 | 4 | |
| 138 | 3 | |
| 127 | 3 | |
| 25 | 3 | |
| 39 | 3 | |
| 213 | 3 | |
| 83 | 3 | |
| 26 | 3 | |
| 28 | 2 | |
| 24 | 2 | |
| 32 | 2 | |
| 48 | 2 | |
| 52 | 2 | |
| 39 | 2 | |
| 19 | 2 | |
| 38 | 2 | |
| 28 | 2 | |
| 16 | 2 | |
| 30 | 2 | |
| 214 | 1 | |
| 33 | 1 | |
| 33 | 1 | |
| 39 | 1 | |
| 39 | 1 | |
| 24 | 1 | |
| 10 | 1 | |
| 5 | 1 | |
| 12 | 1 | |
| 19 | 1 | |
| 18 | 1 | |
| 21 | 1 | |
| 6 | 1 |
Files With Long Lines (Top 12)
There are 12 files with lines longer than 120 characters. In total, there are 1554 long lines.
| File | # lines | # units | # long lines |
|---|---|---|---|
| 1789 | - | 1518 | |
| 214 | 1 | 16 | |
| 112 | - | 5 | |
| 34 | - | 3 | |
| 177 | 4 | 2 | |
| 34 | - | 2 | |
| 99 | - | 2 | |
| 169 | - | 2 | |
| 1211 | 24 | 1 | |
| 405 | 19 | 1 | |
| 131 | - | 1 | |
| 127 | 3 | 1 |
Correlations
File Size vs. Commits (all time): 936 points
|
|
1789.0 | lines of code min: 1.0average: 16.18 25th percentile: 2.0 median: 3.0 75th percentile: 9.0 max: 1789.0 |
|
| 0 | 139.0 | ||
|
commits (all time) min: 1.0 | average: 2.53 | 25th percentile: 1.0 | median: 2.0 | 75th percentile: 2.0 | max: 139.0
|
|||
File Size vs. Contributors (all time): 936 points
|
|
1789.0 | lines of code min: 1.0average: 16.18 25th percentile: 2.0 median: 3.0 75th percentile: 9.0 max: 1789.0 |
|
| 0 | 4.0 | ||
|
contributors (all time) min: 1.0 | average: 1.03 | 25th percentile: 1.0 | median: 1.0 | 75th percentile: 1.0 | max: 4.0
|
|||
File Size vs. Commits (30 days): 906 points
|
|
1789.0 | lines of code min: 1.0average: 11.67 25th percentile: 2.0 median: 3.0 75th percentile: 8.0 max: 1789.0 |
|
| 0 | 41.0 | ||
|
commits (30d) min: 1.0 | average: 2.4 | 25th percentile: 1.0 | median: 2.0 | 75th percentile: 2.0 | max: 41.0
|
|||
File Size vs. Contributors (30 days): 906 points
|
|
1789.0 | lines of code min: 1.0average: 11.67 25th percentile: 2.0 median: 3.0 75th percentile: 8.0 max: 1789.0 |
|
| 0 | 2.0 | ||
|
contributors (30d) min: 1.0 | average: 1.01 | 25th percentile: 1.0 | median: 1.0 | 75th percentile: 1.0 | max: 2.0
|
|||
File Size vs. Commits (90 days): 906 points
|
|
1789.0 | lines of code min: 1.0average: 11.67 25th percentile: 2.0 median: 3.0 75th percentile: 8.0 max: 1789.0 |
|
| 0 | 84.0 | ||
|
commits (90d) min: 1.0 | average: 2.45 | 25th percentile: 1.0 | median: 2.0 | 75th percentile: 2.0 | max: 84.0
|
|||
File Size vs. Contributors (90 days): 906 points
|
|
1789.0 | lines of code min: 1.0average: 11.67 25th percentile: 2.0 median: 3.0 75th percentile: 8.0 max: 1789.0 |
|
| 0 | 2.0 | ||
|
contributors (90d) min: 1.0 | average: 1.01 | 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