File Size Overall
- There are 68 files with 17,721 lines of code.
- 2 very long files (4,778 lines of code)
- 7 long files (4,912 lines of code)
- 13 medium size files (4,223 lines of code)
- 14 small files (2,115 lines of code)
- 32 very small files (1,693 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 |
|---|---|---|
| 2599 | 46 | |
| 2179 | 36 | |
| 947 | - | |
| 935 | 28 | |
| 743 | 9 | |
| 618 | - | |
| 579 | - | |
| 554 | 17 | |
| 536 | 3 | |
| 473 | - | |
| 400 | 2 | |
| 387 | 4 | |
| 358 | - | |
| 338 | - | |
| 316 | - | |
| 314 | 7 | |
| 313 | 7 | |
| 295 | - | |
| 285 | - | |
| 277 | - | |
| 244 | - | |
| 223 | 11 | |
| 187 | 9 | |
| 179 | 7 | |
| 174 | 8 | |
| 171 | 6 | |
| 162 | 5 | |
| 161 | 6 | |
| 155 | 9 | |
| 155 | - | |
| 154 | 5 | |
| 140 | 6 | |
| 127 | 3 | |
| 121 | - | |
| 119 | - | |
| 110 | - | |
| 100 | 6 | |
| 98 | 5 | |
| 94 | - | |
| 93 | 7 | |
| 92 | - | |
| 92 | - | |
| 86 | 6 | |
| 82 | - | |
| 79 | - | |
| 74 | 5 | |
| 66 | - | |
| 58 | - | |
| 56 | - | |
| 54 | 4 |
Large Files That Change Often (Top 3)
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 |
|---|---|---|---|---|---|
| 2179 | ~15k–50k | 2 | ~200 | ~10 | |
| 536 | ~3k–10k | 2 | ~2 | ~300 | |
| 244 | ~1.5k–5k | 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 30)
| File | # lines | # units |
|---|---|---|
| 2599 | 46 | |
| 2179 | 36 | |
| 935 | 28 | |
| 554 | 17 | |
| 223 | 11 | |
| 155 | 9 | |
| 743 | 9 | |
| 187 | 9 | |
| 174 | 8 | |
| 93 | 7 | |
| 313 | 7 | |
| 179 | 7 | |
| 314 | 7 | |
| 161 | 6 | |
| 140 | 6 | |
| 171 | 6 | |
| 86 | 6 | |
| 100 | 6 | |
| 44 | 5 | |
| 154 | 5 | |
| 74 | 5 | |
| 162 | 5 | |
| 98 | 5 | |
| 387 | 4 | |
| 54 | 4 | |
| 536 | 3 | |
| 53 | 3 | |
| 127 | 3 | |
| 26 | 2 | |
| 400 | 2 |
Files With Long Lines (Top 8)
There are 8 files with lines longer than 120 characters. In total, there are 15 long lines.
| File | # lines | # units | # long lines |
|---|---|---|---|
| 536 | 3 | 4 | |
| 162 | 5 | 4 | |
| 2179 | 36 | 2 | |
| 24 | - | 1 | |
| 44 | 5 | 1 | |
| 223 | 11 | 1 | |
| 935 | 28 | 1 | |
| 2599 | 46 | 1 |
Correlations
File Size vs. Commits (all time): 3 points
|
|
2179.0 | lines of code min: 244.0average: 986.33 25th percentile: 244.0 median: 536.0 75th percentile: 2179.0 max: 2179.0 |
|
| 0 | 2.0 | ||
|
commits (all time) min: 2.0 | average: 2.0 | 25th percentile: 2.0 | median: 2.0 | 75th percentile: 2.0 | max: 2.0
|
|||
File Size vs. Contributors (all time): 3 points
|
|
2179.0 | lines of code min: 244.0average: 986.33 25th percentile: 244.0 median: 536.0 75th percentile: 2179.0 max: 2179.0 |
|
| 0 | 1.0 | ||
|
contributors (all time) min: 1.0 | average: 1.0 | 25th percentile: 1.0 | median: 1.0 | 75th percentile: 1.0 | max: 1.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): 0 points
No data for "commits (90d)" vs. "lines of code".
File Size vs. Contributors (90 days): 0 points
No data for "contributors (90d)" vs. "lines of code".
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