aws-quickstart / quickstart-sitecore-xp
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 25 files with 7,936 lines of code.
    • 2 very long files (2,368 lines of code)
    • 2 long files (1,770 lines of code)
    • 7 medium size files (2,474 lines of codeclsfd_ftr_w_mp_ins)
    • 6 small files (857 lines of code)
    • 8 very small files (467 lines of code)
29% | 22% | 31% | 10% | 5%
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
yaml39% | 14% | 36% | 8% | 0%
ps10% | 55% | 17% | 6% | 20%
py0% | 0% | 0% | 64% | 35%
File Size per Logical Decomposition
primary
1001+
501-1000
201-500
101-200
1-100
templates39% | 14% | 36% | 8% | 0%
scripts/install0% | 83% | 0% | 0% | 16%
scripts/functions0% | 0% | 52% | 18% | 28%
functions/source/ConvertCertificate0% | 0% | 0% | 100% | 0%
functions/source/ACMCert0% | 0% | 0% | 78% | 21%
functions/source/DeleteResources0% | 0% | 0% | 0% | 100%
functions/source/DeleteBucketContents0% | 0% | 0% | 0% | 100%
Longest Files (Top 25)
File# lines# units
sitecore-xp-existing-vpc.template.yaml
in templates
1291 -
sitecore-xp-roles.template.yaml
in templates
1077 -
sc-install-resources.ps1
in scripts/install
921 -
sitecore-xp-master.template.yaml
in templates
849 -
sitecore-xp-parameters.template.yaml
in templates
495 -
sitecore-xp-security.template.yaml
in templates
453 -
sitecore-xp-ami.template.yaml
in templates
415 -
sitecore-xp-networking.template.yaml
in templates
378 -
sc-new-certs.ps1
in scripts/functions
286 -
sitecore-xp-solrdev.template.yaml
in templates
230 -
sitecore-xp-db.template.yaml
in templates
217 -
sitecore-xp-functions.template.yaml
in templates
198 -
sitecore-xp-acm.template.yaml
in templates
173 -
sitecore-xp-r53.template.yaml
in templates
149 -
lambda_function.py
in functions/source/ConvertCertificate
121 13
lambda_function.py
in functions/source/ACMCert
112 1
sc-role-prep.ps1
in scripts/functions
104 -
sc-bootstrap.ps1
in scripts/install
97 -
sc-update-web-config.ps1
in scripts/functions
89 -
solr-dev-install.ps1
in scripts/install
84 -
lambda_function.py
in functions/source/DeleteResources
61 6
sc-update-zips.ps1
in scripts/functions
46 -
lambda_function.py
in functions/source/DeleteBucketContents
36 2
cfnresponse.py
in functions/source/ACMCert
31 1
sc-update-cs-config.ps1
in scripts/functions
23 -
Files With Most Units (Top 5)
File# lines# units
lambda_function.py
in functions/source/ConvertCertificate
121 13
lambda_function.py
in functions/source/DeleteResources
61 6
lambda_function.py
in functions/source/DeleteBucketContents
36 2
lambda_function.py
in functions/source/ACMCert
112 1
cfnresponse.py
in functions/source/ACMCert
31 1
Files With Long Lines (Top 16)

There are 16 files with lines longer than 120 characters. In total, there are 257 long lines.

File# lines# units# long lines
sc-install-resources.ps1
in scripts/install
921 - 70
sc-bootstrap.ps1
in scripts/install
97 - 38
sitecore-xp-existing-vpc.template.yaml
in templates
1291 - 31
sc-new-certs.ps1
in scripts/functions
286 - 26
sitecore-xp-master.template.yaml
in templates
849 - 20
sc-role-prep.ps1
in scripts/functions
104 - 18
solr-dev-install.ps1
in scripts/install
84 - 17
lambda_function.py
in functions/source/ACMCert
112 1 10
sitecore-xp-ami.template.yaml
in templates
415 - 9
sc-update-web-config.ps1
in scripts/functions
89 - 6
sitecore-xp-functions.template.yaml
in templates
198 - 3
sitecore-xp-roles.template.yaml
in templates
1077 - 3
sitecore-xp-db.template.yaml
in templates
217 - 3
sitecore-xp-security.template.yaml
in templates
453 - 1
sitecore-xp-networking.template.yaml
in templates
378 - 1
sc-update-cs-config.ps1
in scripts/functions
23 - 1