aws-samples / amazon-ecs-mythicalmysfits-workshop
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 35 files with 5,705 lines of code.
    • 1 very long files (1,022 lines of code)
    • 2 long files (1,447 lines of code)
    • 4 medium size files (1,864 lines of codeclsfd_ftr_w_mp_ins)
    • 4 small files (404 lines of code)
    • 24 very small files (968 lines of code)
17% | 25% | 32% | 7% | 16%
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
yml32% | 46% | 14% | 0% | 6%
html0% | 0% | 78% | 0% | 21%
py0% | 0% | 0% | 52% | 47%
File Size per Logical Decomposition
primary
1001+
501-1000
201-500
101-200
1-100
workshop-3100% | 0% | 0% | 0% | 0%
workshop-2/ws3-start0% | 78% | 0% | 10% | 10%
workshop-20% | 100% | 0% | 0% | 0%
workshop-2/web0% | 0% | 78% | 0% | 21%
workshop-3/web0% | 0% | 78% | 0% | 21%
workshop-1/web0% | 0% | 78% | 0% | 21%
workshop-10% | 0% | 100% | 0% | 0%
workshop-3/app0% | 0% | 0% | 42% | 57%
workshop-1/app0% | 0% | 0% | 51% | 48%
workshop-2/app0% | 0% | 0% | 52% | 47%
workshop-3/cfn-templates0% | 0% | 0% | 0% | 100%
workshop-2/Lab-30% | 0% | 0% | 0% | 100%
workshop-2/Lab-40% | 0% | 0% | 0% | 100%
workshop-2/Lab-20% | 0% | 0% | 0% | 100%
Longest Files (Top 35)
File# lines# units
core.yml
in workshop-3
1022 -
core.yml
in workshop-2/ws3-start
725 -
core.yml
in workshop-2
722 -
index.html
in workshop-2/web
474 -
index.html
in workshop-3/web
474 -
index.html
in workshop-1/web
474 -
core.yml
in workshop-1
442 -
mysfitsTableClient.py
in workshop-2/app/monolith-service/service
101 5
mysfitsTableClient.py
in workshop-2/ws3-start/app/monolith-service/service
101 5
mysfitsTableClient.py
in workshop-3/app/monolith-service/service
101 5
mysfitsTableClient.py
in workshop-1/app/monolith-service/service
101 5
register.html
in workshop-2/web
73 -
register.html
in workshop-3/web
73 -
register.html
in workshop-1/web
73 -
load-gen-lab4.yml
in workshop-3/cfn-templates
71 -
confirm.html
in workshop-2/web
55 -
confirm.html
in workshop-3/web
55 -
confirm.html
in workshop-1/web
55 -
mythicalMysfitsService.py
in workshop-1/app/monolith-service/service
49 6
mythicalMysfitsService.py
in workshop-2/app/monolith-service/service
47 6
mythicalMysfitsService.py
in workshop-2/ws3-start/app/monolith-service/service
47 6
mysfits_like.py
in workshop-3/app/like-service/service
47 4
mythicalMysfitsService.py
in workshop-3/app/monolith-service/service
46 6
mysfits_like.py
in workshop-2/ws3-start/app/like-service/service
28 4
mysfits_like_v2.py
in workshop-2/Lab-3
28 4
mysfits_like.py
in workshop-1/app/like-service/service
26 4
mmchaos.py
in workshop-3/app/like-service/service
25 3
mysfits_like.py
in workshop-2/app/like-service/service
24 4
buildspec_clair.yml
in workshop-2/Lab-4/hints
23 -
buildspec.yml
in workshop-2/app
21 -
buildspec_prod.yml
in workshop-2/ws3-start/app/like-service
21 -
buildspec_prod.yml
in workshop-2/Lab-3/hints
21 -
buildspec_prod.yml
in workshop-3/app/like-service
21 -
buildspec.yml
in workshop-1/app
21 -
hintspec_dev.yml
in workshop-2/Lab-2/hints
18 -
Files With Most Units (Top 14)
File# lines# units
mythicalMysfitsService.py
in workshop-2/app/monolith-service/service
47 6
mythicalMysfitsService.py
in workshop-2/ws3-start/app/monolith-service/service
47 6
mythicalMysfitsService.py
in workshop-3/app/monolith-service/service
46 6
mythicalMysfitsService.py
in workshop-1/app/monolith-service/service
49 6
mysfitsTableClient.py
in workshop-2/app/monolith-service/service
101 5
mysfitsTableClient.py
in workshop-2/ws3-start/app/monolith-service/service
101 5
mysfitsTableClient.py
in workshop-3/app/monolith-service/service
101 5
mysfitsTableClient.py
in workshop-1/app/monolith-service/service
101 5
mysfits_like.py
in workshop-2/app/like-service/service
24 4
mysfits_like.py
in workshop-2/ws3-start/app/like-service/service
28 4
mysfits_like_v2.py
in workshop-2/Lab-3
28 4
mysfits_like.py
in workshop-3/app/like-service/service
47 4
mysfits_like.py
in workshop-1/app/like-service/service
26 4
mmchaos.py
in workshop-3/app/like-service/service
25 3
Files With Long Lines (Top 18)

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

File# lines# units# long lines
index.html
in workshop-2/web
474 - 11
index.html
in workshop-3/web
474 - 11
index.html
in workshop-1/web
474 - 11
core.yml
in workshop-3
1022 - 6
core.yml
in workshop-2
722 - 2
buildspec.yml
in workshop-2/app
21 - 2
core.yml
in workshop-2/ws3-start
725 - 2
buildspec_prod.yml
in workshop-2/ws3-start/app/like-service
21 - 2
buildspec_prod.yml
in workshop-2/Lab-3/hints
21 - 2
buildspec_prod.yml
in workshop-3/app/like-service
21 - 2
buildspec.yml
in workshop-1/app
21 - 2
confirm.html
in workshop-2/web
55 - 1
hintspec_dev.yml
in workshop-2/Lab-2/hints
18 - 1
load-gen-lab4.yml
in workshop-3/cfn-templates
71 - 1
mmchaos.py
in workshop-3/app/like-service/service
25 3 1
confirm.html
in workshop-3/web
55 - 1
core.yml
in workshop-1
442 - 1
confirm.html
in workshop-1/web
55 - 1