aws-quickstart / quickstart-cmmc-microsoft-activedirectory
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 21 files with 5,857 lines of code.
    • 1 very long files (1,651 lines of code)
    • 3 long files (2,149 lines of code)
    • 3 medium size files (1,146 lines of codeclsfd_ftr_w_mp_ins)
    • 3 small files (488 lines of code)
    • 11 very small files (423 lines of code)
28% | 36% | 19% | 8% | 7%
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% | 35% | 21% | 3% | 0%
ps10% | 43% | 16% | 12% | 26%
js0% | 0% | 0% | 100% | 0%
File Size per Logical Decomposition
primary
1001+
501-1000
201-500
101-200
1-100
templates74% | 25% | 0% | 0% | 0%
templates/nested0% | 46% | 45% | 8% | 0%
scripts/certificate-authority0% | 82% | 0% | 0% | 17%
scripts0% | 0% | 35% | 26% | 37%
functions/GPOPackagesFunction0% | 0% | 0% | 100% | 0%
Longest Files (Top 21)
File# lines# units
ad-1-ssm.template.yaml
in templates
1651 -
ad-ca.template.yaml
in templates/nested
898 -
ConfigCAs-SSM.ps1
in scripts/certificate-authority
686 -
ad-main-1-ssm.template.yaml
in templates
565 -
aws-vpc.template.yaml
in templates/nested
444 -
rdgw-domain.template.yaml
in templates/nested
439 -
ConfigDC1-SSM.ps1
in scripts
263 -
ConfigDC2-SSM.ps1
in scripts
196 -
copy-zips.template.yaml
in templates/nested
159 -
index.js
in functions/GPOPackagesFunction
133 7
Set-EIP.ps1
in scripts
81 -
CA-Join-Domain.ps1
in scripts/certificate-authority
81 -
Dns-Config.ps1
in scripts
62 -
Initialize-RDGW.ps1
in scripts
52 -
Install-CA-Modules.ps1
in scripts/certificate-authority
33 -
Join-Domain.ps1
in scripts
25 -
install-ad-modules.ps1
in scripts
24 -
CA-LCM-Config.ps1
in scripts/certificate-authority
24 -
LCM-Config.ps1
in scripts
18 -
CA-Copy-Certificates.ps1
in scripts/certificate-authority
12 -
Unzip-Archive.ps1
in scripts
11 -
Files With Most Units (Top 1)
File# lines# units
index.js
in functions/GPOPackagesFunction
133 7
Files With Long Lines (Top 20)

There are 20 files with lines longer than 120 characters. In total, there are 208 long lines.

File# lines# units# long lines
ConfigCAs-SSM.ps1
in scripts/certificate-authority
686 - 79
ad-ca.template.yaml
in templates/nested
898 - 29
ad-1-ssm.template.yaml
in templates
1651 - 26
ad-main-1-ssm.template.yaml
in templates
565 - 26
ConfigDC1-SSM.ps1
in scripts
263 - 9
CA-Join-Domain.ps1
in scripts/certificate-authority
81 - 6
aws-vpc.template.yaml
in templates/nested
444 - 5
ConfigDC2-SSM.ps1
in scripts
196 - 4
Set-EIP.ps1
in scripts
81 - 4
index.js
in functions/GPOPackagesFunction
133 7 3
Initialize-RDGW.ps1
in scripts
52 - 3
copy-zips.template.yaml
in templates/nested
159 - 2
rdgw-domain.template.yaml
in templates/nested
439 - 2
Dns-Config.ps1
in scripts
62 - 2
Join-Domain.ps1
in scripts
25 - 2
Install-CA-Modules.ps1
in scripts/certificate-authority
33 - 2
install-ad-modules.ps1
in scripts
24 - 1
LCM-Config.ps1
in scripts
18 - 1
CA-LCM-Config.ps1
in scripts/certificate-authority
24 - 1
CA-Copy-Certificates.ps1
in scripts/certificate-authority
12 - 1