File Size Overall
- There are 304 files with 12,468 lines of code.
- 0 very long files (0 lines of code)
- 2 long files (1,614 lines of code)
- 6 medium size files (1,638 lines of code)
- 13 small files (1,818 lines of code)
- 283 very small files (7,398 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 |
|---|---|---|
| 871 | 1 | |
| 743 | 34 | |
| 409 | 11 | |
| 322 | 1 | |
| 234 | 34 | |
| 232 | 1 | |
| 221 | 1 | |
| 220 | 3 | |
| 192 | 4 | |
| 191 | 13 | |
| 171 | 1 | |
| 155 | 4 | |
| 139 | 1 | |
| 138 | 8 | |
| 132 | 4 | |
| 123 | 3 | |
| 121 | 7 | |
| 119 | 9 | |
| 118 | 5 | |
| 113 | - | |
| 106 | 3 | |
| 100 | 6 | |
| 99 | 4 | |
| 98 | 12 | |
| 98 | - | |
| 98 | 1 | |
| 96 | 4 | |
| 90 | 10 | |
| 89 | - | |
| 89 | 2 | |
| 88 | 6 | |
| 87 | 6 | |
| 86 | - | |
| 86 | 2 | |
| 85 | 3 | |
| 83 | 1 | |
| 81 | 10 | |
| 80 | 2 | |
| 79 | 7 | |
| 78 | 1 | |
| 78 | 1 | |
| 77 | 10 | |
| 77 | 2 | |
| 74 | - | |
| 73 | - | |
| 72 | - | |
| 72 | - | |
| 71 | 3 | |
| 71 | 3 | |
| 70 | 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 |
|---|---|---|---|---|---|
| 743 | ~5k–15k | 23 | ~30 | ~20 | |
| 871 | ~5k–15k | 6 | ~20 | ~30 | |
| 98 | ~500–1.5k | 34 | ~7 | ~15 | |
| 322 | ~2k–5k | 7 | ~150 | ~2 | |
| 86 | ~500–1.5k | 26 | ~7 | ~15 | |
| 409 | ~2k–7k | 5 | ~30 | ~10 | |
| 138 | ~700–2k | 12 | ~30 | ~5 | |
| 118 | ~700–2k | 10 | ~20 | ~5 | |
| 232 | ~1.5k–5k | 5 | ~50 | ~5 | |
| 220 | ~1.5k–5k | 5 | ~20 | ~10 | |
| 192 | ~1k–3k | 5 | ~50 | ~5 | |
| 191 | ~1k–3k | 5 | ~30 | ~5 | |
| 100 | ~700–1.5k | 9 | ~20 | ~5 | |
| 83 | ~500–1.5k | 9 | ~20 | ~3 | |
| 221 | ~1.5k–5k | 3 | ~20 | ~10 | |
| 71 | ~300–1k | 9 | ~20 | ~3 | |
| 106 | ~700–1.5k | 6 | ~20 | ~5 | |
| 123 | ~700–2k | 5 | ~15 | ~7 | |
| 139 | ~700–2k | 4 | ~50 | ~3 | |
| 69 | ~300–1k | 8 | ~7 | ~7 |
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 |
|---|---|---|
| 743 | 34 | |
| 234 | 34 | |
| 57 | 13 | |
| 191 | 13 | |
| 98 | 12 | |
| 48 | 11 | |
| 409 | 11 | |
| 77 | 10 | |
| 81 | 10 | |
| 90 | 10 | |
| 119 | 9 | |
| 138 | 8 | |
| 56 | 8 | |
| 121 | 7 | |
| 79 | 7 | |
| 51 | 6 | |
| 87 | 6 | |
| 100 | 6 | |
| 33 | 6 | |
| 88 | 6 | |
| 118 | 5 | |
| 36 | 5 | |
| 60 | 5 | |
| 39 | 5 | |
| 14 | 4 | |
| 56 | 4 | |
| 99 | 4 | |
| 96 | 4 | |
| 192 | 4 | |
| 155 | 4 | |
| 64 | 4 | |
| 132 | 4 | |
| 106 | 3 | |
| 18 | 3 | |
| 25 | 3 | |
| 25 | 3 | |
| 38 | 3 | |
| 45 | 3 | |
| 60 | 3 | |
| 40 | 3 | |
| 47 | 3 | |
| 123 | 3 | |
| 71 | 3 | |
| 220 | 3 | |
| 85 | 3 | |
| 66 | 3 | |
| 42 | 3 | |
| 71 | 3 | |
| 29 | 2 | |
| 34 | 2 |
Files With Long Lines (Top 50)
There are 80 files with lines longer than 120 characters. In total, there are 153 long lines.
| File | # lines | # units | # long lines |
|---|---|---|---|
| 871 | 1 | 19 | |
| 743 | 34 | 14 | |
| 221 | 1 | 5 | |
| 98 | 1 | 4 | |
| 322 | 1 | 4 | |
| 66 | 3 | 4 | |
| 409 | 11 | 4 | |
| 119 | 9 | 3 | |
| 41 | 2 | 3 | |
| 32 | - | 3 | |
| 26 | 1 | 3 | |
| 155 | 4 | 3 | |
| 59 | 1 | 2 | |
| 138 | 8 | 2 | |
| 98 | 12 | 2 | |
| 18 | - | 2 | |
| 232 | 1 | 2 | |
| 60 | 5 | 2 | |
| 81 | 10 | 2 | |
| 100 | 6 | 2 | |
| 27 | - | 2 | |
| 88 | 6 | 2 | |
| 192 | 4 | 2 | |
| 139 | 1 | 2 | |
| 22 | 1 | 2 | |
| 23 | 1 | 2 | |
| 80 | 2 | 2 | |
| 64 | 1 | 2 | |
| 11 | - | 1 | |
| 49 | 1 | 1 | |
| 31 | - | 1 | |
| 34 | - | 1 | |
| 58 | 1 | 1 | |
| 7 | - | 1 | |
| 57 | 13 | 1 | |
| 48 | 11 | 1 | |
| 25 | 1 | 1 | |
| 18 | 1 | 1 | |
| 16 | - | 1 | |
| 18 | - | 1 | |
| 22 | - | 1 | |
| 17 | - | 1 | |
| 22 | - | 1 | |
| 32 | 2 | 1 | |
| 13 | 1 | 1 | |
| 29 | 2 | 1 | |
| 10 | - | 1 | |
| 33 | - | 1 | |
| 45 | 3 | 1 | |
| 60 | 3 | 1 |
Correlations
File Size vs. Commits (all time): 304 points
|
|
871.0 | lines of code min: 1.0average: 41.01 25th percentile: 10.0 median: 18.0 75th percentile: 40.75 max: 871.0 |
|
| 0 | 259.0 | ||
|
commits (all time) min: 1.0 | average: 14.77 | 25th percentile: 5.0 | median: 8.0 | 75th percentile: 14.0 | max: 259.0
|
|||
File Size vs. Contributors (all time): 304 points
|
|
871.0 | lines of code min: 1.0average: 41.01 25th percentile: 10.0 median: 18.0 75th percentile: 40.75 max: 871.0 |
|
| 0 | 44.0 | ||
|
contributors (all time) min: 1.0 | average: 6.24 | 25th percentile: 3.25 | median: 5.0 | 75th percentile: 7.0 | max: 44.0
|
|||
File Size vs. Commits (30 days): 5 points
|
|
232.0 | lines of code min: 11.0average: 129.4 25th percentile: 48.5 median: 98.0 75th percentile: 226.0 max: 232.0 |
|
| 0 | 2.0 | ||
|
commits (30d) min: 1.0 | average: 1.6 | 25th percentile: 1.0 | median: 2.0 | 75th percentile: 2.0 | max: 2.0
|
|||
File Size vs. Contributors (30 days): 5 points
|
|
232.0 | lines of code min: 11.0average: 129.4 25th percentile: 48.5 median: 98.0 75th percentile: 226.0 max: 232.0 |
|
| 0 | 2.0 | ||
|
contributors (30d) min: 1.0 | average: 1.6 | 25th percentile: 1.0 | median: 2.0 | 75th percentile: 2.0 | max: 2.0
|
|||
File Size vs. Commits (90 days): 78 points
|
|
743.0 | lines of code min: 2.0average: 74.4 25th percentile: 17.75 median: 41.0 75th percentile: 86.0 max: 743.0 |
|
| 0 | 14.0 | ||
|
commits (90d) min: 1.0 | average: 1.41 | 25th percentile: 1.0 | median: 1.0 | 75th percentile: 1.0 | max: 14.0
|
|||
File Size vs. Contributors (90 days): 78 points
|
|
743.0 | lines of code min: 2.0average: 74.4 25th percentile: 17.75 median: 41.0 75th percentile: 86.0 max: 743.0 |
|
| 0 | 3.0 | ||
|
contributors (90d) min: 1.0 | average: 1.1 | 25th percentile: 1.0 | median: 1.0 | 75th percentile: 1.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