guardian/360-pannellum-viewer
File Size The distribution of size of files (measured in lines of code). |
File Size Overall
- There are 76 files with 13,010 lines of code.
- 3 very long files (5,329 lines of code)
- 3 long files (2,330 lines of code)
- 8 medium size files (2,491 lines of code)
- 9 small files (1,267 lines of code)
- 53 very small files (1,593 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 |
|---|---|---|
| 1885 | 117 | |
| 1879 | 117 | |
| 1565 | 80 | |
| 910 | 32 | |
| 835 | 77 | |
| 585 | 46 | |
| 463 | 34 | |
| 463 | 31 | |
| 398 | 26 | |
| 268 | - | |
| 247 | 4 | |
| 226 | 19 | |
| 220 | 16 | |
| 206 | - | |
| 193 | 16 | |
| 167 | 5 | |
| 148 | 13 | |
| 147 | 14 | |
| 132 | - | |
| 126 | 17 | |
| 121 | 13 | |
| 117 | 12 | |
| 116 | 4 | |
| 92 | 8 | |
| 89 | - | |
| 89 | 8 | |
| 85 | 9 | |
| 82 | 5 | |
| 74 | 10 | |
| 63 | 5 | |
| 63 | 5 | |
| 62 | 3 | |
| 61 | - | |
| 59 | - | |
| 51 | - | |
| 48 | 3 | |
| 40 | 3 | |
| 40 | 1 | |
| 40 | - | |
| 38 | 2 | |
| 35 | - | |
| 32 | 2 | |
| 31 | 2 | |
| 29 | 3 | |
| 28 | - | |
| 26 | 2 | |
| 21 | 1 | |
| 21 | 1 | |
| 21 | 1 | |
| 21 | 1 |
Files With Most Units (Top 50)
| File | # lines | # units |
|---|---|---|
| 1885 | 117 | |
| 1879 | 117 | |
| 1565 | 80 | |
| 835 | 77 | |
| 585 | 46 | |
| 463 | 34 | |
| 910 | 32 | |
| 463 | 31 | |
| 398 | 26 | |
| 226 | 19 | |
| 126 | 17 | |
| 193 | 16 | |
| 220 | 16 | |
| 147 | 14 | |
| 148 | 13 | |
| 121 | 13 | |
| 117 | 12 | |
| 74 | 10 | |
| 85 | 9 | |
| 92 | 8 | |
| 89 | 8 | |
| 167 | 5 | |
| 82 | 5 | |
| 63 | 5 | |
| 63 | 5 | |
| 247 | 4 | |
| 116 | 4 | |
| 40 | 3 | |
| 29 | 3 | |
| 62 | 3 | |
| 48 | 3 | |
| 38 | 2 | |
| 14 | 2 | |
| 26 | 2 | |
| 32 | 2 | |
| 14 | 2 | |
| 31 | 2 | |
| 21 | 1 | |
| 16 | 1 | |
| 16 | 1 | |
| 16 | 1 | |
| 16 | 1 | |
| 21 | 1 | |
| 21 | 1 | |
| 13 | 1 | |
| 40 | 1 | |
| 21 | 1 | |
| 9 | 1 | |
| 9 | 1 | |
| 3 | 1 |
Files With Long Lines (Top 29)
There are 29 files with lines longer than 120 characters. In total, there are 155 long lines.
| File | # lines | # units | # long lines |
|---|---|---|---|
| 268 | - | 52 | |
| 1565 | 80 | 15 | |
| 910 | 32 | 12 | |
| 1885 | 117 | 12 | |
| 1879 | 117 | 12 | |
| 585 | 46 | 10 | |
| 206 | - | 6 | |
| 148 | 13 | 4 | |
| 247 | 4 | 3 | |
| 82 | 5 | 3 | |
| 220 | 16 | 3 | |
| 35 | - | 3 | |
| 463 | 31 | 2 | |
| 63 | 5 | 2 | |
| 48 | 3 | 2 | |
| 167 | 5 | 1 | |
| 463 | 34 | 1 | |
| 193 | 16 | 1 | |
| 14 | 2 | 1 | |
| 74 | 10 | 1 | |
| 226 | 19 | 1 | |
| 398 | 26 | 1 | |
| 92 | 8 | 1 | |
| 26 | 2 | 1 | |
| 121 | 13 | 1 | |
| 28 | - | 1 | |
| 32 | 2 | 1 | |
| 2 | - | 1 | |
| 21 | 1 | 1 |
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