openai/openai-realtime-twilio-demo
File Size The distribution of size of files (measured in lines of code). |
File Size Overall
- There are 40 files with 2,527 lines of code.
- 0 very long files (0 lines of code)
- 0 long files (0 lines of code)
- 4 medium size files (1,035 lines of code)
- 3 small files (340 lines of code)
- 33 very small files (1,152 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 40)
| File | # lines | # units |
|---|---|---|
| 317 | - | |
| 265 | 1 | |
| 251 | 13 | |
| 202 | 3 | |
| 131 | - | |
| 107 | - | |
| 102 | - | |
| 97 | - | |
| 95 | - | |
| 84 | - | |
| 78 | - | |
| 71 | - | |
| 66 | - | |
| 66 | - | |
| 65 | - | |
| 61 | - | |
| 49 | - | |
| 45 | - | |
| 43 | - | |
| 32 | - | |
| 30 | - | |
| 28 | - | |
| 27 | - | |
| 26 | 2 | |
| 26 | - | |
| 24 | 1 | |
| 23 | - | |
| 20 | 1 | |
| 17 | - | |
| 15 | - | |
| 14 | - | |
| 10 | - | |
| 8 | - | |
| 7 | - | |
| 6 | 1 | |
| 5 | - | |
| 5 | 1 | |
| 3 | 1 | |
| 3 | - | |
| 3 | - |
Files With Most Units (Top 9)
| File | # lines | # units |
|---|---|---|
| 251 | 13 | |
| 202 | 3 | |
| 26 | 2 | |
| 20 | 1 | |
| 6 | 1 | |
| 3 | 1 | |
| 265 | 1 | |
| 5 | 1 | |
| 24 | 1 |
Files With Long Lines (Top 10)
There are 10 files with lines longer than 120 characters. In total, there are 14 long lines.
| File | # lines | # units | # long lines |
|---|---|---|---|
| 131 | - | 4 | |
| 107 | - | 2 | |
| 49 | - | 1 | |
| 28 | - | 1 | |
| 45 | - | 1 | |
| 23 | - | 1 | |
| 14 | - | 1 | |
| 15 | - | 1 | |
| 32 | - | 1 | |
| 30 | - | 1 |
Correlations
File Size vs. Commits (all time): 2 points
|
|
251.0 | lines of code min: 66.0average: 158.5 25th percentile: 66.0 median: 158.5 75th percentile: 251.0 max: 251.0 |
|
| 0 | 2.0 | ||
|
commits (all time) min: 2.0 | average: 2.0 | 25th percentile: 2.0 | median: 2.0 | 75th percentile: 2.0 | max: 2.0
|
|||
File Size vs. Contributors (all time): 2 points
|
|
251.0 | lines of code min: 66.0average: 158.5 25th percentile: 66.0 median: 158.5 75th percentile: 251.0 max: 251.0 |
|
| 0 | 2.0 | ||
|
contributors (all time) min: 2.0 | average: 2.0 | 25th percentile: 2.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