aws-samples / aws-securityhub-automated-remediations-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 13 files with 1,664 lines of code.
    • 1 very long files (1,014 lines of code)
    • 0 long files (0 lines of code)
    • 0 medium size files (0 lines of codeclsfd_ftr_w_mp_ins)
    • 1 small files (132 lines of code)
    • 11 very small files (518 lines of code)
60% | 0% | 0% | 7% | 31%
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
yml60% | 0% | 0% | 7% | 31%
File Size per Logical Decomposition
primary
1001+
501-1000
201-500
101-200
1-100
module187% | 0% | 0% | 11% | 1%
module30% | 0% | 0% | 0% | 100%
module40% | 0% | 0% | 0% | 100%
ROOT0% | 0% | 0% | 0% | 100%
module60% | 0% | 0% | 0% | 100%
module20% | 0% | 0% | 0% | 100%
module50% | 0% | 0% | 0% | 100%
Longest Files (Top 13)
File# lines# units
securityhub-remediations-workshop.yml
in module1
1014 -
cloudcustodian-memberrole.yml
in module1
132 -
trace-ec2-sechub-custom-actions.yml
in module3
86 -
ec2-sechub-custom-actions.yml
in module3
76 -
buildspec.yml
in root
67 -
post-ebs-snapshot-public.yml
in module6
63 -
ec2-public-ingress-hubfinding.yml
in module4
46 -
ec2-public-ingress-s3-readable-kms-decrypt.yml
in module4
43 -
mkdocs.yml
in root
42 -
ec2-sechub-remediate-severity-with-findings.yml
in module2
30 -
ec2-public-ingress.yml
in module4
29 -
iam-user-hubfinding-remediate-disable.yml
in module5
23 -
force-vulnerability-finding.yml
in module1
13 -
Files With Most Units (Top 0)
File# lines# units
Files With Long Lines (Top 6)

There are 6 files with lines longer than 120 characters. In total, there are 22 long lines.

File# lines# units# long lines
buildspec.yml
in root
67 - 11
securityhub-remediations-workshop.yml
in module1
1014 - 7
ec2-sechub-remediate-severity-with-findings.yml
in module2
30 - 1
mkdocs.yml
in root
42 - 1
ec2-public-ingress-s3-readable-kms-decrypt.yml
in module4
43 - 1
post-ebs-snapshot-public.yml
in module6
63 - 1