aws-samples / eks-security-compromised-cluster-remediation
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 24 files with 1,614 lines of code.
    • 0 very long files (0 lines of code)
    • 0 long files (0 lines of code)
    • 1 medium size files (222 lines of codeclsfd_ftr_w_mp_ins)
    • 9 small files (1,121 lines of code)
    • 14 very small files (271 lines of code)
0% | 0% | 13% | 69% | 16%
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% | 0% | 14% | 67% | 18%
go0% | 0% | 0% | 100% | 0%
File Size per Logical Decomposition
primary
1001+
501-1000
201-500
101-200
1-100
Implement_Countermeasures/security-profiles-operator/profiles0% | 0% | 46% | 50% | 2%
Implement_Countermeasures/gatekeeper/constraint-templates0% | 0% | 0% | 100% | 0%
Containment/forensics/source0% | 0% | 0% | 100% | 0%
Implement_Countermeasures/gatekeeper/constraints0% | 0% | 0% | 0% | 100%
Implement_Countermeasures/falco0% | 0% | 0% | 0% | 100%
Implement_Countermeasures/security-profiles-operator/pods0% | 0% | 0% | 0% | 100%
Longest Files (Top 24)
File# lines# units
confine-nginx-explicit-allow.yaml
in Implement_Countermeasures/security-profiles-operator/profiles
222 -
dep-host-filesystem-template.yaml
in Implement_Countermeasures/gatekeeper/constraint-templates
168 -
pod-host-filesystem-template.yaml
in Implement_Countermeasures/gatekeeper/constraint-templates
168 -
confine-nginx-explicit-deny.yaml
in Implement_Countermeasures/security-profiles-operator/profiles
140 -
main.go
in Containment/forensics/source
116 1
pod-security-context-template.yaml
in Implement_Countermeasures/gatekeeper/constraint-templates
113 -
dep-security-context-template.yaml
in Implement_Countermeasures/gatekeeper/constraint-templates
107 -
dep-host-network-template.yaml
in Implement_Countermeasures/gatekeeper/constraint-templates
104 -
pod-host-network-template.yaml
in Implement_Countermeasures/gatekeeper/constraint-templates
104 -
multiple.yaml
in Implement_Countermeasures/security-profiles-operator/profiles
101 -
values.yaml
in Implement_Countermeasures/falco
87 -
nginx-explicit-deny.yaml
in Implement_Countermeasures/security-profiles-operator/pods
16 -
block-all.yaml
in Implement_Countermeasures/security-profiles-operator/pods
16 -
nginx-explicit-allow.yaml
in Implement_Countermeasures/security-profiles-operator/pods
16 -
complainer.yaml
in Implement_Countermeasures/security-profiles-operator/pods
16 -
block-high-risk.yaml
in Implement_Countermeasures/security-profiles-operator/pods
16 -
pod-host-network-constraint.yaml
in Implement_Countermeasures/gatekeeper/constraints
16 -
dep-host-network-constraint.yaml
in Implement_Countermeasures/gatekeeper/constraints
16 -
pod-host-filesystem-constraint.yaml
in Implement_Countermeasures/gatekeeper/constraints
16 -
dep-host-filesystem-constraint.yaml
in Implement_Countermeasures/gatekeeper/constraints
16 -
pod-security-context-constraint.yaml
in Implement_Countermeasures/gatekeeper/constraints
13 -
dep-security-context-constraint.yaml
in Implement_Countermeasures/gatekeeper/constraints
13 -
complainer.yaml
in Implement_Countermeasures/security-profiles-operator/profiles
10 -
ns.yaml
in Implement_Countermeasures/security-profiles-operator/profiles
4 -
Files With Most Units (Top 1)
File# lines# units
main.go
in Containment/forensics/source
116 1
Files With Long Lines (Top 8)

There are 8 files with lines longer than 120 characters. In total, there are 23 long lines.

File# lines# units# long lines
pod-security-context-template.yaml
in Implement_Countermeasures/gatekeeper/constraint-templates
113 - 6
dep-security-context-template.yaml
in Implement_Countermeasures/gatekeeper/constraint-templates
107 - 6
main.go
in Containment/forensics/source
116 1 3
multiple.yaml
in Implement_Countermeasures/security-profiles-operator/profiles
101 - 2
dep-host-filesystem-template.yaml
in Implement_Countermeasures/gatekeeper/constraint-templates
168 - 2
pod-host-filesystem-template.yaml
in Implement_Countermeasures/gatekeeper/constraint-templates
168 - 2
dep-host-network-template.yaml
in Implement_Countermeasures/gatekeeper/constraint-templates
104 - 1
pod-host-network-template.yaml
in Implement_Countermeasures/gatekeeper/constraint-templates
104 - 1