guardian/interactive-page-enhancer-greene
File Size The distribution of size of files (measured in lines of code). |
File Size Overall
- There are 68 files with 7,817 lines of code.
- 1 very long files (1,565 lines of code)
- 2 long files (1,420 lines of code)
- 7 medium size files (2,257 lines of code)
- 8 small files (1,135 lines of code)
- 50 very small files (1,440 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 |
|---|---|---|
| 1565 | 80 | |
| 835 | 77 | |
| 585 | 46 | |
| 463 | 34 | |
| 463 | 31 | |
| 398 | 26 | |
| 268 | - | |
| 226 | 19 | |
| 220 | 16 | |
| 219 | 4 | |
| 193 | 16 | |
| 167 | 5 | |
| 148 | 13 | |
| 147 | 14 | |
| 126 | 17 | |
| 121 | 13 | |
| 117 | 12 | |
| 116 | 4 | |
| 92 | 8 | |
| 89 | 8 | |
| 85 | 9 | |
| 84 | - | |
| 82 | 5 | |
| 74 | 10 | |
| 63 | 5 | |
| 63 | 5 | |
| 62 | 3 | |
| 51 | - | |
| 48 | 3 | |
| 40 | 3 | |
| 40 | - | |
| 38 | 2 | |
| 35 | - | |
| 35 | - | |
| 32 | 2 | |
| 31 | 2 | |
| 29 | 3 | |
| 26 | 2 | |
| 26 | - | |
| 21 | 1 | |
| 21 | 1 | |
| 21 | 1 | |
| 21 | 1 | |
| 21 | 1 | |
| 19 | - | |
| 16 | 1 | |
| 16 | 1 | |
| 16 | 1 | |
| 16 | 1 | |
| 14 | 2 |
Files With Most Units (Top 48)
| File | # lines | # units |
|---|---|---|
| 1565 | 80 | |
| 835 | 77 | |
| 585 | 46 | |
| 463 | 34 | |
| 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 | |
| 219 | 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 | |
| 21 | 1 | |
| 9 | 1 | |
| 9 | 1 | |
| 3 | 1 | |
| 4 | 1 | |
| 21 | 1 |
Files With Long Lines (Top 24)
There are 24 files with lines longer than 120 characters. In total, there are 111 long lines.
| File | # lines | # units | # long lines |
|---|---|---|---|
| 268 | - | 52 | |
| 1565 | 80 | 15 | |
| 585 | 46 | 10 | |
| 148 | 13 | 4 | |
| 82 | 5 | 3 | |
| 220 | 16 | 3 | |
| 35 | - | 3 | |
| 219 | 4 | 2 | |
| 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 | |
| 32 | 2 | 1 | |
| 2 | - | 1 | |
| 21 | 1 | 1 |
Correlations
File Size vs. Commits (all time): 1 points
|
|
26.0 | lines of code min: 26.0average: 26.0 25th percentile: 26.0 median: 26.0 75th percentile: 26.0 max: 26.0 |
|
| 0 | 1.0 | ||
|
commits (all time) min: 1.0 | average: 1.0 | 25th percentile: 1.0 | median: 1.0 | 75th percentile: 1.0 | max: 1.0
|
|||
File Size vs. Contributors (all time): 1 points
|
|
26.0 | lines of code min: 26.0average: 26.0 25th percentile: 26.0 median: 26.0 75th percentile: 26.0 max: 26.0 |
|
| 0 | 1.0 | ||
|
contributors (all time) min: 1.0 | average: 1.0 | 25th percentile: 1.0 | median: 1.0 | 75th percentile: 1.0 | max: 1.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