guardian/australian-frontier-massacres
File Size The distribution of size of files (measured in lines of code). |
File Size Overall
- There are 134 files with 14,313 lines of code.
- 1 very long files (1,036 lines of code)
- 3 long files (1,878 lines of code)
- 15 medium size files (4,121 lines of code)
- 25 small files (3,444 lines of code)
- 90 very small files (3,834 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 |
|---|---|---|
| 1036 | 104 | |
| 738 | 36 | |
| 577 | 50 | |
| 563 | - | |
| 352 | - | |
| 338 | - | |
| 328 | 30 | |
| 316 | 24 | |
| 310 | - | |
| 309 | - | |
| 298 | 25 | |
| 264 | 23 | |
| 263 | 6 | |
| 245 | 26 | |
| 237 | 19 | |
| 233 | - | |
| 216 | 24 | |
| 208 | 28 | |
| 204 | - | |
| 198 | 19 | |
| 189 | 18 | |
| 180 | - | |
| 179 | - | |
| 168 | 12 | |
| 159 | 10 | |
| 158 | 20 | |
| 154 | 12 | |
| 149 | 11 | |
| 145 | 13 | |
| 138 | 16 | |
| 136 | 19 | |
| 132 | 16 | |
| 129 | 19 | |
| 127 | 11 | |
| 125 | 8 | |
| 122 | 14 | |
| 119 | 25 | |
| 110 | - | |
| 109 | - | |
| 105 | - | |
| 105 | - | |
| 103 | 12 | |
| 103 | 10 | |
| 102 | - | |
| 100 | - | |
| 100 | 9 | |
| 96 | - | |
| 96 | 8 | |
| 94 | 13 | |
| 93 | - |
Files With Most Units (Top 50)
| File | # lines | # units |
|---|---|---|
| 1036 | 104 | |
| 577 | 50 | |
| 738 | 36 | |
| 328 | 30 | |
| 208 | 28 | |
| 245 | 26 | |
| 298 | 25 | |
| 119 | 25 | |
| 316 | 24 | |
| 216 | 24 | |
| 264 | 23 | |
| 158 | 20 | |
| 136 | 19 | |
| 129 | 19 | |
| 237 | 19 | |
| 198 | 19 | |
| 189 | 18 | |
| 132 | 16 | |
| 138 | 16 | |
| 122 | 14 | |
| 76 | 14 | |
| 145 | 13 | |
| 64 | 13 | |
| 90 | 13 | |
| 94 | 13 | |
| 154 | 12 | |
| 103 | 12 | |
| 168 | 12 | |
| 127 | 11 | |
| 88 | 11 | |
| 91 | 11 | |
| 149 | 11 | |
| 159 | 10 | |
| 103 | 10 | |
| 72 | 9 | |
| 57 | 9 | |
| 100 | 9 | |
| 64 | 9 | |
| 87 | 9 | |
| 78 | 9 | |
| 61 | 8 | |
| 96 | 8 | |
| 125 | 8 | |
| 52 | 7 | |
| 87 | 7 | |
| 43 | 7 | |
| 57 | 7 | |
| 77 | 7 | |
| 263 | 6 | |
| 25 | 5 |
Files With Long Lines (Top 18)
There are 18 files with lines longer than 120 characters. In total, there are 95 long lines.
| File | # lines | # units | # long lines |
|---|---|---|---|
| 338 | - | 38 | |
| 44 | - | 19 | |
| 738 | 36 | 15 | |
| 263 | 6 | 3 | |
| 309 | - | 3 | |
| 245 | 26 | 3 | |
| 102 | - | 2 | |
| 352 | - | 2 | |
| 59 | - | 1 | |
| 563 | - | 1 | |
| 20 | - | 1 | |
| 136 | 19 | 1 | |
| 1036 | 104 | 1 | |
| 20 | - | 1 | |
| 237 | 19 | 1 | |
| 29 | 3 | 1 | |
| 77 | 5 | 1 | |
| 30 | - | 1 |
Correlations
File Size vs. Commits (all time): 113 points
|
|
1036.0 | lines of code min: 3.0average: 110.84 25th percentile: 24.0 median: 71.0 75th percentile: 134.0 max: 1036.0 |
|
| 0 | 49.0 | ||
|
commits (all time) min: 1.0 | average: 3.02 | 25th percentile: 2.0 | median: 2.0 | 75th percentile: 2.0 | max: 49.0
|
|||
File Size vs. Contributors (all time): 113 points
|
|
1036.0 | lines of code min: 3.0average: 110.84 25th percentile: 24.0 median: 71.0 75th percentile: 134.0 max: 1036.0 |
|
| 0 | 2.0 | ||
|
contributors (all time) min: 1.0 | average: 1.04 | 25th percentile: 1.0 | median: 1.0 | 75th percentile: 1.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