aws-samples / amazon-translate-video-subtitles-captions-translation
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 10 files with 734 lines of code.
    • 0 very long files (0 lines of code)
    • 0 long files (0 lines of code)
    • 1 medium size files (228 lines of codeclsfd_ftr_w_mp_ins)
    • 2 small files (277 lines of code)
    • 7 very small files (229 lines of code)
0% | 0% | 31% | 37% | 31%
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% | 100% | 0% | 0%
py0% | 0% | 0% | 58% | 41%
vtt0% | 0% | 0% | 0% | 100%
srt0% | 0% | 0% | 0% | 100%
File Size per Logical Decomposition
primary
1001+
501-1000
201-500
101-200
1-100
ROOT0% | 0% | 86% | 0% | 13%
translate_captions0% | 0% | 0% | 63% | 36%
deployment0% | 0% | 0% | 0% | 100%
Longest Files (Top 10)
File# lines# units
translate-captions-template.yaml
in root
228 -
captions_helper.py
in translate_captions
166 11
helper.py
in translate_captions
111 12
translate_job_event_handler.py
in translate_captions
95 2
s3_event_handler.py
in translate_captions
65 2
s3_folder_create.py
in deployment
33 4
vtt
vttsample.vtt
in root
19 -
srt
srtsample.srt
in root
15 -
__init__.py
in translate_captions
1 -
__init__.py
in root
1 -
Files With Most Units (Top 5)
File# lines# units
helper.py
in translate_captions
111 12
captions_helper.py
in translate_captions
166 11
s3_folder_create.py
in deployment
33 4
translate_job_event_handler.py
in translate_captions
95 2
s3_event_handler.py
in translate_captions
65 2
Files With Long Lines (Top 4)

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

File# lines# units# long lines
translate-captions-template.yaml
in root
228 - 6
captions_helper.py
in translate_captions
166 11 4
srt
srtsample.srt
in root
15 - 4
vtt
vttsample.vtt
in root
19 - 3