awslabs / aws-htc-grid
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 123 files with 9,215 lines of code.
    • 0 very long files (0 lines of code)
    • 0 long files (0 lines of code)
    • 7 medium size files (2,340 lines of codeclsfd_ftr_w_mp_ins)
    • 23 small files (3,301 lines of code)
    • 93 very small files (3,574 lines of code)
0% | 0% | 25% | 35% | 38%
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
py0% | 0% | 39% | 27% | 32%
tf0% | 0% | 28% | 34% | 37%
yaml0% | 0% | 11% | 49% | 38%
tpl0% | 0% | 0% | 0% | 100%
yml0% | 0% | 0% | 0% | 100%
File Size per Logical Decomposition
primary
1001+
501-1000
201-500
101-200
1-100
deployment/grid/terraform0% | 0% | 17% | 39% | 42%
source/client/python0% | 0% | 45% | 17% | 36%
source/compute_plane/python0% | 0% | 58% | 20% | 21%
deployment/dev_environment_cloud9/cfn0% | 0% | 100% | 0% | 0%
source/control_plane/python0% | 0% | 0% | 66% | 33%
source/control_plane/openapi0% | 0% | 0% | 100% | 0%
deployment/grid/charts0% | 0% | 0% | 44% | 55%
deployment/image_repository/terraform0% | 0% | 0% | 0% | 100%
deployment/init_grid/cloudformation0% | 0% | 0% | 0% | 100%
ROOT0% | 0% | 0% | 0% | 100%
deployment/grid/scripts0% | 0% | 0% | 0% | 100%
Longest Files (Top 50)
File# lines# units
lambda.tf
in deployment/grid/terraform/control_plane
415 -
state_table_dynamodb.py
in source/client/python/api-v0.1/api
405 24
agent.py
in source/compute_plane/python/agent
386 12
variables.tf
in deployment/grid/terraform
334 -
cloud9-htc-grid.yaml
in deployment/dev_environment_cloud9/cfn
331 -
connector.py
in source/client/python/api-v0.1/api
242 12
main.tf
in deployment/grid/terraform
227 -
submit_tasks.py
in source/control_plane/python/lambda/submit_tasks
198 7
daemonset.linux.yaml
in deployment/grid/terraform/compute_plane/charts/aws-node-termination-handler/v1.10.0/templates
194 -
crds.yaml
in deployment/grid/terraform/compute_plane/charts/aws-load-balancer-controller/crds
185 -
grafana.tf
in deployment/grid/terraform/compute_plane
184 -
daemonset.windows.yaml
in deployment/grid/terraform/compute_plane/charts/aws-node-termination-handler/v1.10.0/templates
168 -
deployment.yaml
in deployment/grid/terraform/compute_plane/charts/aws-node-termination-handler/v1.10.0/templates
167 -
api_definition.yaml
in source/control_plane/openapi/public
156 -
variables.tf
in deployment/grid/terraform/compute_plane
154 -
api_definition.yaml
in source/control_plane/openapi/private
151 -
variables.tf
in deployment/grid/terraform/htc-agent
147 -
ttl_checker.py
in source/control_plane/python/lambda/ttl_checker
133 7
in_out_redis.py
in source/client/python/api-v0.1/api
132 19
handler.py
in source/compute_plane/python/lambda/drainer
131 4
webhook.yaml
in deployment/grid/terraform/compute_plane/charts/aws-load-balancer-controller/templates
131 -
variables.tf
in deployment/grid/terraform/control_plane
130 -
deployment.yaml
in deployment/grid/terraform/compute_plane/charts/aws-load-balancer-controller/templates
126 -
lambda_scaling.tf
in deployment/grid/terraform/compute_plane
125 -
vpc.tf
in deployment/grid/terraform/vpc
120 -
in_out_s3.py
in source/client/python/api-v0.1/api
118 27
lambda_drainer.tf
in deployment/grid/terraform/compute_plane
116 -
htc-agent.tf
in deployment/grid/terraform/htc-agent
113 -
prometheus.tf
in deployment/grid/terraform/compute_plane
111 -
deployment.yaml
in deployment/grid/charts/agent-htc-lambda/templates
111 -
test.yaml
in deployment/grid/terraform/compute_plane/charts/aws-node-termination-handler/v1.10.0
100 -
get_results.py
in source/control_plane/python/lambda/get_results
99 5
aws_iam_eks.tf
in deployment/grid/terraform/compute_plane
99 -
openapi-private.tf
in deployment/grid/terraform/control_plane
95 -
xray.tf
in deployment/grid/terraform/compute_plane
94 -
eks_cluster.tf
in deployment/grid/terraform/compute_plane
94 -
k8s_utils.py
in source/compute_plane/python/lambda/drainer
93 9
tpl
_helpers.tpl
in deployment/grid/terraform/compute_plane/charts/aws-node-termination-handler/v1.10.0/templates
93 -
performance_tracker.py
in source/client/python/utils/utils
86 11
values.yaml
in deployment/grid/terraform/compute_plane/charts/aws-node-termination-handler/v1.10.0
85 -
task_queue_priority_sqs.py
in source/client/python/api-v0.1/api
79 7
agent-config.tf
in deployment/grid/terraform
79 -
tpl
_helpers.tpl
in deployment/grid/terraform/compute_plane/charts/aws-load-balancer-controller/templates
79 -
task_queue_sqs.py
in source/client/python/api-v0.1/api
73 6
rbac.yaml
in deployment/grid/terraform/compute_plane/charts/aws-load-balancer-controller/templates
72 -
cancel_tasks.py
in source/control_plane/python/lambda/cancel_tasks
70 4
lambda_runtimes.tf
in deployment/image_repository/terraform
69 -
cloudwatch-adapter.tf
in deployment/grid/terraform/compute_plane
68 -
03-clusterrolebindings.yaml
in deployment/grid/terraform/compute_plane/charts/cloudwatch-adapter/v0.8.0/templates
67 -
ecr.tf
in deployment/image_repository/terraform
63 -
Files With Most Units (Top 20)
File# lines# units
in_out_s3.py
in source/client/python/api-v0.1/api
118 27
state_table_dynamodb.py
in source/client/python/api-v0.1/api
405 24
in_out_redis.py
in source/client/python/api-v0.1/api
132 19
agent.py
in source/compute_plane/python/agent
386 12
connector.py
in source/client/python/api-v0.1/api
242 12
performance_tracker.py
in source/client/python/utils/utils
86 11
k8s_utils.py
in source/compute_plane/python/lambda/drainer
93 9
submit_tasks.py
in source/control_plane/python/lambda/submit_tasks
198 7
ttl_checker.py
in source/control_plane/python/lambda/ttl_checker
133 7
task_queue_priority_sqs.py
in source/client/python/api-v0.1/api
79 7
task_queue_sqs.py
in source/client/python/api-v0.1/api
73 6
get_results.py
in source/control_plane/python/lambda/get_results
99 5
task_queue_common.py
in source/client/python/utils/utils
14 5
cancel_tasks.py
in source/control_plane/python/lambda/cancel_tasks
70 4
handler.py
in source/compute_plane/python/lambda/drainer
131 4
mock_compute_engine_job_wrapper.py
in source/client/python/utils/utils
29 4
perf_tracker_firehose_connector.py
in source/client/python/utils/utils
29 4
ttl_experation_generator.py
in source/client/python/utils/utils
25 4
perf_tracker_influxdb_connector.py
in source/client/python/utils/utils
28 3
scaling_metrics.py
in source/compute_plane/python/lambda/scaling_metrics
45 2
Files With Long Lines (Top 20)

There are 22 files with lines longer than 120 characters. In total, there are 109 long lines.

File# lines# units# long lines
main.tf
in deployment/grid/terraform
227 - 28
state_table_dynamodb.py
in source/client/python/api-v0.1/api
405 24 22
cloud9-htc-grid.yaml
in deployment/dev_environment_cloud9/cfn
331 - 10
ecr.tf
in deployment/image_repository/terraform
63 - 7
lambda_runtimes.tf
in deployment/image_repository/terraform
69 - 6
task_queue_priority_sqs.py
in source/client/python/api-v0.1/api
79 7 4
task_queue_sqs.py
in source/client/python/api-v0.1/api
73 6 4
api_definition.yaml
in source/control_plane/openapi/private
151 - 3
api_definition.yaml
in source/control_plane/openapi/public
156 - 3
grafana.tf
in deployment/grid/terraform/compute_plane
184 - 3
webhook.yaml
in deployment/grid/terraform/compute_plane/charts/aws-load-balancer-controller/templates
131 - 3
in_out_manager.py
in source/client/python/api-v0.1/api
23 1 2
auth.tf
in deployment/grid/terraform/compute_plane
51 - 2
crds.yaml
in deployment/grid/terraform/compute_plane/charts/aws-load-balancer-controller/crds
185 - 2
vpc.tf
in deployment/grid/terraform/vpc
120 - 2
deployment.yaml
in deployment/grid/charts/agent-htc-lambda/templates
111 - 2
task_queue_common.py
in source/client/python/utils/utils
14 5 1
xray.tf
in deployment/grid/terraform/compute_plane
94 - 1
tpl
_helpers.tpl
in deployment/grid/terraform/compute_plane/charts/aws-node-termination-handler/v1.10.0/templates
93 - 1
tpl
_helpers.tpl
in deployment/grid/terraform/compute_plane/charts/aws-load-balancer-controller/templates
79 - 1