aws-samples / aws-enterprise-jumpstart
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 33 files with 3,112 lines of code.
    • 0 very long files (0 lines of code)
    • 1 long files (946 lines of code)
    • 2 medium size files (452 lines of codeclsfd_ftr_w_mp_ins)
    • 2 small files (280 lines of code)
    • 28 very small files (1,434 lines of code)
0% | 30% | 14% | 8% | 46%
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
yaml0% | 36% | 17% | 10% | 35%
py0% | 0% | 0% | 0% | 100%
File Size per Logical Decomposition
primary
1001+
501-1000
201-500
101-200
1-100
deployment0% | 85% | 0% | 0% | 14%
templates0% | 0% | 47% | 29% | 23%
scripts0% | 0% | 0% | 0% | 100%
blueprints0% | 0% | 0% | 0% | 100%
stacksets0% | 0% | 0% | 0% | 100%
ROOT0% | 0% | 0% | 0% | 100%
scps0% | 0% | 0% | 0% | 100%
Longest Files (Top 33)
File# lines# units
pipeline.yaml
in deployment
946 -
deployment.yaml
in templates
226 -
baseline-stacksets.yaml
in templates
226 -
org-management.yaml
in templates
149 -
logs.yaml
in templates
131 -
portfolio.yaml
in blueprints
99 -
org-management-us-east-1.yaml
in templates
98 -
artifact-store.yaml
in deployment
97 -
baseline.py
in scripts
88 1
create_update_scps.py
in scripts
86 1
upgrade_accounts_in_ou.py
in scripts
86 2
baseline-audit.yaml
in stacksets
73 -
core_account_baseline.py
in scripts
70 1
update_blueprint_versions.py
in scripts
66 1
baseline-config.yaml
in stacksets
64 -
foundation.yaml
in blueprints
56 -
dev.yaml
in blueprints
56 -
core-accounts.yaml
in templates
54 -
default_vpc_removal.py
in scripts
43 1
s3_block_public_access.py
in scripts
42 1
core-accounts-import.yaml
in templates
41 -
baseline-roles.yaml
in stacksets
41 -
dummy-import.yaml
in blueprints
35 -
audit.yaml
in templates
34 -
upload_stackset_assets.py
in scripts
31 -
buildspec.yaml
in deployment
23 -
metadata.yaml
in root
22 -
buildspec_baseline.yaml
in deployment
22 -
buildspec_baseline_core_accounts.yaml
in deployment
22 -
buildspec_account_upgrade.yaml
in blueprints
22 -
buildspec.yaml
in blueprints
22 -
buildspec.yaml
in scps
22 -
dummy.yaml
in blueprints
19 -
Files With Most Units (Top 7)
File# lines# units
upgrade_accounts_in_ou.py
in scripts
86 2
create_update_scps.py
in scripts
86 1
s3_block_public_access.py
in scripts
42 1
update_blueprint_versions.py
in scripts
66 1
default_vpc_removal.py
in scripts
43 1
core_account_baseline.py
in scripts
70 1
baseline.py
in scripts
88 1
Files With Long Lines (Top 5)

There are 5 files with lines longer than 120 characters. In total, there are 10 long lines.

File# lines# units# long lines
deployment.yaml
in templates
226 - 4
update_blueprint_versions.py
in scripts
66 1 2
upgrade_accounts_in_ou.py
in scripts
86 2 2
create_update_scps.py
in scripts
86 1 1
upload_stackset_assets.py
in scripts
31 - 1