File Size Overall
- There are 79 files with 8,346 lines of code.
- 0 very long files (0 lines of code)
- 3 long files (2,275 lines of code)
- 8 medium size files (2,226 lines of code)
- 13 small files (1,916 lines of code)
- 55 very small files (1,929 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 |
|---|---|---|
| 993 | 3 | |
| 668 | - | |
| 614 | - | |
| 423 | 13 | |
| 416 | 5 | |
| 272 | - | |
| 271 | 3 | |
| 216 | 1 | |
| 212 | - | |
| 211 | 8 | |
| 205 | 7 | |
| 191 | 2 | |
| 184 | 8 | |
| 177 | 9 | |
| 163 | 2 | |
| 159 | 4 | |
| 152 | 3 | |
| 145 | - | |
| 136 | - | |
| 132 | - | |
| 132 | - | |
| 116 | 10 | |
| 116 | 8 | |
| 113 | 2 | |
| 95 | 1 | |
| 89 | - | |
| 85 | 3 | |
| 81 | 4 | |
| 79 | - | |
| 79 | 1 | |
| 71 | 1 | |
| 70 | 5 | |
| 68 | 1 | |
| 67 | - | |
| 63 | 1 | |
| 57 | 2 | |
| 53 | - | |
| 51 | 1 | |
| 50 | - | |
| 50 | 3 | |
| 48 | 1 | |
| 47 | 3 | |
| 46 | - | |
| 42 | - | |
| 42 | - | |
| 41 | 1 | |
| 36 | 2 | |
| 35 | 1 | |
| 32 | 1 | |
| 31 | - |
Large Files That Change Often (Top 8)
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 |
|---|---|---|---|---|---|
| 423 | ~2k–7k | 11 | ~30 | ~15 | |
| 416 | ~2k–7k | 11 | ~15 | ~30 | |
| 668 | ~3k–10k | 3 | ~30 | ~20 | |
| 136 | ~700–2k | 6 | ~20 | ~5 | |
| 216 | ~1.5k–5k | 3 | ~20 | ~10 | |
| 152 | ~1k–3k | 4 | ~30 | ~5 | |
| 184 | ~1k–3k | 2 | ~20 | ~7 | |
| 85 | ~500–1.5k | 4 | ~30 | ~3 |
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 41)
| File | # lines | # units |
|---|---|---|
| 423 | 13 | |
| 116 | 10 | |
| 177 | 9 | |
| 116 | 8 | |
| 184 | 8 | |
| 211 | 8 | |
| 205 | 7 | |
| 416 | 5 | |
| 70 | 5 | |
| 30 | 4 | |
| 81 | 4 | |
| 159 | 4 | |
| 993 | 3 | |
| 47 | 3 | |
| 85 | 3 | |
| 152 | 3 | |
| 271 | 3 | |
| 50 | 3 | |
| 36 | 2 | |
| 163 | 2 | |
| 57 | 2 | |
| 191 | 2 | |
| 113 | 2 | |
| 22 | 1 | |
| 15 | 1 | |
| 9 | 1 | |
| 21 | 1 | |
| 51 | 1 | |
| 28 | 1 | |
| 25 | 1 | |
| 48 | 1 | |
| 216 | 1 | |
| 68 | 1 | |
| 18 | 1 | |
| 95 | 1 | |
| 41 | 1 | |
| 35 | 1 | |
| 32 | 1 | |
| 71 | 1 | |
| 63 | 1 | |
| 79 | 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 |
|---|---|---|---|
| 177 | 9 | 3 | |
| 668 | - | 3 | |
| 205 | 7 | 3 | |
| 145 | - | 2 | |
| 416 | 5 | 2 | |
| 159 | 4 | 2 | |
| 614 | - | 1 | |
| 36 | 2 | 1 | |
| 272 | - | 1 | |
| 95 | 1 | 1 | |
| 271 | 3 | 1 |
Correlations
File Size vs. Commits (all time): 79 points
|
|
993.0 | lines of code min: 2.0average: 105.65 25th percentile: 18.0 median: 50.0 75th percentile: 132.0 max: 993.0 |
|
| 0 | 58.0 | ||
|
commits (all time) min: 1.0 | average: 6.42 | 25th percentile: 1.0 | median: 3.0 | 75th percentile: 8.0 | max: 58.0
|
|||
File Size vs. Contributors (all time): 79 points
|
|
993.0 | lines of code min: 2.0average: 105.65 25th percentile: 18.0 median: 50.0 75th percentile: 132.0 max: 993.0 |
|
| 0 | 5.0 | ||
|
contributors (all time) min: 1.0 | average: 1.28 | 25th percentile: 1.0 | median: 1.0 | 75th percentile: 1.0 | max: 5.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): 3 points
|
|
423.0 | lines of code min: 184.0average: 341.0 25th percentile: 184.0 median: 416.0 75th percentile: 423.0 max: 423.0 |
|
| 0 | 3.0 | ||
|
commits (90d) min: 2.0 | average: 2.33 | 25th percentile: 2.0 | median: 2.0 | 75th percentile: 3.0 | max: 3.0
|
|||
File Size vs. Contributors (90 days): 3 points
|
|
423.0 | lines of code min: 184.0average: 341.0 25th percentile: 184.0 median: 416.0 75th percentile: 423.0 max: 423.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