aws-quickstart / quickstart-ibm-cloud-pak-for-security
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 23 files with 5,404 lines of code.
    • 1 very long files (2,810 lines of code)
    • 1 long files (622 lines of code)
    • 3 medium size files (1,180 lines of codeclsfd_ftr_w_mp_ins)
    • 2 small files (275 lines of code)
    • 16 very small files (517 lines of code)
51% | 11% | 21% | 5% | 9%
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
yaml67% | 14% | 9% | 0% | 7%
py0% | 0% | 62% | 22% | 15%
File Size per Logical Decomposition
primary
1001+
501-1000
201-500
101-200
1-100
templates73% | 16% | 10% | 0% | 0%
scripts0% | 0% | 75% | 24% | 0%
scripts/yapl0% | 0% | 56% | 21% | 22%
scripts/templates/cp4s0% | 0% | 0% | 0% | 100%
scripts/installDir0% | 0% | 0% | 0% | 100%
scripts/pyca0% | 0% | 0% | 0% | 100%
Longest Files (Top 23)
File# lines# units
aws-vpc.template.yaml
in templates
2810 -
ibm-cloudpak-security.template.yaml
in templates
622 -
ibm-cloudpak-root.template.yaml
in templates
408 -
cp4s_install.py
in scripts
404 16
Trace.py
in scripts/yapl
368 43
Utilities.py
in scripts/yapl
141 9
cloud_install.py
in scripts
134 2
S3Helper.py
in scripts/yapl
91 7
health-check-3AZ.yaml
in scripts/templates/cp4s
61 -
install-config-3AZ.yaml
in scripts/installDir
56 -
install-config-1AZ.yaml
in scripts/installDir
48 -
ca.py
in scripts/pyca
46 2
LogExporter.py
in scripts/yapl
40 2
machine-autoscaler-3AZ.yaml
in scripts/templates/cp4s
39 -
health-check-1AZ.yaml
in scripts/templates/cp4s
21 -
cluster-autoscaler.yaml
in scripts/templates/cp4s
20 -
insecure-registry.yaml
in scripts/templates/cp4s
17 -
security-limits-mc.yaml
in scripts/templates/cp4s
17 -
crio-mc.yaml
in scripts/templates/cp4s
17 -
wkc-sysctl-mc.yaml
in scripts/templates/cp4s
17 -
Exceptions.py
in scripts/yapl
13 -
machine-autoscaler-1AZ.yaml
in scripts/templates/cp4s
13 -
__init__.py
in scripts/yapl
1 -
Files With Most Units (Top 7)
File# lines# units
Trace.py
in scripts/yapl
368 43
cp4s_install.py
in scripts
404 16
Utilities.py
in scripts/yapl
141 9
S3Helper.py
in scripts/yapl
91 7
LogExporter.py
in scripts/yapl
40 2
cloud_install.py
in scripts
134 2
ca.py
in scripts/pyca
46 2
Files With Long Lines (Top 7)

There are 7 files with lines longer than 120 characters. In total, there are 92 long lines.

File# lines# units# long lines
aws-vpc.template.yaml
in templates
2810 - 24
ibm-cloudpak-root.template.yaml
in templates
408 - 22
ibm-cloudpak-security.template.yaml
in templates
622 - 19
cp4s_install.py
in scripts
404 16 17
Trace.py
in scripts/yapl
368 43 8
S3Helper.py
in scripts/yapl
91 7 1
wkc-sysctl-mc.yaml
in scripts/templates/cp4s
17 - 1