anthropics/fermats-last-theorem
File Size The distribution of size of files (measured in lines of code). |
File Size Overall
- There are 38,139 files with 5,889,779 lines of code.
- 773 very long files (1,432,701 lines of code)
- 2,051 long files (1,419,878 lines of code)
- 4,938 medium size files (1,558,958 lines of code)
- 4,904 small files (710,409 lines of code)
- 25,473 very small files (767,833 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 |
|---|---|---|
| 8429 | - | |
| 7751 | - | |
| 7747 | - | |
| 7680 | - | |
| 6800 | - | |
| 6794 | - | |
| 6771 | - | |
| 6511 | - | |
| 6438 | - | |
| 6437 | - | |
| 6435 | - | |
| 6434 | - | |
| 6313 | - | |
| 6235 | - | |
| 6231 | - | |
| 6211 | - | |
| 6066 | - | |
| 6021 | - | |
| 5837 | - | |
| 5695 | - | |
| 5618 | - | |
| 5449 | - | |
| 5396 | - | |
| 5367 | - | |
| 5306 | - | |
| 5211 | - | |
| 5200 | - | |
| 5198 | - | |
| 5191 | - | |
| 5149 | - | |
| 5117 | - | |
| 5016 | - | |
| 5013 | - | |
| 4799 | - | |
| 4698 | - | |
| 4687 | - | |
| 4631 | - | |
| 4519 | - | |
| 4510 | - | |
| 4505 | - | |
| 4490 | - | |
| 4442 | - | |
| 4432 | - | |
| 4371 | - | |
| 4334 | - | |
| 4216 | - | |
| 4165 | - | |
| 4134 | - | |
| 4133 | - | |
| 4091 | - |
Files With Most Units (Top 12)
| File | # lines | # units |
|---|---|---|
| 358 | 27 | |
| 358 | 27 | |
| 1059 | 21 | |
| 153 | 7 | |
| 153 | 7 | |
| 85 | 4 | |
| 183 | 3 | |
| 155 | 2 | |
| 55 | 2 | |
| 163 | 2 | |
| 55 | 2 | |
| 41 | 1 |
Files With Long Lines (Top 50)
There are 30629 files with lines longer than 120 characters. In total, there are 194956 long lines.
| File | # lines | # units | # long lines |
|---|---|---|---|
| 3958 | - | 529 | |
| 5695 | - | 444 | |
| 2921 | - | 423 | |
| 2909 | - | 399 | |
| 1894 | - | 398 | |
| 2785 | - | 392 | |
| 3861 | - | 338 | |
| 3861 | - | 335 | |
| 3483 | - | 334 | |
| 3463 | - | 333 | |
| 6511 | - | 297 | |
| 2849 | - | 288 | |
| 4442 | - | 280 | |
| 3715 | - | 273 | |
| 1565 | - | 255 | |
| 5449 | - | 247 | |
| 5396 | - | 246 | |
| 5367 | - | 246 | |
| 5200 | - | 245 | |
| 5618 | - | 244 | |
| 1606 | - | 241 | |
| 1218 | - | 238 | |
| 7680 | - | 236 | |
| 7751 | - | 229 | |
| 1920 | - | 227 | |
| 7747 | - | 218 | |
| 4698 | - | 216 | |
| 1059 | 21 | 215 | |
| 2272 | - | 214 | |
| 6794 | - | 211 | |
| 2250 | - | 210 | |
| 1849 | - | 209 | |
| 561 | - | 207 | |
| 1564 | - | 205 | |
| 4519 | - | 202 | |
| 1210 | - | 202 | |
| 6771 | - | 200 | |
| 4687 | - | 197 | |
| 2065 | - | 196 | |
| 2020 | - | 195 | |
| 613 | - | 194 | |
| 1025 | - | 194 | |
| 6437 | - | 194 | |
| 6435 | - | 193 | |
| 6438 | - | 190 | |
| 6434 | - | 189 | |
| 1419 | - | 187 | |
| 3295 | - | 178 | |
| 597 | - | 177 | |
| 860 | - | 176 |
Correlations
File Size vs. Commits (all time): 0 points
No data for "commits (all time)" vs. "lines of code".
File Size vs. Contributors (all time): 0 points
No data for "contributors (all time)" vs. "lines of code".
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