aws / aws-eks-best-practices
File Size

The distribution of size of files (measured in lines of code).

Intro
Learn more...
File Size Overall
0% | 0% | 6% | 28% | 65%
Legend:
1001+
501-1000
201-500
101-200
1-100


explore: grouped by folders | grouped by size | sunburst | 3D view
File Size per Extension
1001+
501-1000
201-500
101-200
1-100
py0% | 0% | 97% | 0% | 2%
yaml0% | 0% | 0% | 31% | 68%
go0% | 0% | 0% | 0% | 100%
xml0% | 0% | 0% | 0% | 100%
html0% | 0% | 0% | 0% | 100%
File Size per Logical Decomposition
primary
1001+
501-1000
201-500
101-200
1-100
projects0% | 0% | 71% | 0% | 28%
policies0% | 0% | 0% | 31% | 68%
ROOT0% | 0% | 0% | 0% | 100%
overrides0% | 0% | 0% | 0% | 100%
Longest Files (Top 50)
File# lines# units
main.py
in projects/enable-irsa/src
227 14
container_resource_ratios.yaml
in policies/alternative-gatekeeper/policies/constraint-templates
192 -
psp_users.yaml
in policies/alternative-gatekeeper/policies/constraint-templates
166 -
5-dep-resources-template.yaml
in policies/opa/gatekeeper/constraint-templates
117 -
2-dep-pod-sec-cont.yaml
in policies/kyverno/cluster-policies
114 -
2-dep-security-context-template.yaml
in policies/opa/gatekeeper/constraint-templates
111 -
deprecated-registry-ct.yaml
in policies/k8s-registry-deprecation/gatekeeper
108 -
4-affinity-constraint-template-pod.yaml
in policies/opa/gatekeeper/node-selector/validate/constraint-templates
107 -
3-affinity-constraint-template-dep.yaml
in policies/opa/gatekeeper/node-selector/validate/constraint-templates
107 -
1-labels-constraint-template.yaml
in policies/opa/gatekeeper/constraint-templates
99 -
8-svc-clusterip-ext-ips-allowed.yaml
in policies/opa/gatekeeper/constraint-templates
98 -
2-toleration-constraint-template-pod.yaml
in policies/opa/gatekeeper/node-selector/validate/constraint-templates
96 -
1-toleration-constraint-template-dep.yaml
in policies/opa/gatekeeper/node-selector/validate/constraint-templates
96 -
3-dep-registry-template.yaml
in policies/opa/gatekeeper/constraint-templates
91 -
7-svc-clusterip-ext-ips.yaml
in policies/opa/gatekeeper/constraint-templates
91 -
4-dep-role-ns-template.yaml
in policies/opa/gatekeeper/constraint-templates
90 -
6-dep-latest-version-template.yaml
in policies/opa/gatekeeper/constraint-templates
87 -
psp_capabilities.yaml
in policies/alternative-gatekeeper/policies/constraint-templates
66 -
7-deployment-resources.yaml
in policies/opa/classic/configmaps
62 -
0-lib.yaml
in policies/opa/classic/configmaps
61 -
4-deployment-security-context.yaml
in policies/opa/classic/configmaps
55 -
required_probes.yaml
in policies/alternative-gatekeeper/policies/constraint-templates
50 -
psp_host_network.yaml
in policies/alternative-gatekeeper/policies/constraint-templates
47 -
update.go
in projects/imds
47 2
imds.go
in projects/imds
43 2
disallowed_tags.yaml
in policies/alternative-gatekeeper/policies/constraint-templates
42 -
policies-sync.yaml
in policies/alternative-gatekeeper/policies
39 -
1-dep-pod-labels.yaml
in policies/kyverno/cluster-policies
39 -
38 -
4-dep-valid-role.yaml
in policies/kyverno/cluster-policies
37 -
deprecated-registry.yaml
in policies/k8s-registry-deprecation/kyverno
36 -
psp_volumes.yaml
in policies/alternative-gatekeeper/policies/constraint-templates
35 -
psp_privilege_escalation.yaml
in policies/alternative-gatekeeper/policies/constraint-templates
35 -
psp_users.yaml
in policies/alternative-gatekeeper/policies/constraints
32 -
1-main.yaml
in policies/opa/classic/configmaps
31 -
5-deployment-registry-allowed.yaml
in policies/opa/classic/configmaps
31 -
6-deployment-ns-role-allowed.yaml
in policies/opa/classic/configmaps
29 -
gatekeeper-sync.yaml
in policies/alternative-gatekeeper
27 -
deprecated-registry.yaml
in policies/k8s-registry-deprecation/sigstore
27 -
psp_privileged.yaml
in policies/alternative-gatekeeper/policies/constraint-templates
26 -
8-deployment-latest-image-version.yaml
in policies/opa/classic/configmaps
26 -
psp_host_namespaces.yaml
in policies/alternative-gatekeeper/policies/constraint-templates
25 -
3-dep-pod-valid-registry.yaml
in policies/kyverno/cluster-policies
24 -
1-affinity-deploy.yaml
in policies/opa/gatekeeper/node-selector/mutate
23 -
2-affinity-pod.yaml
in policies/opa/gatekeeper/node-selector/mutate
23 -
4-pod-nodeaffinity-constraint.yaml
in policies/opa/gatekeeper/node-selector/validate/constraints
22 -
3-dep-nodeaffinity-constraint.yaml
in policies/opa/gatekeeper/node-selector/validate/constraints
22 -
3-toleration-deploy.yaml
in policies/opa/gatekeeper/node-selector/mutate
22 -
4-toleration-pod.yaml
in policies/opa/gatekeeper/node-selector/mutate
22 -
3-deployment-spec-temp-labels.yaml
in policies/opa/classic/configmaps
22 -
Files With Most Units (Top 4)
File# lines# units
main.py
in projects/enable-irsa/src
227 14
imds.go
in projects/imds
43 2
update.go
in projects/imds
47 2
set-url.py
in overrides
5 1
Files With Long Lines (Top 35)

There are 35 files with lines longer than 120 characters. In total, there are 77 long lines.

File# lines# units# long lines
deprecated-registry-ct.yaml
in policies/k8s-registry-deprecation/gatekeeper
108 - 9
5-dep-resources-template.yaml
in policies/opa/gatekeeper/constraint-templates
117 - 7
7-deployment-resources.yaml
in policies/opa/classic/configmaps
62 - 7
psp_users.yaml
in policies/alternative-gatekeeper/policies/constraint-templates
166 - 6
2-dep-security-context-template.yaml
in policies/opa/gatekeeper/constraint-templates
111 - 6
4-deployment-security-context.yaml
in policies/opa/classic/configmaps
55 - 6
psp_capabilities.yaml
in policies/alternative-gatekeeper/policies/constraint-templates
66 - 4
container_resource_ratios.yaml
in policies/alternative-gatekeeper/policies/constraint-templates
192 - 2
1-labels-constraint-template.yaml
in policies/opa/gatekeeper/constraint-templates
99 - 2
main.py
in projects/enable-irsa/src
227 14 2
imds.go
in projects/imds
43 2 2
2 - 1
main.html
in overrides
11 - 1
psp_volumes.yaml
in policies/alternative-gatekeeper/policies/constraint-templates
35 - 1
psp_host_network.yaml
in policies/alternative-gatekeeper/policies/constraint-templates
47 - 1
disallowed_tags.yaml
in policies/alternative-gatekeeper/policies/constraint-templates
42 - 1
required_probes.yaml
in policies/alternative-gatekeeper/policies/constraint-templates
50 - 1
6-dep-latest-version-template.yaml
in policies/opa/gatekeeper/constraint-templates
87 - 1
3-dep-registry-template.yaml
in policies/opa/gatekeeper/constraint-templates
91 - 1
4-dep-role-ns-template.yaml
in policies/opa/gatekeeper/constraint-templates
90 - 1
8-svc-clusterip-ext-ips-allowed.yaml
in policies/opa/gatekeeper/constraint-templates
98 - 1
7-svc-clusterip-ext-ips.yaml
in policies/opa/gatekeeper/constraint-templates
91 - 1
2-toleration-constraint-template-pod.yaml
in policies/opa/gatekeeper/node-selector/validate/constraint-templates
96 - 1
4-affinity-constraint-template-pod.yaml
in policies/opa/gatekeeper/node-selector/validate/constraint-templates
107 - 1
1-toleration-constraint-template-dep.yaml
in policies/opa/gatekeeper/node-selector/validate/constraint-templates
96 - 1
3-affinity-constraint-template-dep.yaml
in policies/opa/gatekeeper/node-selector/validate/constraint-templates
107 - 1
6-deployment-ns-role-allowed.yaml
in policies/opa/classic/configmaps
29 - 1
3-deployment-spec-temp-labels.yaml
in policies/opa/classic/configmaps
22 - 1
5-deployment-registry-allowed.yaml
in policies/opa/classic/configmaps
31 - 1
8-deployment-latest-image-version.yaml
in policies/opa/classic/configmaps
26 - 1
9-clusterip-service-ext-ips.yaml
in policies/opa/classic/configmaps
20 - 1
2-deployment-labels.yaml
in policies/opa/classic/configmaps
22 - 1
10-clusterip-service-ext-ips.yaml
in policies/opa/classic/configmaps
22 - 1
deprecated-registry.yaml
in policies/k8s-registry-deprecation/sigstore
27 - 1
4-dep-valid-role.yaml
in policies/kyverno/cluster-policies
37 - 1
Correlations

File Size vs. Commits (all time): 79 points

overrides/main.html x: 20 commits (all time) y: 11 lines of code overrides/set-url.py x: 2 commits (all time) y: 5 lines of code build-info.xml x: 13 commits (all time) y: 38 lines of code preview-config.yaml x: 2 commits (all time) y: 2 lines of code policies/alternative-gatekeeper/gatekeeper-sync.yaml x: 3 commits (all time) y: 27 lines of code policies/alternative-gatekeeper/policies/constraint-templates/container_resource_ratios.yaml x: 5 commits (all time) y: 192 lines of code policies/alternative-gatekeeper/policies/constraint-templates/disallowed_tags.yaml x: 5 commits (all time) y: 42 lines of code policies/alternative-gatekeeper/policies/constraint-templates/kustomization.yaml x: 3 commits (all time) y: 14 lines of code policies/alternative-gatekeeper/policies/constraint-templates/psp_capabilities.yaml x: 5 commits (all time) y: 66 lines of code policies/alternative-gatekeeper/policies/constraint-templates/psp_host_namespaces.yaml x: 5 commits (all time) y: 25 lines of code policies/alternative-gatekeeper/policies/constraint-templates/psp_host_network.yaml x: 5 commits (all time) y: 47 lines of code policies/alternative-gatekeeper/policies/constraint-templates/psp_privilege_escalation.yaml x: 5 commits (all time) y: 35 lines of code policies/alternative-gatekeeper/policies/constraint-templates/psp_privileged.yaml x: 5 commits (all time) y: 26 lines of code policies/alternative-gatekeeper/policies/constraint-templates/psp_users.yaml x: 5 commits (all time) y: 166 lines of code policies/alternative-gatekeeper/policies/constraint-templates/required_probes.yaml x: 5 commits (all time) y: 50 lines of code policies/alternative-gatekeeper/policies/constraints/container_resource_ratios.yaml x: 5 commits (all time) y: 13 lines of code policies/alternative-gatekeeper/policies/constraints/psp_host_namespaces.yaml x: 5 commits (all time) y: 11 lines of code policies/alternative-gatekeeper/policies/constraints/psp_privilege_escalation.yaml x: 5 commits (all time) y: 10 lines of code policies/alternative-gatekeeper/policies/constraints/psp_users.yaml x: 5 commits (all time) y: 32 lines of code policies/alternative-gatekeeper/policies/constraints/psp_volumes.yaml x: 5 commits (all time) y: 19 lines of code policies/alternative-gatekeeper/policies/constraints/required_probes.yaml x: 5 commits (all time) y: 14 lines of code policies/alternative-gatekeeper/policies/policies-sync.yaml x: 3 commits (all time) y: 39 lines of code policies/k8s-registry-deprecation/gatekeeper/deprecated-registry-c.yaml x: 4 commits (all time) y: 15 lines of code policies/k8s-registry-deprecation/gatekeeper/deprecated-registry-ct.yaml x: 4 commits (all time) y: 108 lines of code policies/k8s-registry-deprecation/kyverno/deprecated-registry.yaml x: 6 commits (all time) y: 36 lines of code policies/k8s-registry-deprecation/sigstore/deprecated-registry.yaml x: 4 commits (all time) y: 27 lines of code policies/kyverno/cluster-policies/2-dep-pod-sec-cont.yaml x: 3 commits (all time) y: 114 lines of code policies/kyverno/cluster-policies/3-dep-pod-valid-registry.yaml x: 3 commits (all time) y: 24 lines of code policies/kyverno/cluster-policies/4-cm-ns-roles.yaml x: 3 commits (all time) y: 12 lines of code policies/kyverno/cluster-policies/4-dep-valid-role.yaml x: 3 commits (all time) y: 37 lines of code policies/opa/classic/configmaps/0-lib.yaml x: 3 commits (all time) y: 61 lines of code policies/opa/classic/configmaps/1-main.yaml x: 3 commits (all time) y: 31 lines of code policies/opa/classic/configmaps/10-clusterip-service-ext-ips.yaml x: 3 commits (all time) y: 22 lines of code policies/opa/classic/configmaps/4-deployment-security-context.yaml x: 3 commits (all time) y: 55 lines of code policies/opa/classic/configmaps/6-deployment-ns-role-allowed.yaml x: 3 commits (all time) y: 29 lines of code policies/opa/classic/configmaps/7-deployment-resources.yaml x: 3 commits (all time) y: 62 lines of code policies/opa/classic/configmaps/8-deployment-latest-image-version.yaml x: 3 commits (all time) y: 26 lines of code policies/opa/classic/configmaps/9-clusterip-service-ext-ips.yaml x: 3 commits (all time) y: 20 lines of code policies/opa/gatekeeper/constraint-templates/1-labels-constraint-template.yaml x: 4 commits (all time) y: 99 lines of code policies/opa/gatekeeper/constraint-templates/2-dep-security-context-template.yaml x: 4 commits (all time) y: 111 lines of code policies/opa/gatekeeper/constraint-templates/3-dep-registry-template.yaml x: 4 commits (all time) y: 91 lines of code policies/opa/gatekeeper/constraint-templates/4-dep-role-ns-template.yaml x: 4 commits (all time) y: 90 lines of code policies/opa/gatekeeper/constraint-templates/5-dep-resources-template.yaml x: 4 commits (all time) y: 117 lines of code policies/opa/gatekeeper/constraint-templates/6-dep-latest-version-template.yaml x: 4 commits (all time) y: 87 lines of code policies/opa/gatekeeper/constraint-templates/8-svc-clusterip-ext-ips-allowed.yaml x: 4 commits (all time) y: 98 lines of code policies/opa/gatekeeper/constraints/1-dep-labels-constraint.yaml x: 4 commits (all time) y: 16 lines of code policies/opa/gatekeeper/constraints/2-dep-security-context-constraint.yaml x: 4 commits (all time) y: 14 lines of code policies/opa/gatekeeper/constraints/8-svc-clusterip-ext-ips-allowed.yaml x: 4 commits (all time) y: 19 lines of code policies/opa/gatekeeper/node-selector/mutate/1-affinity-deploy.yaml x: 3 commits (all time) y: 23 lines of code policies/opa/gatekeeper/node-selector/validate/constraint-templates/1-toleration-constraint-template-dep.yaml x: 4 commits (all time) y: 96 lines of code policies/opa/gatekeeper/node-selector/validate/constraint-templates/2-toleration-constraint-template-pod.yaml x: 5 commits (all time) y: 96 lines of code policies/opa/gatekeeper/node-selector/validate/constraint-templates/3-affinity-constraint-template-dep.yaml x: 4 commits (all time) y: 107 lines of code policies/opa/gatekeeper/node-selector/validate/constraints/1-dep-toleration-constraint.yaml x: 3 commits (all time) y: 19 lines of code projects/enable-irsa/src/main.py x: 5 commits (all time) y: 227 lines of code projects/imds/imds.go x: 3 commits (all time) y: 43 lines of code projects/imds/update.go x: 3 commits (all time) y: 47 lines of code
227.0
lines of code
  min: 2.0
  average: 45.25
  25th percentile: 15.0
  median: 26.0
  75th percentile: 61.0
  max: 227.0
0 20.0
commits (all time)
min: 2.0 | average: 4.19 | 25th percentile: 3.0 | median: 4.0 | 75th percentile: 5.0 | max: 20.0

File Size vs. Contributors (all time): 79 points

overrides/main.html x: 7 contributors (all time) y: 11 lines of code overrides/set-url.py x: 1 contributors (all time) y: 5 lines of code build-info.xml x: 4 contributors (all time) y: 38 lines of code preview-config.yaml x: 2 contributors (all time) y: 2 lines of code policies/alternative-gatekeeper/gatekeeper-sync.yaml x: 3 contributors (all time) y: 27 lines of code policies/alternative-gatekeeper/policies/constraint-templates/container_resource_ratios.yaml x: 3 contributors (all time) y: 192 lines of code policies/alternative-gatekeeper/policies/constraint-templates/disallowed_tags.yaml x: 3 contributors (all time) y: 42 lines of code policies/alternative-gatekeeper/policies/constraint-templates/kustomization.yaml x: 3 contributors (all time) y: 14 lines of code policies/alternative-gatekeeper/policies/constraint-templates/psp_capabilities.yaml x: 3 contributors (all time) y: 66 lines of code policies/alternative-gatekeeper/policies/constraint-templates/psp_host_namespaces.yaml x: 3 contributors (all time) y: 25 lines of code policies/alternative-gatekeeper/policies/constraint-templates/psp_host_network.yaml x: 3 contributors (all time) y: 47 lines of code policies/alternative-gatekeeper/policies/constraint-templates/psp_privilege_escalation.yaml x: 3 contributors (all time) y: 35 lines of code policies/alternative-gatekeeper/policies/constraint-templates/psp_privileged.yaml x: 3 contributors (all time) y: 26 lines of code policies/alternative-gatekeeper/policies/constraint-templates/psp_users.yaml x: 3 contributors (all time) y: 166 lines of code policies/alternative-gatekeeper/policies/constraint-templates/required_probes.yaml x: 3 contributors (all time) y: 50 lines of code policies/alternative-gatekeeper/policies/constraints/container_resource_ratios.yaml x: 3 contributors (all time) y: 13 lines of code policies/alternative-gatekeeper/policies/constraints/psp_host_namespaces.yaml x: 3 contributors (all time) y: 11 lines of code policies/alternative-gatekeeper/policies/constraints/psp_privilege_escalation.yaml x: 3 contributors (all time) y: 10 lines of code policies/alternative-gatekeeper/policies/constraints/psp_users.yaml x: 3 contributors (all time) y: 32 lines of code policies/alternative-gatekeeper/policies/constraints/psp_volumes.yaml x: 3 contributors (all time) y: 19 lines of code policies/alternative-gatekeeper/policies/policies-sync.yaml x: 3 contributors (all time) y: 39 lines of code policies/k8s-registry-deprecation/gatekeeper/deprecated-registry-c.yaml x: 4 contributors (all time) y: 15 lines of code policies/k8s-registry-deprecation/gatekeeper/deprecated-registry-ct.yaml x: 4 contributors (all time) y: 108 lines of code policies/k8s-registry-deprecation/kyverno/deprecated-registry.yaml x: 4 contributors (all time) y: 36 lines of code policies/k8s-registry-deprecation/sigstore/deprecated-registry.yaml x: 4 contributors (all time) y: 27 lines of code policies/kyverno/cluster-policies/2-dep-pod-sec-cont.yaml x: 3 contributors (all time) y: 114 lines of code policies/kyverno/cluster-policies/3-dep-pod-valid-registry.yaml x: 3 contributors (all time) y: 24 lines of code policies/kyverno/cluster-policies/4-cm-ns-roles.yaml x: 3 contributors (all time) y: 12 lines of code policies/kyverno/cluster-policies/4-dep-valid-role.yaml x: 3 contributors (all time) y: 37 lines of code policies/opa/classic/configmaps/0-lib.yaml x: 3 contributors (all time) y: 61 lines of code policies/opa/classic/configmaps/1-main.yaml x: 3 contributors (all time) y: 31 lines of code policies/opa/classic/configmaps/10-clusterip-service-ext-ips.yaml x: 3 contributors (all time) y: 22 lines of code policies/opa/classic/configmaps/4-deployment-security-context.yaml x: 3 contributors (all time) y: 55 lines of code policies/opa/classic/configmaps/6-deployment-ns-role-allowed.yaml x: 3 contributors (all time) y: 29 lines of code policies/opa/classic/configmaps/7-deployment-resources.yaml x: 3 contributors (all time) y: 62 lines of code policies/opa/classic/configmaps/9-clusterip-service-ext-ips.yaml x: 3 contributors (all time) y: 20 lines of code policies/opa/gatekeeper/constraint-templates/1-labels-constraint-template.yaml x: 4 contributors (all time) y: 99 lines of code policies/opa/gatekeeper/constraint-templates/2-dep-security-context-template.yaml x: 4 contributors (all time) y: 111 lines of code policies/opa/gatekeeper/constraint-templates/3-dep-registry-template.yaml x: 4 contributors (all time) y: 91 lines of code policies/opa/gatekeeper/constraint-templates/4-dep-role-ns-template.yaml x: 4 contributors (all time) y: 90 lines of code policies/opa/gatekeeper/constraint-templates/5-dep-resources-template.yaml x: 4 contributors (all time) y: 117 lines of code policies/opa/gatekeeper/constraint-templates/6-dep-latest-version-template.yaml x: 4 contributors (all time) y: 87 lines of code policies/opa/gatekeeper/constraint-templates/8-svc-clusterip-ext-ips-allowed.yaml x: 4 contributors (all time) y: 98 lines of code policies/opa/gatekeeper/constraints/1-dep-labels-constraint.yaml x: 4 contributors (all time) y: 16 lines of code policies/opa/gatekeeper/constraints/2-dep-security-context-constraint.yaml x: 4 contributors (all time) y: 14 lines of code policies/opa/gatekeeper/constraints/8-svc-clusterip-ext-ips-allowed.yaml x: 4 contributors (all time) y: 19 lines of code policies/opa/gatekeeper/node-selector/mutate/1-affinity-deploy.yaml x: 3 contributors (all time) y: 23 lines of code policies/opa/gatekeeper/node-selector/validate/constraint-templates/1-toleration-constraint-template-dep.yaml x: 3 contributors (all time) y: 96 lines of code policies/opa/gatekeeper/node-selector/validate/constraint-templates/3-affinity-constraint-template-dep.yaml x: 3 contributors (all time) y: 107 lines of code projects/enable-irsa/src/main.py x: 3 contributors (all time) y: 227 lines of code projects/imds/imds.go x: 2 contributors (all time) y: 43 lines of code projects/imds/update.go x: 2 contributors (all time) y: 47 lines of code
227.0
lines of code
  min: 2.0
  average: 45.25
  25th percentile: 15.0
  median: 26.0
  75th percentile: 61.0
  max: 227.0
0 7.0
contributors (all time)
min: 1.0 | average: 3.25 | 25th percentile: 3.0 | median: 3.0 | 75th percentile: 4.0 | max: 7.0

File Size vs. Commits (30 days): 0 points

No data for "commits (30d)" vs. "lines of code".

File Size vs. Contributors (30 days): 0 points

No data for "contributors (30d)" vs. "lines of code".


File Size vs. Commits (90 days): 2 points

overrides/main.html x: 2 commits (90d) y: 11 lines of code overrides/set-url.py x: 2 commits (90d) y: 5 lines of code
11.0
lines of code
  min: 5.0
  average: 8.0
  25th percentile: 5.0
  median: 8.0
  75th percentile: 11.0
  max: 11.0
0 2.0
commits (90d)
min: 2.0 | average: 2.0 | 25th percentile: 2.0 | median: 2.0 | 75th percentile: 2.0 | max: 2.0

File Size vs. Contributors (90 days): 2 points

overrides/main.html x: 1 contributors (90d) y: 11 lines of code overrides/set-url.py x: 1 contributors (90d) y: 5 lines of code
11.0
lines of code
  min: 5.0
  average: 8.0
  25th percentile: 5.0
  median: 8.0
  75th percentile: 11.0
  max: 11.0
0 1.0
contributors (90d)
min: 1.0 | average: 1.0 | 25th percentile: 1.0 | median: 1.0 | 75th percentile: 1.0 | max: 1.0