guardian/interactive-explore-middletown
File Size The distribution of size of files (measured in lines of code). |
File Size Overall
- There are 1,401 files with 51,133 lines of code.
- 6 very long files (18,388 lines of code)
- 5 long files (3,733 lines of code)
- 33 medium size files (9,746 lines of code)
- 44 small files (6,126 lines of code)
- 1,313 very small files (13,140 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 |
|---|---|---|
| 3804 | 303 | |
| 3508 | 272 | |
| 3444 | 232 | |
| 3438 | 277 | |
| 2993 | 205 | |
| 1201 | 48 | |
| 872 | 82 | |
| 835 | 77 | |
| 770 | 120 | |
| 724 | 15 | |
| 532 | 1 | |
| 477 | 47 | |
| 450 | 19 | |
| 434 | 34 | |
| 425 | - | |
| 423 | 36 | |
| 405 | 7 | |
| 356 | 9 | |
| 350 | 28 | |
| 323 | 4 | |
| 306 | 34 | |
| 306 | 34 | |
| 304 | 27 | |
| 304 | 27 | |
| 302 | 20 | |
| 297 | 9 | |
| 294 | 41 | |
| 294 | 41 | |
| 276 | 25 | |
| 270 | 19 | |
| 268 | - | |
| 265 | 38 | |
| 250 | 25 | |
| 250 | 25 | |
| 229 | 16 | |
| 222 | 10 | |
| 222 | 1 | |
| 218 | 4 | |
| 209 | - | |
| 208 | - | |
| 204 | 14 | |
| 202 | 11 | |
| 202 | 11 | |
| 201 | 18 | |
| 188 | 4 | |
| 184 | 12 | |
| 183 | 1 | |
| 181 | 18 | |
| 180 | 1 | |
| 179 | 6 |
Files With Most Units (Top 50)
| File | # lines | # units |
|---|---|---|
| 3804 | 303 | |
| 3438 | 277 | |
| 3508 | 272 | |
| 3444 | 232 | |
| 2993 | 205 | |
| 770 | 120 | |
| 872 | 82 | |
| 835 | 77 | |
| 1201 | 48 | |
| 477 | 47 | |
| 294 | 41 | |
| 294 | 41 | |
| 265 | 38 | |
| 423 | 36 | |
| 306 | 34 | |
| 306 | 34 | |
| 434 | 34 | |
| 350 | 28 | |
| 304 | 27 | |
| 304 | 27 | |
| 276 | 25 | |
| 250 | 25 | |
| 250 | 25 | |
| 302 | 20 | |
| 270 | 19 | |
| 450 | 19 | |
| 139 | 19 | |
| 181 | 18 | |
| 201 | 18 | |
| 229 | 16 | |
| 724 | 15 | |
| 143 | 15 | |
| 204 | 14 | |
| 148 | 14 | |
| 129 | 13 | |
| 184 | 12 | |
| 137 | 12 | |
| 162 | 11 | |
| 123 | 11 | |
| 153 | 11 | |
| 158 | 11 | |
| 89 | 11 | |
| 202 | 11 | |
| 153 | 11 | |
| 158 | 11 | |
| 89 | 11 | |
| 202 | 11 | |
| 222 | 10 | |
| 78 | 10 | |
| 139 | 9 |
Files With Long Lines (Top 50)
There are 187 files with lines longer than 120 characters. In total, there are 541 long lines.
| File | # lines | # units | # long lines |
|---|---|---|---|
| 3444 | 232 | 58 | |
| 268 | - | 52 | |
| 2993 | 205 | 44 | |
| 3804 | 303 | 23 | |
| 3508 | 272 | 22 | |
| 3438 | 277 | 18 | |
| 405 | 7 | 11 | |
| 188 | 4 | 10 | |
| 724 | 15 | 8 | |
| 872 | 82 | 6 | |
| 532 | 1 | 6 | |
| 69 | 2 | 6 | |
| 356 | 9 | 5 | |
| 118 | 1 | 5 | |
| 101 | 1 | 5 | |
| 350 | 28 | 4 | |
| 72 | 5 | 4 | |
| 126 | 1 | 4 | |
| 297 | 9 | 4 | |
| 179 | 6 | 4 | |
| 73 | 1 | 4 | |
| 222 | 1 | 4 | |
| 323 | 4 | 4 | |
| 33 | 1 | 3 | |
| 450 | 19 | 3 | |
| 21 | 1 | 3 | |
| 40 | 4 | 3 | |
| 30 | 1 | 3 | |
| 162 | 11 | 3 | |
| 201 | 18 | 3 | |
| 137 | 12 | 3 | |
| 434 | 34 | 3 | |
| 35 | - | 3 | |
| 218 | 4 | 2 | |
| 302 | 20 | 2 | |
| 423 | 36 | 2 | |
| 184 | 12 | 2 | |
| 139 | 9 | 2 | |
| 87 | 3 | 2 | |
| 222 | 10 | 2 | |
| 33 | 1 | 2 | |
| 25 | 2 | 2 | |
| 151 | 8 | 2 | |
| 18 | 1 | 2 | |
| 73 | 3 | 2 | |
| 23 | 1 | 2 | |
| 99 | 6 | 2 | |
| 64 | 5 | 2 | |
| 68 | 5 | 2 | |
| 30 | 1 | 2 |
Correlations
File Size vs. Commits (all time): 3 points
|
|
425.0 | lines of code min: 13.0average: 162.67 25th percentile: 13.0 median: 50.0 75th percentile: 425.0 max: 425.0 |
|
| 0 | 10.0 | ||
|
commits (all time) min: 1.0 | average: 4.67 | 25th percentile: 1.0 | median: 3.0 | 75th percentile: 10.0 | max: 10.0
|
|||
File Size vs. Contributors (all time): 3 points
|
|
425.0 | lines of code min: 13.0average: 162.67 25th percentile: 13.0 median: 50.0 75th percentile: 425.0 max: 425.0 |
|
| 0 | 2.0 | ||
|
contributors (all time) min: 1.0 | average: 1.67 | 25th percentile: 1.0 | median: 2.0 | 75th percentile: 2.0 | max: 2.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