File Size Overall
- There are 22 files with 3,744 lines of code.
- 0 very long files (0 lines of code)
- 1 long files (947 lines of code)
- 7 medium size files (1,937 lines of code)
- 4 small files (568 lines of code)
- 10 very small files (292 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 22)
| File | # lines | # units |
|---|---|---|
| 947 | 40 | |
| 356 | 15 | |
| 318 | 10 | |
| 309 | 8 | |
| 301 | 7 | |
| 230 | 11 | |
| 221 | 11 | |
| 202 | 12 | |
| 152 | 2 | |
| 147 | 5 | |
| 140 | 9 | |
| 129 | 6 | |
| 74 | 3 | |
| 57 | 1 | |
| 41 | 2 | |
| 37 | - | |
| 31 | - | |
| 29 | - | |
| 10 | - | |
| 7 | - | |
| 4 | - | |
| 2 | - |
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 |
|---|---|---|---|---|---|
| 356 | ~2k–5k | 11 | ~30 | ~10 | |
| 301 | ~2k–5k | 8 | ~20 | ~15 | |
| 947 | ~5k–15k | 2 | ~700 | ~2 | |
| 221 | ~1.5k–5k | 5 | ~70 | ~3 | |
| 318 | ~2k–5k | 2 | ~200 | ~2 | |
| 152 | ~1k–3k | 3 | ~20 | ~7 | |
| 202 | ~1k–3k | 2 | ~70 | ~3 | |
| 309 | ~2k–5k | 1 | ~300 | ~1 | |
| 230 | ~1.5k–5k | 1 | ~300 | ~1 | |
| 37 | under 1k | 5 | ~10 | ~3 | |
| 29 | under 1k | 6 | ~30 | ~1 | |
| 147 | ~1k–3k | 1 | ~150 | ~1 | |
| 140 | ~700–2k | 1 | ~150 | ~1 | |
| 129 | ~700–2k | 1 | ~150 | ~1 | |
| 31 | under 1k | 4 | ~20 | ~2 | |
| 74 | ~500–1.5k | 1 | ~100 | ~1 | |
| 57 | ~300–1k | 1 | ~100 | ~1 | |
| 41 | under 1k | 1 | ~15 | ~2 | |
| 4 | under 1k | 2 | ~2 | ~2 | |
| 7 | under 1k | 1 | ~10 | ~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 15)
Files With Long Lines (Top 1)
There is only one file with lines longer than 120 characters. In total, there are 6 long lines.
| File | # lines | # units | # long lines |
|---|---|---|---|
| 947 | 40 | 6 |
Correlations
File Size vs. Commits (all time): 22 points
|
|
947.0 | lines of code min: 2.0average: 170.18 25th percentile: 30.5 median: 134.5 75th percentile: 247.75 max: 947.0 |
|
| 0 | 21.0 | ||
|
commits (all time) min: 1.0 | average: 5.36 | 25th percentile: 1.0 | median: 2.0 | 75th percentile: 10.25 | max: 21.0
|
|||
File Size vs. Contributors (all time): 22 points
|
|
947.0 | lines of code min: 2.0average: 170.18 25th percentile: 30.5 median: 134.5 75th percentile: 247.75 max: 947.0 |
|
| 0 | 7.0 | ||
|
contributors (all time) min: 1.0 | average: 2.5 | 25th percentile: 1.0 | median: 2.0 | 75th percentile: 3.25 | max: 7.0
|
|||
File Size vs. Commits (30 days): 10 points
|
|
356.0 | lines of code min: 4.0average: 149.0 25th percentile: 23.5 median: 104.5 75th percentile: 311.25 max: 356.0 |
|
| 0 | 1.0 | ||
|
commits (30d) min: 1.0 | average: 1.0 | 25th percentile: 1.0 | median: 1.0 | 75th percentile: 1.0 | max: 1.0
|
|||
File Size vs. Contributors (30 days): 10 points
|
|
356.0 | lines of code min: 4.0average: 149.0 25th percentile: 23.5 median: 104.5 75th percentile: 311.25 max: 356.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): 19 points
|
|
947.0 | lines of code min: 4.0average: 194.26 25th percentile: 37.0 median: 147.0 75th percentile: 301.0 max: 947.0 |
|
| 0 | 7.0 | ||
|
commits (90d) min: 1.0 | average: 2.16 | 25th percentile: 1.0 | median: 1.0 | 75th percentile: 2.0 | max: 7.0
|
|||
File Size vs. Contributors (90 days): 19 points
|
|
947.0 | lines of code min: 4.0average: 194.26 25th percentile: 37.0 median: 147.0 75th percentile: 301.0 max: 947.0 |
|
| 0 | 4.0 | ||
|
contributors (90d) min: 1.0 | average: 1.53 | 25th percentile: 1.0 | median: 1.0 | 75th percentile: 2.0 | max: 4.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