aws / aws-app-mesh-examples
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 343 files with 46,631 lines of code.
    • 6 very long files (6,786 lines of code)
    • 16 long files (10,175 lines of code)
    • 51 medium size files (15,099 lines of codeclsfd_ftr_w_mp_ins)
    • 44 small files (6,556 lines of code)
    • 226 very small files (8,015 lines of code)
14% | 21% | 32% | 14% | 17%
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
yaml20% | 20% | 36% | 11% | 11%
go0% | 50% | 4% | 18% | 27%
yml0% | 16% | 56% | 18% | 7%
js0% | 0% | 98% | 0% | 1%
py0% | 0% | 0% | 30% | 69%
rb0% | 0% | 0% | 47% | 52%
html0% | 0% | 0% | 91% | 8%
cfg0% | 0% | 0% | 0% | 100%
proto0% | 0% | 0% | 0% | 100%
toml0% | 0% | 0% | 0% | 100%
ts0% | 0% | 0% | 0% | 100%
tpl0% | 0% | 0% | 0% | 100%
scss0% | 0% | 0% | 0% | 100%
css0% | 0% | 0% | 0% | 100%
File Size per Logical Decomposition
primary
1001+
501-1000
201-500
101-200
1-100
walkthroughs/howto-metrics-extension-ecs92% | 0% | 4% | 0% | 2%
walkthroughs/howto-http-headers83% | 0% | 0% | 12% | 3%
walkthroughs/howto-ecs-basics0% | 58% | 34% | 5% | 2%
walkthroughs/howto-grpc0% | 54% | 29% | 6% | 9%
walkthroughs/howto-k8s-grpc0% | 81% | 0% | 9% | 8%
blogs/ecs-ec2-crossvpc-with-tls0% | 53% | 32% | 10% | 4%
walkthroughs/howto-mutual-tls-file-provided-by-acm0% | 39% | 39% | 15% | 6%
walkthroughs/howto-alb0% | 69% | 24% | 0% | 6%
walkthroughs/howto-ingress-gateway0% | 58% | 18% | 15% | 7%
walkthroughs/howto-timeout-policy0% | 42% | 15% | 26% | 15%
blogs/ecs-service-connectivity0% | 40% | 0% | 27% | 31%
walkthroughs/howto-http20% | 51% | 22% | 12% | 13%
walkthroughs/howto-grpc-ingress-gateway0% | 42% | 42% | 0% | 14%
walkthroughs/howto-multiple-listeners0% | 56% | 21% | 15% | 6%
walkthroughs/howto-circuit-breakers0% | 51% | 19% | 14% | 13%
blogs/ecs-canary-deployments-pipeline0% | 0% | 53% | 39% | 7%
blogs/ecs-cross-account0% | 0% | 82% | 0% | 17%
walkthroughs/howto-match-and-rewrite-at-ingress0% | 0% | 73% | 16% | 9%
walkthroughs/howto-tls-file-provided0% | 0% | 54% | 27% | 17%
blogs/eks-canary-deployments-pipeline0% | 0% | 43% | 44% | 11%
walkthroughs/howto-cross-account0% | 0% | 61% | 19% | 18%
walkthroughs/eks-app-mesh-cross-account-acm0% | 0% | 49% | 0% | 50%
walkthroughs/eks-app-mesh-multi-account0% | 0% | 60% | 0% | 39%
walkthroughs/tls-with-acm0% | 0% | 59% | 20% | 20%
walkthroughs/howto-http-retries0% | 0% | 63% | 26% | 9%
walkthroughs/howto-mutual-tls-file-provided0% | 0% | 62% | 19% | 18%
walkthroughs/howto-servicediscovery-cloudmap0% | 0% | 57% | 42% | 0%
walkthroughs/howto-outlier-detection0% | 0% | 46% | 37% | 15%
blogs/cert-manager-tls0% | 0% | 42% | 35% | 21%
walkthroughs/howto-k8s-mtls-sds-based0% | 0% | 82% | 0% | 17%
blogs/eks-bulkhead-pattern-circuit-breaker0% | 0% | 74% | 0% | 25%
blogs/eks-appmesh-connectivity0% | 0% | 44% | 0% | 55%
walkthroughs/howto-k8s-grpc-ingress-v20% | 0% | 83% | 0% | 16%
walkthroughs/eks0% | 0% | 100% | 0% | 0%
walkthroughs/eks-getting-started0% | 0% | 24% | 30% | 45%
walkthroughs/fargate0% | 0% | 80% | 0% | 19%
walkthroughs/howto-k8s-fargate0% | 0% | 0% | 50% | 50%
walkthroughs/howto-k8s-outlier-detection0% | 0% | 0% | 69% | 30%
blogs/eks-multi-account-spire0% | 0% | 0% | 0% | 100%
walkthroughs/howto-k8s-mtls-file-based0% | 0% | 0% | 0% | 100%
walkthroughs/howto-k8s-tls-file-based0% | 0% | 0% | 0% | 100%
walkthroughs/howto-k8s-http20% | 0% | 0% | 0% | 100%
walkthroughs/howto-k8s-connection-pools0% | 0% | 0% | 0% | 100%
walkthroughs/howto-k8s-timeout-policy0% | 0% | 0% | 0% | 100%
walkthroughs/howto-k8s-cloudmap0% | 0% | 0% | 0% | 100%
walkthroughs/howto-k8s-cross-cluster0% | 0% | 0% | 0% | 100%
walkthroughs/howto-k8s-retry-policy0% | 0% | 0% | 0% | 100%
walkthroughs/howto-k8s-alb0% | 0% | 0% | 0% | 100%
walkthroughs/howto-k8s-tls-acm0% | 0% | 0% | 0% | 100%
walkthroughs/howto-k8s-http-headers0% | 0% | 0% | 0% | 100%
walkthroughs/howto-k8s-egress0% | 0% | 0% | 0% | 100%
walkthroughs/howto-k8s-ingress-gateway0% | 0% | 0% | 0% | 100%
walkthroughs/howto-k8s-http-ingress-v20% | 0% | 0% | 0% | 100%
Longest Files (Top 50)
File# lines# units
app.yaml
in walkthroughs/howto-http-headers
1331 -
djapp-v5.yaml
in walkthroughs/howto-metrics-extension-ecs/deploy
1156 -
djapp-v4.yaml
in walkthroughs/howto-metrics-extension-ecs/deploy
1091 -
djapp-v3.yaml
in walkthroughs/howto-metrics-extension-ecs/deploy
1086 -
djapp-v1.yaml
in walkthroughs/howto-metrics-extension-ecs/deploy
1061 -
djapp-v2.yaml
in walkthroughs/howto-metrics-extension-ecs/deploy
1061 -
3-routing.yaml
in walkthroughs/howto-ecs-basics/deploy
907 -
appmesh-baseline.yml
in blogs/ecs-ec2-crossvpc-with-tls
831 -
deploy.yaml
in walkthroughs/howto-mutual-tls-file-provided-by-acm/infrastructure
816 -
2-meshify.yaml
in walkthroughs/howto-ecs-basics/deploy
710 -
app.yaml
in walkthroughs/howto-alb
701 -
ecs-service.yaml
in walkthroughs/howto-ingress-gateway/infrastructure
644 -
ecs-service.yaml
in walkthroughs/howto-timeout-policy/infrastructure
577 -
yelb-cloudformation-ECS-AppMesh-deployment.yaml
in blogs/ecs-service-connectivity/yelb/deployments/platformdeployment/AWS/ECS
573 -
app.yaml
in walkthroughs/howto-http2
558 -
color.pb.go
in walkthroughs/howto-k8s-grpc/color_client/color
557 107
color.pb.go
in walkthroughs/howto-k8s-grpc/color_server/color
557 107
color.pb.go
in walkthroughs/howto-grpc-ingress-gateway/color_server/color
557 107
color.pb.go
in walkthroughs/howto-grpc/color_client/color
557 107
color.pb.go
in walkthroughs/howto-grpc/color_server/color
557 107
ecs-service.yaml
in walkthroughs/howto-multiple-listeners/infrastructure
537 -
ecs-service.yaml
in walkthroughs/howto-circuit-breakers/infrastructure
536 -
0-prelude.yaml
in walkthroughs/howto-ecs-basics/deploy
499 -
appmesh-nodejs.yml
in blogs/ecs-ec2-crossvpc-with-tls
493 -
ecs-service.yaml
in walkthroughs/howto-match-and-rewrite-at-ingress/infrastructure
469 -
app.yaml
in walkthroughs/howto-http-retries
466 -
1-servicediscovery.yaml
in walkthroughs/howto-ecs-basics/deploy
460 -
app.yaml
in walkthroughs/howto-servicediscovery-cloudmap
447 -
app_and_frontend.yml
in blogs/ecs-cross-account/account_frontend
422 -
ecs-service.yaml
in walkthroughs/howto-tls-file-provided/infrastructure
415 -
application.yaml
in walkthroughs/howto-outlier-detection
410 -
ecs-service.yaml
in walkthroughs/howto-mutual-tls-file-provided-by-acm/infrastructure
387 -
pipeline_cloudformation.yml
in blogs/ecs-canary-deployments-pipeline/pipeline_stack
371 -
app.yaml
in walkthroughs/howto-grpc
365 -
stepfunctions_cloudformation.yml
in blogs/ecs-canary-deployments-pipeline/shared_stack
361 -
pipeline_cloudformation.yml
in blogs/eks-canary-deployments-pipeline/pipeline_stack
357 -
yelb-base.yaml
in blogs/cert-manager-tls
336 -
app.yaml
in walkthroughs/howto-cross-account/primary-account
327 -
redis_and_database.yml
in blogs/ecs-cross-account/account_backend
327 -
infrastructure_backend.yaml
in walkthroughs/eks-app-mesh-multi-account/infrastructure
310 -
infrastructure_backend.yaml
in walkthroughs/eks-app-mesh-cross-account-acm/infrastructure
310 -
app.yaml
in walkthroughs/howto-grpc-ingress-gateway
306 -
spire_setup.yaml
in walkthroughs/howto-k8s-mtls-sds-based/spire
295 -
ecs-service.yaml
in walkthroughs/tls-with-acm/infrastructure
294 -
base.template.yaml
in blogs/eks-bulkhead-pattern-circuit-breaker/manifests
293 -
index.js
in walkthroughs/howto-metrics-extension-ecs/src/dashboard-v1
261 2
ecs-service.yaml
in walkthroughs/howto-mutual-tls-file-provided/infrastructure
260 -
infrastructure_frontend.yaml
in walkthroughs/eks-app-mesh-multi-account/infrastructure
251 -
infrastructure_frontend.yaml
in walkthroughs/eks-app-mesh-cross-account-acm/infrastructure
251 -
infra.yaml
in walkthroughs/howto-alb
247 -
Files With Most Units (Top 20)
File# lines# units
color.pb.go
in walkthroughs/howto-k8s-grpc/color_client/color
557 107
color.pb.go
in walkthroughs/howto-k8s-grpc/color_server/color
557 107
color.pb.go
in walkthroughs/howto-grpc-ingress-gateway/color_server/color
557 107
color.pb.go
in walkthroughs/howto-grpc/color_client/color
557 107
color.pb.go
in walkthroughs/howto-grpc/color_server/color
557 107
input.pb.go
in walkthroughs/howto-k8s-grpc-ingress-v2/greeter/input
237 20
main.go
in walkthroughs/howto-timeout-policy/src/colorgateway
193 12
main.go
in walkthroughs/howto-k8s-fargate/src/feapp
142 11
main.go
in walkthroughs/howto-outlier-detection/src/frontend-app
138 11
main.go
in walkthroughs/howto-k8s-outlier-detection/feapp
138 11
main.go
in walkthroughs/howto-ecs-basics/src/feapp
142 11
main.go
in walkthroughs/howto-k8s-grpc/color_server
74 7
main.go
in walkthroughs/howto-grpc-ingress-gateway/color_server
76 7
main.go
in walkthroughs/howto-k8s-fargate/src/colorapp
56 7
main.go
in walkthroughs/howto-outlier-detection/src/color-app
60 7
main.go
in walkthroughs/howto-k8s-outlier-detection/colorapp
60 7
main.go
in walkthroughs/howto-grpc/color_server
74 7
main.go
in walkthroughs/howto-ecs-basics/src/colorapp
56 7
main.go
in walkthroughs/tls-with-acm/src/colorteller
49 6
main.go
in walkthroughs/howto-ingress-gateway/src/colorteller
49 6
Files With Long Lines (Top 20)

There are 28 files with lines longer than 120 characters. In total, there are 110 long lines.

File# lines# units# long lines
app.component.html
in blogs/ecs-service-connectivity/yelb/yelb-ui/clarity-seed-newfiles/src/app
160 - 11
color.pb.go
in walkthroughs/howto-k8s-grpc/color_client/color
557 107 10
color.pb.go
in walkthroughs/howto-k8s-grpc/color_server/color
557 107 10
color.pb.go
in walkthroughs/howto-grpc-ingress-gateway/color_server/color
557 107 10
color.pb.go
in walkthroughs/howto-grpc/color_client/color
557 107 10
color.pb.go
in walkthroughs/howto-grpc/color_server/color
557 107 10
create-prometheus-env.yaml
in blogs/ecs-canary-deployments-pipeline/setup/templates
247 - 5
stepfunctions_cloudformation.yml
in blogs/ecs-canary-deployments-pipeline/shared_stack
361 - 4
pipeline_cloudformation.yml
in blogs/eks-canary-deployments-pipeline/pipeline_stack
357 - 4
ecs-service.yaml
in walkthroughs/howto-circuit-breakers/infrastructure
536 - 3
ecs-service.yaml
in walkthroughs/howto-multiple-listeners/infrastructure
537 - 3
ecs-service.yaml
in walkthroughs/howto-match-and-rewrite-at-ingress/infrastructure
469 - 3
yelb-cloudformation-ECS-AppMesh-deployment.yaml
in blogs/ecs-service-connectivity/yelb/deployments/platformdeployment/AWS/ECS
573 - 3
build.yml
in blogs/eks-canary-deployments-pipeline/microservices/yelb-db/specfiles
21 - 3
build.yml
in blogs/eks-canary-deployments-pipeline/microservices/yelb-appserver/specfiles
22 - 3
build.yml
in blogs/eks-canary-deployments-pipeline/microservices/redis-server/specfiles
21 - 3
build.yml
in blogs/eks-canary-deployments-pipeline/microservices/yelb-ui/specfiles
21 - 3
main.py
in blogs/ecs-canary-deployments-pipeline/shared_stack/lambda_functions/start_canary
181 2 2
yelb-appserver.rb
in walkthroughs/eks-getting-started/yelb-appserver-v2
108 - 1
getvotes.rb
in walkthroughs/eks-getting-started/yelb-appserver-v2/modules
10 1 1