File Size Overall
- There are 29 files with 9,741 lines of code.
- 3 very long files (3,198 lines of code)
- 4 long files (3,049 lines of code)
- 8 medium size files (2,396 lines of code)
- 5 small files (831 lines of code)
- 9 very small files (267 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 29)
| File | # lines | # units |
|---|---|---|
| 1117 | 15 | |
| 1068 | 26 | |
| 1013 | 22 | |
| 871 | 36 | |
| 853 | - | |
| 792 | 25 | |
| 533 | 17 | |
| 440 | 6 | |
| 431 | - | |
| 314 | 18 | |
| 296 | 4 | |
| 239 | - | |
| 232 | 2 | |
| 224 | 8 | |
| 220 | 5 | |
| 200 | - | |
| 188 | 21 | |
| 178 | 7 | |
| 146 | 1 | |
| 119 | 5 | |
| 92 | 5 | |
| 59 | - | |
| 39 | 1 | |
| 24 | - | |
| 18 | - | |
| 12 | - | |
| 8 | - | |
| 8 | - | |
| 7 | - |
Large Files That Change Often (Top 18)
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 |
|---|---|---|---|---|---|
| 853 | ~5k–15k | 33 | ~30 | ~30 | |
| 1117 | ~7k–20k | 8 | ~50 | ~20 | |
| 1068 | ~7k–15k | 8 | ~50 | ~20 | |
| 1013 | ~7k–15k | 7 | ~70 | ~15 | |
| 440 | ~3k–7k | 11 | ~50 | ~10 | |
| 871 | ~5k–15k | 4 | ~10 | ~70 | |
| 792 | ~5k–15k | 4 | ~20 | ~50 | |
| 296 | ~2k–5k | 6 | ~20 | ~15 | |
| 431 | ~3k–7k | 4 | ~30 | ~10 | |
| 232 | ~1.5k–5k | 7 | ~7 | ~30 | |
| 200 | ~1k–3k | 8 | ~70 | ~3 | |
| 224 | ~1.5k–5k | 6 | ~50 | ~5 | |
| 239 | ~1.5k–5k | 4 | ~7 | ~30 | |
| 146 | ~1k–3k | 4 | ~100 | ~2 | |
| 178 | ~1k–3k | 3 | ~150 | ~1 | |
| 220 | ~1.5k–5k | 2 | ~10 | ~20 | |
| 39 | under 1k | 2 | ~3 | ~15 | |
| 8 | under 1k | 4 | ~1 | ~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 18)
| File | # lines | # units |
|---|---|---|
| 871 | 36 | |
| 1068 | 26 | |
| 792 | 25 | |
| 1013 | 22 | |
| 188 | 21 | |
| 314 | 18 | |
| 533 | 17 | |
| 1117 | 15 | |
| 224 | 8 | |
| 178 | 7 | |
| 440 | 6 | |
| 119 | 5 | |
| 220 | 5 | |
| 92 | 5 | |
| 296 | 4 | |
| 232 | 2 | |
| 146 | 1 | |
| 39 | 1 |
Files With Long Lines (Top 4)
There are 4 files with lines longer than 120 characters. In total, there are 4 long lines.
| File | # lines | # units | # long lines |
|---|---|---|---|
| 59 | - | 1 | |
| 871 | 36 | 1 | |
| 1013 | 22 | 1 | |
| 853 | - | 1 |
Correlations
File Size vs. Commits (all time): 18 points
|
|
1117.0 | lines of code min: 8.0average: 464.83 25th percentile: 194.5 median: 267.5 75th percentile: 857.5 max: 1117.0 |
|
| 0 | 33.0 | ||
|
commits (all time) min: 2.0 | average: 6.94 | 25th percentile: 4.0 | median: 5.0 | 75th percentile: 8.0 | max: 33.0
|
|||
File Size vs. Contributors (all time): 18 points
|
|
1117.0 | lines of code min: 8.0average: 464.83 25th percentile: 194.5 median: 267.5 75th percentile: 857.5 max: 1117.0 |
|
| 0 | 8.0 | ||
|
contributors (all time) min: 2.0 | average: 3.39 | 25th percentile: 2.0 | median: 3.0 | 75th percentile: 4.0 | max: 8.0
|
|||
File Size vs. Commits (30 days): 2 points
|
|
1068.0 | lines of code min: 232.0average: 650.0 25th percentile: 232.0 median: 650.0 75th percentile: 1068.0 max: 1068.0 |
|
| 0 | 2.0 | ||
|
commits (30d) min: 2.0 | average: 2.0 | 25th percentile: 2.0 | median: 2.0 | 75th percentile: 2.0 | max: 2.0
|
|||
File Size vs. Contributors (30 days): 2 points
|
|
1068.0 | lines of code min: 232.0average: 650.0 25th percentile: 232.0 median: 650.0 75th percentile: 1068.0 max: 1068.0 |
|
| 0 | 2.0 | ||
|
contributors (30d) min: 2.0 | average: 2.0 | 25th percentile: 2.0 | median: 2.0 | 75th percentile: 2.0 | max: 2.0
|
|||
File Size vs. Commits (90 days): 17 points
|
|
1117.0 | lines of code min: 8.0average: 479.24 25th percentile: 189.0 median: 296.0 75th percentile: 862.0 max: 1117.0 |
|
| 0 | 18.0 | ||
|
commits (90d) min: 2.0 | average: 5.88 | 25th percentile: 4.0 | median: 4.0 | 75th percentile: 7.5 | max: 18.0
|
|||
File Size vs. Contributors (90 days): 17 points
|
|
1117.0 | lines of code min: 8.0average: 479.24 25th percentile: 189.0 median: 296.0 75th percentile: 862.0 max: 1117.0 |
|
| 0 | 5.0 | ||
|
contributors (90d) min: 2.0 | average: 3.24 | 25th percentile: 2.0 | median: 3.0 | 75th percentile: 4.0 | max: 5.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