File Size Overall
- There are 52 files with 3,413 lines of code.
- 0 very long files (0 lines of code)
- 0 long files (0 lines of code)
- 2 medium size files (586 lines of code)
- 11 small files (1,418 lines of code)
- 39 very small files (1,409 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 |
|---|---|---|
| 376 | - | |
| 210 | 8 | |
| 173 | 3 | |
| 156 | 7 | |
| 146 | 8 | |
| 138 | 12 | |
| 132 | 3 | |
| 124 | 9 | |
| 120 | 13 | |
| 113 | 9 | |
| 111 | 15 | |
| 103 | 1 | |
| 102 | - | |
| 98 | 1 | |
| 87 | - | |
| 86 | 1 | |
| 85 | - | |
| 81 | - | |
| 78 | 2 | |
| 75 | - | |
| 67 | - | |
| 63 | - | |
| 55 | - | |
| 48 | 1 | |
| 46 | 1 | |
| 41 | - | |
| 40 | 1 | |
| 35 | 6 | |
| 34 | - | |
| 32 | - | |
| 31 | - | |
| 30 | 2 | |
| 30 | - | |
| 27 | - | |
| 27 | 1 | |
| 25 | - | |
| 25 | - | |
| 23 | 1 | |
| 19 | - | |
| 16 | - | |
| 12 | - | |
| 12 | - | |
| 11 | - | |
| 10 | - | |
| 10 | - | |
| 10 | - | |
| 10 | - | |
| 9 | - | |
| 6 | - | |
| 6 | 2 |
Large Files That Change Often (Top 6)
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 |
|---|---|---|---|---|---|
| 86 | ~500–1.5k | 11 | ~15 | ~5 | |
| 146 | ~1k–3k | 2 | ~20 | ~5 | |
| 120 | ~700–2k | 2 | ~20 | ~7 | |
| 32 | under 1k | 2 | ~10 | ~3 | |
| 23 | under 1k | 2 | ~10 | ~2 | |
| 10 | under 1k | 3 | ~50 | ~0 |
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 22)
| File | # lines | # units |
|---|---|---|
| 111 | 15 | |
| 120 | 13 | |
| 138 | 12 | |
| 113 | 9 | |
| 124 | 9 | |
| 146 | 8 | |
| 210 | 8 | |
| 156 | 7 | |
| 35 | 6 | |
| 173 | 3 | |
| 132 | 3 | |
| 30 | 2 | |
| 78 | 2 | |
| 6 | 2 | |
| 86 | 1 | |
| 46 | 1 | |
| 98 | 1 | |
| 40 | 1 | |
| 23 | 1 | |
| 103 | 1 | |
| 27 | 1 | |
| 48 | 1 |
Files With Long Lines (Top 11)
There are 11 files with lines longer than 120 characters. In total, there are 20 long lines.
| File | # lines | # units | # long lines |
|---|---|---|---|
| 87 | - | 5 | |
| 85 | - | 3 | |
| 86 | 1 | 2 | |
| 31 | - | 2 | |
| 63 | - | 2 | |
| 25 | - | 1 | |
| 81 | - | 1 | |
| 27 | - | 1 | |
| 55 | - | 1 | |
| 75 | - | 1 | |
| 210 | 8 | 1 |
Correlations
File Size vs. Commits (all time): 52 points
|
|
376.0 | lines of code min: 4.0average: 65.63 25th percentile: 16.75 median: 40.5 75th percentile: 101.0 max: 376.0 |
|
| 0 | 74.0 | ||
|
commits (all time) min: 2.0 | average: 18.13 | 25th percentile: 6.0 | median: 11.0 | 75th percentile: 25.0 | max: 74.0
|
|||
File Size vs. Contributors (all time): 52 points
|
|
376.0 | lines of code min: 4.0average: 65.63 25th percentile: 16.75 median: 40.5 75th percentile: 101.0 max: 376.0 |
|
| 0 | 15.0 | ||
|
contributors (all time) min: 1.0 | average: 5.98 | 25th percentile: 3.0 | median: 5.0 | 75th percentile: 8.75 | max: 15.0
|
|||
File Size vs. Commits (30 days): 2 points
|
|
86.0 | lines of code min: 10.0average: 48.0 25th percentile: 10.0 median: 48.0 75th percentile: 86.0 max: 86.0 |
|
| 0 | 8.0 | ||
|
commits (30d) min: 1.0 | average: 4.5 | 25th percentile: 1.0 | median: 4.5 | 75th percentile: 8.0 | max: 8.0
|
|||
File Size vs. Contributors (30 days): 2 points
|
|
86.0 | lines of code min: 10.0average: 48.0 25th percentile: 10.0 median: 48.0 75th percentile: 86.0 max: 86.0 |
|
| 0 | 2.0 | ||
|
contributors (30d) min: 1.0 | average: 1.5 | 25th percentile: 1.0 | median: 1.5 | 75th percentile: 2.0 | max: 2.0
|
|||
File Size vs. Commits (90 days): 2 points
|
|
86.0 | lines of code min: 10.0average: 48.0 25th percentile: 10.0 median: 48.0 75th percentile: 86.0 max: 86.0 |
|
| 0 | 8.0 | ||
|
commits (90d) min: 1.0 | average: 4.5 | 25th percentile: 1.0 | median: 4.5 | 75th percentile: 8.0 | max: 8.0
|
|||
File Size vs. Contributors (90 days): 2 points
|
|
86.0 | lines of code min: 10.0average: 48.0 25th percentile: 10.0 median: 48.0 75th percentile: 86.0 max: 86.0 |
|
| 0 | 2.0 | ||
|
contributors (90d) min: 1.0 | average: 1.5 | 25th percentile: 1.0 | median: 1.5 | 75th percentile: 2.0 | max: 2.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