File Size Overall
- There are 1,495 files with 41,287 lines of code.
- 2 very long files (2,363 lines of code)
- 0 long files (0 lines of code)
- 39 medium size files (11,307 lines of code)
- 75 small files (10,548 lines of code)
- 1,379 very small files (17,069 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 |
|---|---|---|
| 1349 | - | |
| 1014 | 50 | |
| 497 | 37 | |
| 495 | 21 | |
| 450 | 54 | |
| 446 | 20 | |
| 416 | 28 | |
| 399 | - | |
| 394 | - | |
| 390 | - | |
| 325 | 17 | |
| 319 | 13 | |
| 313 | 7 | |
| 307 | - | |
| 304 | 13 | |
| 294 | - | |
| 283 | 21 | |
| 282 | - | |
| 279 | 32 | |
| 277 | 14 | |
| 273 | 19 | |
| 267 | - | |
| 263 | 8 | |
| 253 | 6 | |
| 244 | 14 | |
| 242 | 27 | |
| 235 | 8 | |
| 235 | 9 | |
| 233 | 12 | |
| 231 | 30 | |
| 227 | 14 | |
| 224 | - | |
| 223 | 18 | |
| 222 | 8 | |
| 216 | 6 | |
| 216 | 11 | |
| 210 | 7 | |
| 210 | 9 | |
| 206 | 37 | |
| 204 | 9 | |
| 203 | 9 | |
| 197 | 12 | |
| 195 | 4 | |
| 191 | 11 | |
| 191 | 4 | |
| 188 | 7 | |
| 186 | 11 | |
| 185 | 1 | |
| 181 | 18 | |
| 181 | 11 |
Large Files That Change Often (Top 1)
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 |
|---|---|---|---|---|---|
| 32 | under 1k | 1 | ~7 | ~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 50)
| File | # lines | # units |
|---|---|---|
| 450 | 54 | |
| 1014 | 50 | |
| 206 | 37 | |
| 497 | 37 | |
| 279 | 32 | |
| 231 | 30 | |
| 416 | 28 | |
| 242 | 27 | |
| 495 | 21 | |
| 283 | 21 | |
| 148 | 21 | |
| 446 | 20 | |
| 273 | 19 | |
| 181 | 18 | |
| 223 | 18 | |
| 125 | 17 | |
| 325 | 17 | |
| 157 | 17 | |
| 152 | 16 | |
| 115 | 15 | |
| 58 | 15 | |
| 170 | 15 | |
| 244 | 14 | |
| 125 | 14 | |
| 227 | 14 | |
| 277 | 14 | |
| 162 | 13 | |
| 107 | 13 | |
| 319 | 13 | |
| 163 | 13 | |
| 72 | 13 | |
| 150 | 13 | |
| 304 | 13 | |
| 64 | 13 | |
| 233 | 12 | |
| 178 | 12 | |
| 197 | 12 | |
| 173 | 12 | |
| 186 | 11 | |
| 181 | 11 | |
| 216 | 11 | |
| 191 | 11 | |
| 151 | 11 | |
| 147 | 10 | |
| 68 | 10 | |
| 91 | 10 | |
| 157 | 9 | |
| 203 | 9 | |
| 75 | 9 | |
| 81 | 9 |
Files With Long Lines (Top 50)
There are 131 files with lines longer than 120 characters. In total, there are 324 long lines.
| File | # lines | # units | # long lines |
|---|---|---|---|
| 224 | - | 28 | |
| 497 | 37 | 26 | |
| 137 | - | 16 | |
| 1349 | - | 15 | |
| 191 | 4 | 12 | |
| 48 | - | 8 | |
| 55 | - | 8 | |
| 253 | 6 | 7 | |
| 44 | - | 7 | |
| 57 | - | 6 | |
| 47 | 4 | 6 | |
| 18 | - | 5 | |
| 34 | 5 | 5 | |
| 129 | 5 | 5 | |
| 304 | 13 | 5 | |
| 24 | - | 5 | |
| 91 | 5 | 4 | |
| 416 | 28 | 4 | |
| 28 | - | 4 | |
| 24 | - | 4 | |
| 140 | 9 | 3 | |
| 66 | 1 | 3 | |
| 210 | 7 | 3 | |
| 115 | 15 | 3 | |
| 12 | - | 3 | |
| 283 | 21 | 3 | |
| 96 | - | 3 | |
| 19 | - | 3 | |
| 147 | 10 | 2 | |
| 118 | 6 | 2 | |
| 126 | 3 | 2 | |
| 159 | 4 | 2 | |
| 27 | 4 | 2 | |
| 1014 | 50 | 2 | |
| 9 | - | 2 | |
| 145 | 8 | 2 | |
| 313 | 7 | 2 | |
| 16 | - | 2 | |
| 19 | - | 2 | |
| 19 | - | 2 | |
| 20 | - | 2 | |
| 24 | - | 2 | |
| 51 | 1 | 2 | |
| 43 | 1 | 2 | |
| 44 | 1 | 2 | |
| 47 | 4 | 1 | |
| 181 | 18 | 1 | |
| 4 | - | 1 | |
| 99 | - | 1 | |
| 178 | 12 | 1 |
Correlations
File Size vs. Commits (all time): 1491 points
|
|
1349.0 | lines of code min: 1.0average: 27.67 25th percentile: 3.0 median: 3.0 75th percentile: 16.0 max: 1349.0 |
|
| 0 | 27.0 | ||
|
commits (all time) min: 1.0 | average: 1.27 | 25th percentile: 1.0 | median: 1.0 | 75th percentile: 1.0 | max: 27.0
|
|||
File Size vs. Contributors (all time): 1491 points
|
|
1349.0 | lines of code min: 1.0average: 27.67 25th percentile: 3.0 median: 3.0 75th percentile: 16.0 max: 1349.0 |
|
| 0 | 18.0 | ||
|
contributors (all time) min: 1.0 | average: 1.18 | 25th percentile: 1.0 | median: 1.0 | 75th percentile: 1.0 | max: 18.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