aws-samples / aws-media-services-simple-vod-workflow
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 16 files with 1,558 lines of code.
    • 0 very long files (0 lines of code)
    • 0 long files (0 lines of code)
    • 2 medium size files (451 lines of codeclsfd_ftr_w_mp_ins)
    • 2 small files (294 lines of code)
    • 12 very small files (813 lines of code)
0% | 0% | 28% | 18% | 52%
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% | 47% | 18% | 33%
py0% | 0% | 0% | 25% | 74%
srt0% | 0% | 0% | 0% | 100%
File Size per Logical Decomposition
primary
1001+
501-1000
201-500
101-200
1-100
Workflow-WatchfolderAndNotification0% | 0% | 67% | 32% | 0%
9-MediainfoLambda0% | 0% | 75% | 0% | 24%
8-MediaConvertEvents0% | 0% | 0% | 81% | 18%
7-MediaConvertJobLambda0% | 0% | 0% | 0% | 100%
5-Captions0% | 0% | 0% | 0% | 100%
1-IAMandS30% | 0% | 0% | 0% | 100%
13-VODMediaPackage0% | 0% | 0% | 0% | 100%
2-MediaConvertJobs0% | 0% | 0% | 0% | 100%
ROOT0% | 0% | 0% | 0% | 100%
Longest Files (Top 16)
File# lines# units
WatchFolder.yaml
in Workflow-WatchfolderAndNotification
236 -
mediainfo.yaml
in 9-MediainfoLambda
215 -
simple-events.yaml
in 8-MediaConvertEvents
181 -
convert.py
in Workflow-WatchfolderAndNotification
113 1
WatchFolder.yaml
in 7-MediaConvertJobLambda
100 -
input_clip_convert.py
in 7-MediaConvertJobLambda
97 1
MediaConvertIAMandS3.yaml
in 1-IAMandS3
93 -
srt
CAPTIONS_ru.srt
in 5-Captions
83 -
srt
CAPTIONS_en.srt
in 5-Captions
82 -
mediainfo.py
in 9-MediainfoLambda
68 3
ingest_asset.py
in 13-VODMediaPackage
67 1
MediaConvertJobs.yaml
in 2-MediaConvertJobs
56 -
convert.py
in 7-MediaConvertJobLambda
53 1
MediaConvertIAMUser.yaml
in 1-IAMandS3
43 -
simple_event_collector.py
in 8-MediaConvertEvents
41 2
VODConsoleWorkshop.yaml
in root
30 -
Files With Most Units (Top 6)
File# lines# units
mediainfo.py
in 9-MediainfoLambda
68 3
simple_event_collector.py
in 8-MediaConvertEvents
41 2
convert.py
in Workflow-WatchfolderAndNotification
113 1
input_clip_convert.py
in 7-MediaConvertJobLambda
97 1
convert.py
in 7-MediaConvertJobLambda
53 1
ingest_asset.py
in 13-VODMediaPackage
67 1
Files With Long Lines (Top 6)

There are 6 files with lines longer than 120 characters. In total, there are 18 long lines.

File# lines# units# long lines
convert.py
in Workflow-WatchfolderAndNotification
113 1 8
mediainfo.yaml
in 9-MediainfoLambda
215 - 3
simple-events.yaml
in 8-MediaConvertEvents
181 - 3
input_clip_convert.py
in 7-MediaConvertJobLambda
97 1 2
WatchFolder.yaml
in Workflow-WatchfolderAndNotification
236 - 1
convert.py
in 7-MediaConvertJobLambda
53 1 1