aws-samples / aws-multi-region-bc-dr-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 15 files with 2,432 lines of code.
    • 0 very long files (0 lines of code)
    • 1 long files (965 lines of code)
    • 2 medium size files (587 lines of codeclsfd_ftr_w_mp_ins)
    • 3 small files (454 lines of code)
    • 9 very small files (426 lines of code)
0% | 39% | 24% | 18% | 17%
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
yml0% | 54% | 20% | 17% | 7%
py0% | 0% | 43% | 0% | 56%
html0% | 0% | 0% | 100% | 0%
File Size per Logical Decomposition
primary
1001+
501-1000
201-500
101-200
1-100
cfn0% | 66% | 24% | 9% | 0%
app/mysfits-service/service0% | 0% | 74% | 0% | 25%
app/hints0% | 0% | 0% | 69% | 30%
web0% | 0% | 0% | 100% | 0%
app/like-service/service0% | 0% | 0% | 0% | 100%
lab-1-xray/answers0% | 0% | 0% | 0% | 100%
lab-1-xray/utils0% | 0% | 0% | 0% | 100%
app/like-service0% | 0% | 0% | 0% | 100%
app/mysfits-service0% | 0% | 0% | 0% | 100%
Longest Files (Top 15)
File# lines# units
core.yml
in cfn
965 -
cicd.yml
in cfn
362 -
mythicalMysfitsService.py
in app/mysfits-service/service
225 2
cwdashboard_with_replacements.yml
in app/hints
172 -
index.html
in web
147 -
cwdashboard.yml
in cfn
135 -
mysfitsTableClient.py
in app/like-service/service
93 5
mysfitsTableClient.py
in app/mysfits-service/service
79 4
mysfits_like.py
in lab-1-xray/answers
50 2
mysfits_like.py
in app/like-service/service
38 2
core-buildspec_prod.yml
in app/hints
38 -
like-buildspec_prod.yml
in app/hints
38 -
ryder.py
in lab-1-xray/utils
36 -
buildspec_prod.yml
in app/like-service
27 -
buildspec_prod.yml
in app/mysfits-service
27 -
Files With Most Units (Top 5)
File# lines# units
mysfitsTableClient.py
in app/like-service/service
93 5
mysfitsTableClient.py
in app/mysfits-service/service
79 4
mysfits_like.py
in lab-1-xray/answers
50 2
mysfits_like.py
in app/like-service/service
38 2
mythicalMysfitsService.py
in app/mysfits-service/service
225 2
Files With Long Lines (Top 8)

There are 8 files with lines longer than 120 characters. In total, there are 36 long lines.

File# lines# units# long lines
cwdashboard_with_replacements.yml
in app/hints
172 - 14
cwdashboard.yml
in cfn
135 - 4
core-buildspec_prod.yml
in app/hints
38 - 4
like-buildspec_prod.yml
in app/hints
38 - 4
mythicalMysfitsService.py
in app/mysfits-service/service
225 2 3
index.html
in web
147 - 3
buildspec_prod.yml
in app/like-service
27 - 2
buildspec_prod.yml
in app/mysfits-service
27 - 2