awslabs / aws-clustered-video-streams
File Size

The distribution of size of files (measured in lines of code).

Intro
  • 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...
File Size Overall
  • There are 19 files with 2,481 lines of code.
    • 0 very long files (0 lines of code)
    • 0 long files (0 lines of code)
    • 3 medium size files (1,109 lines of codeclsfd_ftr_w_mp_ins)
    • 7 small files (1,023 lines of code)
    • 9 very small files (349 lines of code)
0% | 0% | 44% | 41% | 14%
Legend:
1001+
501-1000
201-500
101-200
1-100


explore: zoomable circles | sunburst | 3D view
File Size per Extension
1001+
501-1000
201-500
101-200
1-100
yaml0% | 0% | 86% | 9% | 4%
js0% | 0% | 0% | 82% | 17%
py0% | 0% | 0% | 80% | 19%
html0% | 0% | 0% | 0% | 100%
File Size per Logical Decomposition
primary
1001+
501-1000
201-500
101-200
1-100
deployment0% | 0% | 86% | 9% | 4%
source/stale-playlist-detector0% | 0% | 0% | 75% | 24%
source/dashboard0% | 0% | 0% | 68% | 31%
source/cfn-global-table0% | 0% | 0% | 77% | 22%
source/cfn-init-clustered-video-stream0% | 0% | 0% | 100% | 0%
source/cfn-add-edge-lambda0% | 0% | 0% | 100% | 0%
source/cfn-s3copyobjects0% | 0% | 0% | 0% | 100%
Longest Files (Top 19)
File# lines# units
stale-playlist-detector.yaml
in deployment
438 -
clustered-video-stream-instance.yaml
in deployment
356 -
clustered-video-stream.yaml
in deployment
315 -
dashboard.js
in source/dashboard
199 7
playlist.js
in source/stale-playlist-detector
180 15
detector.js
in source/stale-playlist-detector
176 9
copilot.yaml
in deployment
122 -
cfn-global-table.py
in source/cfn-global-table
121 4
cfn-init-clustered-video-stream.py
in source/cfn-init-clustered-video-stream
119 3
cfn-add-edge-lambda.py
in source/cfn-add-edge-lambda
106 5
dashboard.html
in source/dashboard
91 -
notify.js
in source/stale-playlist-detector
59 -
cvs-instance.yaml
in deployment
54 -
cfn-s3copyobjects.py
in source/cfn-s3copyobjects
50 3
cfnresponse.py
in source/cfn-global-table
36 1
http.js
in source/stale-playlist-detector
32 -
main.js
in source/stale-playlist-detector
15 -
logger.js
in source/stale-playlist-detector
8 -
epoch.js
in source/stale-playlist-detector
4 -
Files With Most Units (Top 8)
File# lines# units
playlist.js
in source/stale-playlist-detector
180 15
detector.js
in source/stale-playlist-detector
176 9
dashboard.js
in source/dashboard
199 7
cfn-add-edge-lambda.py
in source/cfn-add-edge-lambda
106 5
cfn-global-table.py
in source/cfn-global-table
121 4
cfn-s3copyobjects.py
in source/cfn-s3copyobjects
50 3
cfn-init-clustered-video-stream.py
in source/cfn-init-clustered-video-stream
119 3
cfnresponse.py
in source/cfn-global-table
36 1
Files With Long Lines (Top 9)

There are 9 files with lines longer than 120 characters. In total, there are 40 long lines.

File# lines# units# long lines
dashboard.html
in source/dashboard
91 - 12
cfn-init-clustered-video-stream.py
in source/cfn-init-clustered-video-stream
119 3 9
playlist.js
in source/stale-playlist-detector
180 15 7
detector.js
in source/stale-playlist-detector
176 9 3
stale-playlist-detector.yaml
in deployment
438 - 3
dashboard.js
in source/dashboard
199 7 2
clustered-video-stream.yaml
in deployment
315 - 2
main.js
in source/stale-playlist-detector
15 - 1
cfn-global-table.py
in source/cfn-global-table
121 4 1