File Size Overall
- There are 241 files with 19,089 lines of code.
- 0 very long files (0 lines of code)
- 4 long files (2,727 lines of code)
- 17 medium size files (5,256 lines of code)
- 36 small files (5,111 lines of code)
- 184 very small files (5,995 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 |
|---|---|---|
| 984 | 28 | |
| 614 | 18 | |
| 581 | 11 | |
| 548 | - | |
| 468 | 23 | |
| 446 | - | |
| 430 | 7 | |
| 430 | 7 | |
| 405 | 14 | |
| 368 | - | |
| 355 | 10 | |
| 324 | - | |
| 268 | 15 | |
| 267 | - | |
| 254 | - | |
| 221 | 9 | |
| 206 | 2 | |
| 206 | 2 | |
| 204 | 16 | |
| 203 | 6 | |
| 201 | 12 | |
| 193 | - | |
| 185 | 7 | |
| 180 | 8 | |
| 177 | 6 | |
| 176 | 7 | |
| 173 | 12 | |
| 169 | 14 | |
| 168 | 3 | |
| 166 | - | |
| 160 | 17 | |
| 159 | 7 | |
| 158 | 6 | |
| 152 | 7 | |
| 152 | 18 | |
| 151 | 8 | |
| 151 | 2 | |
| 147 | - | |
| 145 | 6 | |
| 140 | 3 | |
| 131 | 11 | |
| 129 | 2 | |
| 127 | 3 | |
| 126 | 7 | |
| 125 | 2 | |
| 125 | 2 | |
| 123 | 9 | |
| 120 | 1 | |
| 117 | 2 | |
| 114 | 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 |
|---|---|---|---|---|---|
| 984 | ~5k–15k | 6 | ~500 | ~2 | |
| 614 | ~3k–10k | 8 | ~300 | ~2 | |
| 468 | ~3k–7k | 4 | ~300 | ~2 | |
| 405 | ~2k–7k | 4 | ~200 | ~2 | |
| 355 | ~2k–5k | 4 | ~300 | ~2 | |
| 581 | ~3k–10k | 2 | ~700 | ~1 | |
| 548 | ~3k–10k | 2 | ~500 | ~1 | |
| 267 | ~1.5k–5k | 4 | ~150 | ~2 | |
| 446 | ~3k–7k | 2 | ~500 | ~1 | |
| 430 | ~3k–7k | 2 | ~500 | ~1 | |
| 430 | ~3k–7k | 2 | ~500 | ~1 | |
| 185 | ~1k–3k | 4 | ~150 | ~2 | |
| 368 | ~2k–7k | 2 | ~500 | ~1 | |
| 324 | ~2k–5k | 2 | ~300 | ~1 | |
| 152 | ~1k–3k | 4 | ~100 | ~2 | |
| 268 | ~1.5k–5k | 2 | ~300 | ~1 | |
| 177 | ~1k–3k | 3 | ~150 | ~1 | |
| 254 | ~1.5k–5k | 2 | ~300 | ~1 | |
| 221 | ~1.5k–5k | 2 | ~300 | ~1 | |
| 206 | ~1k–3k | 2 | ~200 | ~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 |
|---|---|---|
| 984 | 28 | |
| 468 | 23 | |
| 614 | 18 | |
| 152 | 18 | |
| 160 | 17 | |
| 204 | 16 | |
| 268 | 15 | |
| 169 | 14 | |
| 405 | 14 | |
| 173 | 12 | |
| 201 | 12 | |
| 581 | 11 | |
| 82 | 11 | |
| 131 | 11 | |
| 52 | 10 | |
| 355 | 10 | |
| 123 | 9 | |
| 81 | 9 | |
| 221 | 9 | |
| 180 | 8 | |
| 89 | 8 | |
| 151 | 8 | |
| 83 | 8 | |
| 75 | 8 | |
| 176 | 7 | |
| 159 | 7 | |
| 70 | 7 | |
| 430 | 7 | |
| 430 | 7 | |
| 126 | 7 | |
| 185 | 7 | |
| 24 | 7 | |
| 77 | 7 | |
| 152 | 7 | |
| 108 | 6 | |
| 158 | 6 | |
| 145 | 6 | |
| 62 | 6 | |
| 104 | 6 | |
| 203 | 6 | |
| 177 | 6 | |
| 31 | 5 | |
| 31 | 5 | |
| 96 | 5 | |
| 66 | 5 | |
| 38 | 4 | |
| 34 | 4 | |
| 42 | 3 | |
| 127 | 3 | |
| 43 | 3 |
Files With Long Lines (Top 50)
There are 61 files with lines longer than 120 characters. In total, there are 151 long lines.
| File | # lines | # units | # long lines |
|---|---|---|---|
| 193 | - | 22 | |
| 267 | - | 17 | |
| 430 | 7 | 6 | |
| 430 | 7 | 6 | |
| 82 | - | 5 | |
| 176 | 7 | 4 | |
| 31 | - | 4 | |
| 31 | - | 4 | |
| 28 | - | 4 | |
| 152 | 7 | 4 | |
| 145 | 6 | 3 | |
| 26 | 1 | 3 | |
| 26 | 1 | 3 | |
| 180 | 8 | 2 | |
| 108 | 3 | 2 | |
| 158 | 6 | 2 | |
| 85 | - | 2 | |
| 47 | - | 2 | |
| 96 | 3 | 2 | |
| 114 | 3 | 2 | |
| 100 | 2 | 2 | |
| 85 | - | 2 | |
| 47 | - | 2 | |
| 96 | 3 | 2 | |
| 114 | 3 | 2 | |
| 100 | 2 | 2 | |
| 72 | 2 | 2 | |
| 268 | 15 | 2 | |
| 446 | - | 2 | |
| 14 | - | 2 | |
| 468 | 23 | 2 | |
| 127 | 3 | 1 | |
| 13 | 1 | 1 | |
| 168 | 3 | 1 | |
| 112 | 3 | 1 | |
| 15 | 1 | 1 | |
| 62 | 6 | 1 | |
| 89 | 8 | 1 | |
| 34 | 1 | 1 | |
| 29 | - | 1 | |
| 71 | 1 | 1 | |
| 206 | 2 | 1 | |
| 80 | 2 | 1 | |
| 34 | 1 | 1 | |
| 29 | - | 1 | |
| 71 | 1 | 1 | |
| 206 | 2 | 1 | |
| 80 | 2 | 1 | |
| 96 | 5 | 1 | |
| 355 | 10 | 1 |
Correlations
File Size vs. Commits (all time): 241 points
|
|
984.0 | lines of code min: 1.0average: 79.21 25th percentile: 13.0 median: 34.0 75th percentile: 96.0 max: 984.0 |
|
| 0 | 8.0 | ||
|
commits (all time) min: 1.0 | average: 2.03 | 25th percentile: 2.0 | median: 2.0 | 75th percentile: 2.0 | max: 8.0
|
|||
File Size vs. Contributors (all time): 241 points
|
|
984.0 | lines of code min: 1.0average: 79.21 25th percentile: 13.0 median: 34.0 75th percentile: 96.0 max: 984.0 |
|
| 0 | 3.0 | ||
|
contributors (all time) min: 1.0 | average: 1.24 | 25th percentile: 1.0 | median: 1.0 | 75th percentile: 1.0 | max: 3.0
|
|||
File Size vs. Commits (30 days): 0 points
No data for "commits (30d)" vs. "lines of code".
File Size vs. Contributors (30 days): 0 points
No data for "contributors (30d)" vs. "lines of code".
File Size vs. Commits (90 days): 4 points
|
|
177.0 | lines of code min: 24.0average: 92.5 25th percentile: 37.25 median: 84.5 75th percentile: 155.75 max: 177.0 |
|
| 0 | 1.0 | ||
|
commits (90d) min: 1.0 | average: 1.0 | 25th percentile: 1.0 | median: 1.0 | 75th percentile: 1.0 | max: 1.0
|
|||
File Size vs. Contributors (90 days): 4 points
|
|
177.0 | lines of code min: 24.0average: 92.5 25th percentile: 37.25 median: 84.5 75th percentile: 155.75 max: 177.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