aws-quickstart / quickstart-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 59 files with 17,060 lines of code.
    • 5 very long files (6,534 lines of code)
    • 4 long files (2,406 lines of code)
    • 18 medium size files (5,669 lines of codeclsfd_ftr_w_mp_ins)
    • 9 small files (1,398 lines of code)
    • 23 very small files (1,053 lines of code)
38% | 14% | 33% | 8% | 6%
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
yaml42% | 24% | 33% | 0% | 0%
psm1100% | 0% | 0% | 0% | 0%
ps10% | 0% | 52% | 30% | 17%
psd10% | 0% | 0% | 0% | 100%
yml0% | 0% | 0% | 0% | 100%
File Size per Logical Decomposition
primary
1001+
501-1000
201-500
101-200
1-100
templates48% | 34% | 16% | 0% | 0%
templates/workshop41% | 15% | 43% | 0% | 0%
scripts/Modules/Module-AD93% | 0% | 0% | 0% | 6%
templates/workshop/Modules/Module-AD93% | 0% | 0% | 0% | 6%
scripts/archive0% | 0% | 52% | 30% | 17%
templates/automationdocuments0% | 0% | 100% | 0% | 0%
ci0% | 0% | 0% | 0% | 100%
Longest Files (Top 50)
File# lines# units
aws-vpc.template.yaml
in templates/workshop
1658 -
ad-2.template.yaml
in templates
1313 -
Module-AD.psm1
in scripts/Modules/Module-AD
1264 -
ad-1.template.yaml
in templates
1200 -
Module-AD.psm1
in templates/workshop/Modules/Module-AD
1099 -
mgmt-1.template.yaml
in templates
656 -
mgmt-1.template.yaml
in templates/workshop
634 -
ad-3.template.yaml
in templates
573 -
ad-main-1.template.yaml
in templates
543 -
ad-main-3.template.yaml
in templates
495 -
Post-Config.ps1
in scripts/archive
422 -
automation-docs.yaml
in templates/workshop
395 -
Invoke-EnterpriseCaConfig.ps1
in scripts/archive
380 -
ad-main-2.template.yaml
in templates
366 -
AWSQuickstart-extendAD.yaml
in templates/automationdocuments
330 -
AWSQuickstart-ActiveDirectoryDS.yaml
in templates/automationdocuments
330 -
ConfigDC1.ps1
in scripts/archive
313 -
Invoke-TwoTierSubCaInstall.ps1
in scripts/archive
297 -
SystemManagerLab.yaml
in templates/workshop
293 -
copy-mofs.yaml
in templates/workshop
281 -
autoscaling-windows.yaml
in templates/workshop
279 -
Invoke-TwoTierSubCaConfig.ps1
in scripts/archive
272 -
ad-worskshop-main.template.yaml
in templates/workshop
270 -
ConfigDC1-SSM.ps1
in scripts/archive
266 -
Invoke-TwoTierOrCaConfig.ps1
in scripts/archive
258 -
ad-workshop.template.yaml
in templates/workshop
212 -
ExtendDC1.ps1
in scripts/archive
210 -
ConfigDC2.ps1
in scripts/archive
198 -
ConfigDC2-SSM.ps1
in scripts/archive
192 -
ExtendDC2.ps1
in scripts/archive
164 -
Invoke-TwoTierSubCaPreConfig.ps1
in scripts/archive
162 -
Invoke-EnterpriseCaPreConfig.ps1
in scripts/archive
153 -
Invoke-MgmtInstanceConfig.ps1
in scripts/archive
151 -
AD2-NonPromoConfig.ps1
in scripts/archive
144 -
install-ad-modules.ps1
in scripts/archive
131 -
Invoke-TwoTierOrCaPreConfig.ps1
in scripts/archive
103 -
New-CertificateAuthority.ps1
in scripts/archive
94 -
Dns-Config.ps1
in scripts/archive
93 -
Module-AD.psd1
in templates/workshop/Modules/Module-AD
82 -
Module-AD.psd1
in scripts/Modules/Module-AD
82 -
Invoke-TwoTierSubCaCertIssue.ps1
in scripts/archive
80 -
AD2-Post-Config.ps1
in scripts/archive
69 -
Configure-Sites.ps1
in scripts/archive
62 -
taskcat.yml
in ci
60 -
Invoke-MgmtInstancePostConfig.ps1
in scripts/archive
55 -
New-LabADUser.ps1
in scripts/archive
45 -
Create-AdminUser.ps1
in scripts/archive
44 -
LCM-Config.ps1
in scripts/archive
42 -
ConvertTo-EnterpriseAdmin.ps1
in scripts/archive
40 -
Configure-RDGW.ps1
in scripts/archive
40 -
Files With Most Units (Top 0)
File# lines# units
Files With Long Lines (Top 20)

There are 51 files with lines longer than 120 characters. In total, there are 640 long lines.

File# lines# units# long lines
Module-AD.psm1
in scripts/Modules/Module-AD
1264 - 53
aws-vpc.template.yaml
in templates/workshop
1658 - 46
ad-2.template.yaml
in templates
1313 - 44
Module-AD.psm1
in templates/workshop/Modules/Module-AD
1099 - 36
ad-1.template.yaml
in templates
1200 - 35
ad-main-1.template.yaml
in templates
543 - 31
ad-main-2.template.yaml
in templates
366 - 27
ad-main-3.template.yaml
in templates
495 - 26
mgmt-1.template.yaml
in templates
656 - 23
Invoke-EnterpriseCaConfig.ps1
in scripts/archive
380 - 22
Module-AD.psd1
in templates/workshop/Modules/Module-AD
82 - 20
Module-AD.psd1
in scripts/Modules/Module-AD
82 - 20
ad-3.template.yaml
in templates
573 - 19
ad-worskshop-main.template.yaml
in templates/workshop
270 - 19
mgmt-1.template.yaml
in templates/workshop
634 - 19
Invoke-TwoTierSubCaConfig.ps1
in scripts/archive
272 - 18
Post-Config.ps1
in scripts/archive
422 - 17
Invoke-TwoTierOrCaConfig.ps1
in scripts/archive
258 - 17
Invoke-TwoTierSubCaInstall.ps1
in scripts/archive
297 - 15
ad-workshop.template.yaml
in templates/workshop
212 - 10