File Size Overall
- There are 47 files with 2,629 lines of code.
- 0 very long files (0 lines of code)
- 0 long files (0 lines of code)
- 1 medium size files (223 lines of code)
- 7 small files (1,082 lines of code)
- 39 very small files (1,324 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 47)
| File | # lines | # units |
|---|---|---|
| 223 | 29 | |
| 198 | 24 | |
| 183 | 21 | |
| 157 | 20 | |
| 156 | 8 | |
| 149 | 17 | |
| 134 | 17 | |
| 105 | 12 | |
| 99 | 10 | |
| 97 | 2 | |
| 89 | 8 | |
| 82 | 10 | |
| 76 | 10 | |
| 76 | 8 | |
| 62 | 7 | |
| 53 | 6 | |
| 53 | 6 | |
| 50 | 5 | |
| 47 | 12 | |
| 47 | 12 | |
| 44 | 6 | |
| 39 | 8 | |
| 37 | 8 | |
| 32 | 8 | |
| 31 | 5 | |
| 30 | 5 | |
| 23 | 4 | |
| 21 | 4 | |
| 21 | 5 | |
| 19 | 4 | |
| 18 | 3 | |
| 18 | 3 | |
| 17 | 4 | |
| 17 | 3 | |
| 15 | 3 | |
| 14 | 3 | |
| 14 | 4 | |
| 12 | 3 | |
| 11 | - | |
| 11 | 1 | |
| 9 | - | |
| 8 | - | |
| 7 | - | |
| 7 | - | |
| 7 | - | |
| 7 | 1 | |
| 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 |
|---|---|---|---|---|---|
| 149 | ~1k–3k | 1 | ~30 | ~3 | |
| 76 | ~500–1.5k | 1 | ~30 | ~2 | |
| 7 | under 1k | 1 | ~15 | ~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 40)
| File | # lines | # units |
|---|---|---|
| 223 | 29 | |
| 198 | 24 | |
| 183 | 21 | |
| 157 | 20 | |
| 134 | 17 | |
| 149 | 17 | |
| 105 | 12 | |
| 47 | 12 | |
| 47 | 12 | |
| 76 | 10 | |
| 82 | 10 | |
| 99 | 10 | |
| 156 | 8 | |
| 32 | 8 | |
| 39 | 8 | |
| 37 | 8 | |
| 89 | 8 | |
| 76 | 8 | |
| 62 | 7 | |
| 44 | 6 | |
| 53 | 6 | |
| 53 | 6 | |
| 50 | 5 | |
| 30 | 5 | |
| 21 | 5 | |
| 31 | 5 | |
| 23 | 4 | |
| 21 | 4 | |
| 17 | 4 | |
| 19 | 4 | |
| 14 | 4 | |
| 12 | 3 | |
| 18 | 3 | |
| 18 | 3 | |
| 17 | 3 | |
| 15 | 3 | |
| 14 | 3 | |
| 97 | 2 | |
| 11 | 1 | |
| 7 | 1 |
Files With Long Lines (Top 12)
There are 12 files with lines longer than 120 characters. In total, there are 28 long lines.
| File | # lines | # units | # long lines |
|---|---|---|---|
| 134 | 17 | 5 | |
| 32 | 8 | 3 | |
| 97 | 2 | 3 | |
| 198 | 24 | 3 | |
| 47 | 12 | 3 | |
| 47 | 12 | 3 | |
| 156 | 8 | 2 | |
| 105 | 12 | 2 | |
| 39 | 8 | 1 | |
| 76 | 10 | 1 | |
| 183 | 21 | 1 | |
| 76 | 8 | 1 |
Correlations
File Size vs. Commits (all time): 47 points
|
|
223.0 | lines of code min: 4.0average: 55.94 25th percentile: 14.0 median: 32.0 75th percentile: 82.0 max: 223.0 |
|
| 0 | 74.0 | ||
|
commits (all time) min: 2.0 | average: 14.96 | 25th percentile: 4.0 | median: 12.0 | 75th percentile: 19.0 | max: 74.0
|
|||
File Size vs. Contributors (all time): 47 points
|
|
223.0 | lines of code min: 4.0average: 55.94 25th percentile: 14.0 median: 32.0 75th percentile: 82.0 max: 223.0 |
|
| 0 | 9.0 | ||
|
contributors (all time) min: 1.0 | average: 2.94 | 25th percentile: 1.0 | median: 2.0 | 75th percentile: 4.0 | max: 9.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