aws-samples / aws-smart-ad-breaks
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 20 files with 1,897 lines of code.
    • 0 very long files (0 lines of code)
    • 1 long files (504 lines of code)
    • 1 medium size files (252 lines of codeclsfd_ftr_w_mp_ins)
    • 4 small files (526 lines of code)
    • 14 very small files (615 lines of code)
0% | 26% | 13% | 27% | 32%
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% | 100% | 0% | 0% | 0%
py0% | 0% | 18% | 37% | 44%
File Size per Logical Decomposition
primary
1001+
501-1000
201-500
101-200
1-100
ROOT0% | 100% | 0% | 0% | 0%
video_transcoding_start0% | 0% | 100% | 0% | 0%
vmap_generation/vast_xml0% | 0% | 0% | 68% | 31%
vmap_generation0% | 0% | 0% | 100% | 0%
slot_detection0% | 0% | 0% | 44% | 55%
vmap_generation/vmap_xml0% | 0% | 0% | 0% | 100%
video_transcoding_check0% | 0% | 0% | 0% | 100%
mediatailor0% | 0% | 0% | 0% | 100%
input0% | 0% | 0% | 0% | 100%
cloudfront0% | 0% | 0% | 0% | 100%
Longest Files (Top 20)
File# lines# units
template.yaml
in root
504 -
app.py
in video_transcoding_start
252 1
vast.py
in vmap_generation/vast_xml
183 4
app.py
in vmap_generation
132 5
app.py
in slot_detection
109 3
creative.py
in vmap_generation/vast_xml
102 11
score.py
in slot_detection
95 4
app.py
in video_transcoding_check
83 1
app.py
in mediatailor
67 1
app.py
in input
62 1
vmap.py
in vmap_generation/vmap_xml
47 4
ad.py
in vmap_generation/vast_xml
45 7
app.py
in cloudfront
45 1
trackingevent.py
in vmap_generation/vast_xml
38 1
adbreak.py
in vmap_generation/vmap_xml
33 3
icon.py
in vmap_generation/vast_xml
31 5
silence.py
in slot_detection
24 1
companionad.py
in vmap_generation/vast_xml
15 2
events.py
in vmap_generation/vmap_xml
15 1
segment.py
in slot_detection
15 2
Files With Most Units (Top 19)
File# lines# units
creative.py
in vmap_generation/vast_xml
102 11
ad.py
in vmap_generation/vast_xml
45 7
icon.py
in vmap_generation/vast_xml
31 5
app.py
in vmap_generation
132 5
vast.py
in vmap_generation/vast_xml
183 4
vmap.py
in vmap_generation/vmap_xml
47 4
score.py
in slot_detection
95 4
adbreak.py
in vmap_generation/vmap_xml
33 3
app.py
in slot_detection
109 3
companionad.py
in vmap_generation/vast_xml
15 2
segment.py
in slot_detection
15 2
app.py
in video_transcoding_start
252 1
trackingevent.py
in vmap_generation/vast_xml
38 1
events.py
in vmap_generation/vmap_xml
15 1
app.py
in input
62 1
silence.py
in slot_detection
24 1
app.py
in video_transcoding_check
83 1
app.py
in mediatailor
67 1
app.py
in cloudfront
45 1
Files With Long Lines (Top 4)

There are 4 files with lines longer than 120 characters. In total, there are 10 long lines.

File# lines# units# long lines
template.yaml
in root
504 - 4
app.py
in video_transcoding_check
83 1 4
app.py
in video_transcoding_start
252 1 1
vast.py
in vmap_generation/vast_xml
183 4 1