aws / aws-k8s-tester
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 355 files with 87,292 lines of code.
    • 11 very long files (14,372 lines of code)
    • 34 long files (24,141 lines of code)
    • 90 medium size files (29,541 lines of codeclsfd_ftr_w_mp_ins)
    • 95 small files (13,913 lines of code)
    • 125 very small files (5,325 lines of code)
16% | 27% | 33% | 15% | 6%
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
go16% | 27% | 34% | 15% | 6%
yaml0% | 59% | 0% | 33% | 7%
php0% | 0% | 0% | 0% | 100%
File Size per Logical Decomposition
primary
1001+
501-1000
201-500
101-200
1-100
eks26% | 31% | 33% | 7% | 1%
pkg28% | 25% | 15% | 19% | 11%
ec233% | 13% | 46% | 4% | 2%
k8s-tester0% | 36% | 41% | 22% | <1%
eksconfig0% | 32% | 23% | 22% | 21%
client0% | 0% | 43% | 36% | 20%
cmd0% | 0% | 25% | 41% | 33%
utils0% | 0% | 44% | 42% | 13%
ec2config0% | 0% | 74% | 24% | 1%
ssh0% | 0% | 100% | 0% | 0%
version0% | 0% | 0% | 0% | 100%
images0% | 0% | 0% | 0% | 100%
Longest Files (Top 50)
File# lines# units
eks.go
in eks
1746 22
eks.go
in pkg/k8s-client
1544 50
vpc.go
in eks/cluster
1430 31
vpc.go
in ec2
1416 31
instance_types.go
in pkg/aws/ec2
1382 -
stresser.go
in eks/stresser/remote
1367 17
secrets.go
in eks/secrets/remote
1297 17
irsa-fargate.go
in eks/irsa-fargate
1065 21
fluentd.go
in eks/fluentd
1042 14
irsa.go
in eks/irsa
1042 19
nlb-guestbook.go
in eks/nlb-guestbook
1041 19
configmaps.go
in eks/configmaps/remote
988 17
csrs.go
in eks/csrs/remote
987 17
tester.go
in k8s-tester/nlb-guestbook
973 21
alb-2048.go
in eks/alb-2048
966 20
cni-vpc.go
in eks/cni-vpc
961 15
config.go
in eksconfig
959 19
config.go
in k8s-tester
921 11
tester.go
in k8s-tester/cloudwatch-agent
857 23
fargate.go
in eks/fargate
788 16
tester.go
in k8s-tester/stress/in-cluster
781 24
security-groups.go
in eks/ng
739 4
eks-deprecate.go
in pkg/k8s-client
738 6
cw-agent.go
in eks/cw-agent
717 12
k8s.go
in pkg/k8s-client
703 29
env.go
in eksconfig
703 2
fluent-bit.go
in k8s-tester/fluent-bit
697 13
security-groups.go
in eks/mng
694 2
stresser.go
in eks/stresser
693 7
clusterloader2-testing-load-config.yaml
in eksconfig/artifacts
668 -
cluster-loader.go
in eks/cluster-loader/remote
668 18
kubeflow.go
in eks/kubeflow
633 7
tester.go
in k8s-tester/kubernetes-dashboard
633 14
deprecate.go
in pkg/k8s-client/eks-deprecate
611 10
tester.go
in k8s-tester/stress
601 16
s3.go
in pkg/aws/s3
599 18
role.go
in ec2
582 14
role.go
in eks/ng
577 14
tester.go
in k8s-tester/csi-ebs
564 21
app-mesh.go
in eks/app-mesh
543 11
cluster.go
in eks/cluster
534 11
tester.go
in k8s-tester/clusterloader
525 24
conformance.go
in eks/conformance
519 11
stresser.go
in eks/stresser2
513 13
stresser.go
in eks/stresser/local
506 6
role.go
in eks/cluster
499 12
role.go
in eks/mng
497 12
tester.go
in k8s-tester/conformance
494 13
prometheus-grafana.go
in eks/prometheus-grafana
485 10
metrics.go
in pkg/metrics
475 34
Files With Most Units (Top 20)
File# lines# units
eks.go
in pkg/k8s-client
1544 50
metrics.go
in pkg/metrics
475 34
latency.go
in utils/latency
424 32
vpc.go
in eks/cluster
1430 31
vpc.go
in ec2
1416 31
k8s.go
in pkg/k8s-client
703 29
tester.go
in k8s-tester/clusterloader
525 24
tester.go
in k8s-tester/stress/in-cluster
781 24
tester.go
in k8s-tester/cloudwatch-agent
857 23
eks.go
in eks
1746 22
irsa-fargate.go
in eks/irsa-fargate
1065 21
tester.go
in k8s-tester/nlb-guestbook
973 21
tester.go
in k8s-tester/csi-ebs
564 21
client.go
in client
424 20
alb-2048.go
in eks/alb-2048
966 20
config.go
in eksconfig
959 19
nlb-guestbook.go
in eks/nlb-guestbook
1041 19
irsa.go
in eks/irsa
1042 19
s3.go
in pkg/aws/s3
599 18
cluster-loader.go
in eks/cluster-loader/remote
668 18
Files With Long Lines (Top 20)

There are 234 files with lines longer than 120 characters. In total, there are 1544 long lines.

File# lines# units# long lines
eks.go
in pkg/k8s-client
1544 50 57
eks.go
in eks
1746 22 51
secrets.go
in eks/secrets/remote
1297 17 38
stresser.go
in eks/stresser/remote
1367 17 37
stresser.go
in eks/stresser/local
506 6 33
add-on-stresser-remote.go
in eksconfig
285 4 31
add-on-secrets-local.go
in eksconfig
252 3 31
add-on-stresser-local.go
in eksconfig
244 3 31
add-on-secrets-remote.go
in eksconfig
288 4 31
secrets.go
in eks/secrets/local
470 6 31
vpc.go
in eks/cluster
1430 31 30
add-on-managed-node-groups.go
in eksconfig
326 3 25
security-groups.go
in eks/ng
739 4 24
create-stresser.go
in cmd/aws-k8s-tester/eks
159 2 24
stresser.go
in eks/stresser
693 7 22
main.go
in k8s-tester/clusterloader/cmd/k8s-tester-clusterloader
198 7 21
configmaps.go
in eks/configmaps/remote
988 17 20
csrs.go
in eks/csrs/remote
987 17 20
create-secrets.go
in cmd/aws-k8s-tester/eks
160 2 20
eks-deprecate.go
in pkg/k8s-client
738 6 18