aws-samples / aws-microservices-deploy-options
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 60 files with 5,570 lines of code.
    • 0 very long files (0 lines of code)
    • 1 long files (755 lines of code)
    • 4 medium size files (1,250 lines of codeclsfd_ftr_w_mp_ins)
    • 16 small files (2,318 lines of code)
    • 39 very small files (1,247 lines of code)
0% | 13% | 22% | 41% | 22%
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
adoc0% | 100% | 0% | 0% | 0%
yaml0% | 0% | 28% | 49% | 21%
yml0% | 0% | 0% | 50% | 49%
jsonnet0% | 0% | 0% | 0% | 100%
js0% | 0% | 0% | 0% | 100%
tpl0% | 0% | 0% | 0% | 100%
File Size per Logical Decomposition
primary
1001+
501-1000
201-500
101-200
1-100
ROOT0% | 100% | 0% | 0% | 0%
apps/ecs/ec20% | 0% | 52% | 42% | 5%
apps/lambda0% | 0% | 41% | 39% | 18%
apps/ecs/ecs-cli0% | 0% | 87% | 0% | 12%
apps/ecs/fargate0% | 0% | 41% | 0% | 58%
apps/ecs/deployment0% | 0% | 0% | 93% | 6%
apps/k8s/istio0% | 0% | 0% | 72% | 27%
apps/k8s/standalone0% | 0% | 0% | 100% | 0%
apps/k8s/helm0% | 0% | 0% | 0% | 100%
apps/k8s/kubepack0% | 0% | 0% | 0% | 100%
config/xray0% | 0% | 0% | 0% | 100%
apps/k8s/ksonnet0% | 0% | 0% | 0% | 100%
apps/lambda/hooks0% | 0% | 0% | 0% | 100%
Longest Files (Top 50)
File# lines# units
adoc
readme.adoc
in root
755 -
infrastructure.yaml
in apps/ecs/ec2/templates
400 -
microservice-pipeline.yaml
in apps/lambda
354 -
infra.yaml
in apps/ecs/ecs-cli
294 -
infrastructure.yaml
in apps/ecs/fargate/templates
202 -
deployment-pipeline.yaml
in apps/ecs/deployment
198 -
ecs-refarch-continuous-deployment.yaml
in apps/ecs/deployment
193 -
sam.yaml
in apps/lambda
182 -
manifest.yaml
in apps/k8s/istio
172 -
load-balancer.yaml
in apps/ecs/deployment
169 -
vpc.yaml
in apps/ecs/deployment
166 -
greeting-sam.yaml
in apps/lambda
159 -
ecs-cluster.yaml
in apps/ecs/deployment
157 -
manifest.yml
in apps/k8s/standalone
142 -
deployment-pipeline-webapp.yaml
in apps/ecs/deployment
120 -
deployment-pipeline-name.yaml
in apps/ecs/deployment
120 -
webapp.yaml
in apps/ecs/ec2/templates
118 -
webapp.yaml
in apps/ecs/deployment
110 -
greeting.yaml
in apps/ecs/deployment
106 -
name.yaml
in apps/ecs/ec2/templates
103 -
greeting.yaml
in apps/ecs/ec2/templates
103 -
name.yaml
in apps/ecs/deployment
94 -
xray-daemonset.yaml
in config/xray
93 -
webapp.yaml
in apps/ecs/fargate/templates
89 -
name-sam.yaml
in apps/lambda
86 -
webapp-sam.yaml
in apps/lambda
75 -
name.yaml
in apps/ecs/fargate/templates
74 -
greeting.yaml
in apps/ecs/fargate/templates
74 -
master.yaml
in apps/ecs/fargate/templates
44 -
master.yaml
in apps/ecs/ec2/templates
44 -
webapp-deployment.yaml
in apps/k8s/helm/myapp/templates
41 -
webapp.deployment.yml
in apps/k8s/kubepack/manifests/app
40 -
webapp.jsonnet
in apps/k8s/ksonnet/myapp/components
32 -
name-deployment.yaml
in apps/k8s/helm/myapp/templates
29 -
greeting-deployment.yaml
in apps/k8s/helm/myapp/templates
29 -
preTrafficHook.js
in apps/lambda/hooks
29 -
greeting.deployment.yml
in apps/k8s/kubepack/manifests/app
28 -
name.deployment.yml
in apps/k8s/kubepack/manifests/app
28 -
postTrafficHook.js
in apps/lambda/hooks
27 -
greeting.jsonnet
in apps/k8s/ksonnet/myapp/components
24 -
name.jsonnet
in apps/k8s/ksonnet/myapp/components
24 -
route-greeting-delay-abort.yaml
in apps/k8s/istio
21 -
webapp-docker-compose.yaml
in apps/ecs/ecs-cli
19 -
route-50-50.yaml
in apps/k8s/istio
16 -
webapp-service.yaml
in apps/k8s/helm/myapp/templates
16 -
webapp.svc.yml
in apps/k8s/kubepack/manifests/app
15 -
route-greeting-delay-10percent.yaml
in apps/k8s/istio
14 -
route-90-10.yaml
in apps/k8s/istio
14 -
name-service.yaml
in apps/k8s/helm/myapp/templates
14 -
greeting-service.yaml
in apps/k8s/helm/myapp/templates
14 -
Files With Most Units (Top 0)
File# lines# units
Files With Long Lines (Top 12)

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

File# lines# units# long lines
adoc
readme.adoc
in root
755 - 66
infrastructure.yaml
in apps/ecs/ec2/templates
400 - 6
microservice-pipeline.yaml
in apps/lambda
354 - 6
sam.yaml
in apps/lambda
182 - 4
ecs-refarch-continuous-deployment.yaml
in apps/ecs/deployment
193 - 2
name-sam.yaml
in apps/lambda
86 - 2
ecs-cluster.yaml
in apps/ecs/deployment
157 - 1
name.yaml
in apps/ecs/ec2/templates
103 - 1
greeting.yaml
in apps/ecs/ec2/templates
103 - 1
webapp.yaml
in apps/ecs/ec2/templates
118 - 1
greeting-sam.yaml
in apps/lambda
159 - 1
webapp-sam.yaml
in apps/lambda
75 - 1