aws-quickstart / quickstart-eks-cdk-python
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 44 files with 9,226 lines of code.
    • 2 very long files (7,341 lines of code)
    • 0 long files (0 lines of code)
    • 0 medium size files (0 lines of codeclsfd_ftr_w_mp_ins)
    • 4 small files (670 lines of code)
    • 38 very small files (1,215 lines of code)
79% | 0% | 0% | 7% | 13%
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
yaml78% | 0% | 0% | 6% | 14%
py83% | 0% | 0% | 9% | 7%
yml0% | 0% | 0% | 0% | 100%
File Size per Logical Decomposition
primary
1001+
501-1000
201-500
101-200
1-100
cluster-bootstrap95% | 0% | 0% | 1% | 2%
gatekeeper/policies/constraint-templates0% | 0% | 0% | 51% | 48%
demo-apps/ghost-cdk0% | 0% | 0% | 67% | 32%
demo-apps0% | 0% | 0% | 0% | 100%
gatekeeper/policies/constraints0% | 0% | 0% | 0% | 100%
cluster-codebuild0% | 0% | 0% | 0% | 100%
gatekeeper/policies0% | 0% | 0% | 0% | 100%
gatekeeper0% | 0% | 0% | 0% | 100%
Longest Files (Top 44)
File# lines# units
calico-operator.yaml
in cluster-bootstrap
5733 -
eks_cluster.py
in cluster-bootstrap
1608 1
container_resource_ratios.yaml
in gatekeeper/policies/constraint-templates
192 -
ghost_example.py
in demo-apps/ghost-cdk
186 1
psp_users.yaml
in gatekeeper/policies/constraint-templates
166 -
cloudwatch-agent.yaml
in cluster-bootstrap
126 -
secrets-store-csi-driver-provider-aws.yaml
in cluster-bootstrap
80 -
hello-kubernetes-alb.yaml
in demo-apps
79 -
psp_capabilities.yaml
in gatekeeper/policies/constraint-templates
66 -
hello-kubernetes-nlb.yaml
in demo-apps
64 -
ghost-deployment.yaml
in demo-apps/ghost-cdk
57 -
required_probes.yaml
in gatekeeper/policies/constraint-templates
50 -
ekslogs_custom_resource.py
in cluster-bootstrap
49 2
psp_host_network.yaml
in gatekeeper/policies/constraint-templates
47 -
amp_custom_resource.py
in cluster-bootstrap
47 3
disallowed_tags.yaml
in gatekeeper/policies/constraint-templates
42 -
eks_codebuild.py
in cluster-codebuild
41 1
policies-sync.yaml
in gatekeeper/policies
39 -
hpa-example.yaml
in demo-apps
36 -
psp_volumes.yaml
in gatekeeper/policies/constraint-templates
35 -
psp_privilege_escalation.yaml
in gatekeeper/policies/constraint-templates
35 -
efs-statefulset.yaml
in demo-apps
33 -
ebs-statefulset.yaml
in demo-apps
33 -
psp_users.yaml
in gatekeeper/policies/constraints
32 -
efs-pod.yaml
in demo-apps
29 -
ebs-pod.yaml
in demo-apps
29 -
gatekeeper-sync.yaml
in gatekeeper
27 -
psp_privileged.yaml
in gatekeeper/policies/constraint-templates
26 -
psp_host_namespaces.yaml
in gatekeeper/policies/constraint-templates
25 -
buildspec.yml
in cluster-bootstrap
25 -
ghost-ingress.yaml
in demo-apps/ghost-cdk
23 -
psp_volumes.yaml
in gatekeeper/policies/constraints
19 -
required_probes.yaml
in gatekeeper/policies/constraints
14 -
kustomization.yaml
in gatekeeper/policies/constraints
14 -
kustomization.yaml
in gatekeeper/policies/constraint-templates
14 -
disallowed_tags.yaml
in gatekeeper/policies/constraints
13 -
psp_host_network.yaml
in gatekeeper/policies/constraints
13 -
container_resource_ratios.yaml
in gatekeeper/policies/constraints
13 -
psp_capabilities.yaml
in gatekeeper/policies/constraints
13 -
ghost-service.yaml
in demo-apps/ghost-cdk
11 -
psp_host_namespaces.yaml
in gatekeeper/policies/constraints
11 -
psp_privileged.yaml
in gatekeeper/policies/constraints
11 -
psp_privilege_escalation.yaml
in gatekeeper/policies/constraints
10 -
calico-crs.yaml
in cluster-bootstrap
10 -
Files With Most Units (Top 5)
File# lines# units
amp_custom_resource.py
in cluster-bootstrap
47 3
ekslogs_custom_resource.py
in cluster-bootstrap
49 2
ghost_example.py
in demo-apps/ghost-cdk
186 1
eks_codebuild.py
in cluster-codebuild
41 1
eks_cluster.py
in cluster-bootstrap
1608 1
Files With Long Lines (Top 10)

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

File# lines# units# long lines
calico-operator.yaml
in cluster-bootstrap
5733 - 52
eks_cluster.py
in cluster-bootstrap
1608 1 19
psp_users.yaml
in gatekeeper/policies/constraint-templates
166 - 6
psp_capabilities.yaml
in gatekeeper/policies/constraint-templates
66 - 4
container_resource_ratios.yaml
in gatekeeper/policies/constraint-templates
192 - 2
psp_volumes.yaml
in gatekeeper/policies/constraint-templates
35 - 1
disallowed_tags.yaml
in gatekeeper/policies/constraint-templates
42 - 1
psp_host_network.yaml
in gatekeeper/policies/constraint-templates
47 - 1
required_probes.yaml
in gatekeeper/policies/constraint-templates
50 - 1
secrets-store-csi-driver-provider-aws.yaml
in cluster-bootstrap
80 - 1