guardian/content_delivery_system
File Size The distribution of size of files (measured in lines of code). |
File Size Overall
- There are 155 files with 21,132 lines of code.
- 1 very long files (2,695 lines of code)
- 3 long files (2,056 lines of code)
- 25 medium size files (7,049 lines of code)
- 36 small files (5,025 lines of code)
- 90 very small files (4,307 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 |
|---|---|---|
| 2695 | - | |
| 915 | 21 | |
| 627 | 11 | |
| 514 | 20 | |
| 406 | 13 | |
| 398 | 10 | |
| 390 | 9 | |
| 374 | 1 | |
| 355 | 10 | |
| 346 | 16 | |
| 338 | 2 | |
| 302 | 7 | |
| 288 | 2 | |
| 284 | 8 | |
| 278 | 3 | |
| 276 | 6 | |
| 262 | - | |
| 255 | 6 | |
| 253 | 2 | |
| 249 | 2 | |
| 243 | 3 | |
| 235 | 4 | |
| 232 | 7 | |
| 230 | 18 | |
| 221 | 17 | |
| 214 | 2 | |
| 209 | 3 | |
| 206 | 9 | |
| 205 | 2 | |
| 199 | 6 | |
| 191 | 2 | |
| 182 | 3 | |
| 178 | 5 | |
| 177 | 2 | |
| 176 | 10 | |
| 176 | 2 | |
| 172 | 8 | |
| 164 | 4 | |
| 156 | 6 | |
| 150 | 2 | |
| 148 | 1 | |
| 144 | 2 | |
| 143 | 1 | |
| 141 | 3 | |
| 140 | 8 | |
| 138 | 4 | |
| 136 | 2 | |
| 135 | - | |
| 130 | 3 | |
| 129 | 2 |
Files With Most Units (Top 50)
| File | # lines | # units |
|---|---|---|
| 915 | 21 | |
| 514 | 20 | |
| 230 | 18 | |
| 221 | 17 | |
| 346 | 16 | |
| 406 | 13 | |
| 627 | 11 | |
| 355 | 10 | |
| 398 | 10 | |
| 176 | 10 | |
| 74 | 10 | |
| 390 | 9 | |
| 206 | 9 | |
| 127 | 8 | |
| 140 | 8 | |
| 284 | 8 | |
| 172 | 8 | |
| 302 | 7 | |
| 124 | 7 | |
| 232 | 7 | |
| 156 | 6 | |
| 199 | 6 | |
| 255 | 6 | |
| 127 | 6 | |
| 276 | 6 | |
| 54 | 5 | |
| 178 | 5 | |
| 124 | 5 | |
| 81 | 4 | |
| 138 | 4 | |
| 164 | 4 | |
| 235 | 4 | |
| 76 | 4 | |
| 82 | 3 | |
| 113 | 3 | |
| 94 | 3 | |
| 112 | 3 | |
| 141 | 3 | |
| 182 | 3 | |
| 130 | 3 | |
| 209 | 3 | |
| 84 | 3 | |
| 243 | 3 | |
| 278 | 3 | |
| 67 | 3 | |
| 34 | 3 | |
| 191 | 2 | |
| 30 | 2 | |
| 45 | 2 | |
| 288 | 2 |
Files With Long Lines (Top 50)
There are 81 files with lines longer than 120 characters. In total, there are 918 long lines.
| File | # lines | # units | # long lines |
|---|---|---|---|
| 2695 | - | 652 | |
| 390 | 9 | 19 | |
| 915 | 21 | 16 | |
| 514 | 20 | 13 | |
| 221 | 17 | 10 | |
| 262 | - | 10 | |
| 230 | 18 | 9 | |
| 124 | 5 | 9 | |
| 81 | 4 | 8 | |
| 627 | 11 | 8 | |
| 398 | 10 | 8 | |
| 206 | 9 | 8 | |
| 288 | 2 | 6 | |
| 66 | 2 | 5 | |
| 73 | 1 | 5 | |
| 129 | 2 | 5 | |
| 102 | - | 5 | |
| 278 | 3 | 5 | |
| 346 | 16 | 5 | |
| 116 | 1 | 4 | |
| 178 | 5 | 4 | |
| 355 | 10 | 4 | |
| 209 | 3 | 4 | |
| 406 | 13 | 4 | |
| 29 | - | 3 | |
| 79 | 1 | 3 | |
| 94 | 3 | 3 | |
| 255 | 6 | 3 | |
| 235 | 4 | 3 | |
| 302 | 7 | 3 | |
| 243 | 3 | 3 | |
| 172 | 8 | 3 | |
| 140 | 8 | 2 | |
| 82 | 3 | 2 | |
| 24 | - | 2 | |
| 199 | 6 | 2 | |
| 253 | 2 | 2 | |
| 205 | 2 | 2 | |
| 127 | 2 | 2 | |
| 112 | 3 | 2 | |
| 141 | 3 | 2 | |
| 83 | 2 | 2 | |
| 249 | 2 | 2 | |
| 111 | - | 2 | |
| 182 | 3 | 2 | |
| 49 | 1 | 2 | |
| 88 | 2 | 2 | |
| 102 | 1 | 2 | |
| 54 | - | 2 | |
| 34 | 3 | 2 |
Correlations
File Size vs. Commits (all time): 155 points
|
|
2695.0 | lines of code min: 2.0average: 136.34 25th percentile: 38.0 median: 81.0 75th percentile: 156.0 max: 2695.0 |
|
| 0 | 57.0 | ||
|
commits (all time) min: 1.0 | average: 2.83 | 25th percentile: 1.0 | median: 1.0 | 75th percentile: 3.0 | max: 57.0
|
|||
File Size vs. Contributors (all time): 155 points
|
|
2695.0 | lines of code min: 2.0average: 136.34 25th percentile: 38.0 median: 81.0 75th percentile: 156.0 max: 2695.0 |
|
| 0 | 7.0 | ||
|
contributors (all time) min: 1.0 | average: 1.21 | 25th percentile: 1.0 | median: 1.0 | 75th percentile: 1.0 | max: 7.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