File Size Overall
- There are 20 files with 3,178 lines of code.
- 0 very long files (0 lines of code)
- 1 long files (791 lines of code)
- 5 medium size files (1,543 lines of code)
- 4 small files (570 lines of code)
- 10 very small files (274 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 20)
| File | # lines | # units |
|---|---|---|
| 791 | 31 | |
| 356 | 18 | |
| 351 | 11 | |
| 309 | 15 | |
| 271 | 8 | |
| 256 | 11 | |
| 199 | 16 | |
| 140 | 17 | |
| 123 | 5 | |
| 108 | 5 | |
| 74 | 4 | |
| 60 | 6 | |
| 51 | 6 | |
| 37 | 2 | |
| 26 | 4 | |
| 10 | - | |
| 9 | 3 | |
| 4 | 1 | |
| 2 | - | |
| 1 | - |
Files With Most Units (Top 17)
| File | # lines | # units |
|---|---|---|
| 791 | 31 | |
| 356 | 18 | |
| 140 | 17 | |
| 199 | 16 | |
| 309 | 15 | |
| 351 | 11 | |
| 256 | 11 | |
| 271 | 8 | |
| 51 | 6 | |
| 60 | 6 | |
| 108 | 5 | |
| 123 | 5 | |
| 74 | 4 | |
| 26 | 4 | |
| 9 | 3 | |
| 37 | 2 | |
| 4 | 1 |
Files With Long Lines (Top 10)
There are 10 files with lines longer than 120 characters. In total, there are 62 long lines.
| File | # lines | # units | # long lines |
|---|---|---|---|
| 791 | 31 | 31 | |
| 351 | 11 | 8 | |
| 256 | 11 | 6 | |
| 271 | 8 | 5 | |
| 108 | 5 | 4 | |
| 309 | 15 | 3 | |
| 199 | 16 | 2 | |
| 356 | 18 | 1 | |
| 26 | 4 | 1 | |
| 123 | 5 | 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