aws-solutions / mlops-workload-orchestrator
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 57 files with 5,686 lines of code.
    • 0 very long files (0 lines of code)
    • 2 long files (1,215 lines of code)
    • 8 medium size files (2,589 lines of codeclsfd_ftr_w_mp_ins)
    • 4 small files (625 lines of code)
    • 43 very small files (1,257 lines of code)
0% | 21% | 45% | 10% | 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
py0% | 21% | 45% | 11% | 21%
js0% | 0% | 0% | 0% | 100%
File Size per Logical Decomposition
primary
1001+
501-1000
201-500
101-200
1-100
source/lib/blueprints/byom/pipeline_definitions0% | 45% | 36% | 0% | 17%
source/lib/blueprints/byom0% | 0% | 54% | 26% | 18%
source/lambdas/pipeline_orchestration0% | 0% | 68% | 31% | <1%
source/lib0% | 0% | 94% | 0% | 5%
source/lib/blueprints/byom/lambdas0% | 0% | 39% | 24% | 36%
source0% | 0% | 0% | 0% | 100%
source/lambdas/pipeline_orchestration/shared0% | 0% | 0% | 0% | 100%
source/lambdas/solution_helper0% | 0% | 0% | 0% | 100%
source/lambdas/custom_resource0% | 0% | 0% | 0% | 100%
deployment/cdk-solution-helper0% | 0% | 0% | 0% | 100%
source/lib/blueprints0% | 0% | 0% | 0% | 100%
Longest Files (Top 50)
File# lines# units
templates_parameters.py
in source/lib/blueprints/byom/pipeline_definitions
672 71
iam_policies.py
in source/lib/blueprints/byom/pipeline_definitions
543 26
lambda_helpers.py
in source/lambdas/pipeline_orchestration
418 20
mlops_orchestrator_stack.py
in source/lib
395 1
deploy_actions.py
in source/lib/blueprints/byom/pipeline_definitions
392 10
sagemaker_model_monitor_construct.py
in source/lib/blueprints/byom/pipeline_definitions
334 9
model_monitor.py
in source/lib/blueprints/byom
301 8
baselines_helper.py
in source/lib/blueprints/byom/lambdas/create_baseline_job
277 14
helpers.py
in source/lib/blueprints/byom/pipeline_definitions
246 17
multi_account_codepipeline.py
in source/lib/blueprints/byom
226 1
index.py
in source/lambdas/pipeline_orchestration
190 6
stackset_helpers.py
in source/lib/blueprints/byom/lambdas/create_update_cf_stackset
175 14
realtime_inference_pipeline.py
in source/lib/blueprints/byom
139 1
byom_batch_pipeline.py
in source/lib/blueprints/byom
121 1
single_account_codepipeline.py
in source/lib/blueprints/byom
94 1
main.py
in source/lib/blueprints/byom/lambdas/create_baseline_job
91 1
app.py
in source
91 -
build_actions.py
in source/lib/blueprints/byom/pipeline_definitions
89 1
byom_custom_algorithm_image_builder.py
in source/lib/blueprints/byom
87 1
configure_multi_account.py
in source/lib/blueprints/byom/pipeline_definitions
86 1
sagemaker_role.py
in source/lib/blueprints/byom/pipeline_definitions
75 1
sagemaker_monitor_role.py
in source/lib/blueprints/byom/pipeline_definitions
74 1
main.py
in source/lib/blueprints/byom/lambdas/create_update_cf_stackset
56 1
lambda_function.py
in source/lambdas/solution_helper
56 4
index.py
in source/lambdas/custom_resource
45 4
main.py
in source/lib/blueprints/byom/lambdas/batch_transform
39 1
sagemaker_endpoint_config.py
in source/lib/blueprints/byom/pipeline_definitions
38 1
wrappers.py
in source/lambdas/pipeline_orchestration/shared
37 2
source_actions.py
in source/lib/blueprints/byom/pipeline_definitions
36 4
sagemaker_model.py
in source/lib/blueprints/byom/pipeline_definitions
35 1
index.py
in source/lib/blueprints/byom/lambdas/invoke_lambda_custom_resource
35 3
index.js
in deployment/cdk-solution-helper
30 -
main.py
in source/lib/blueprints/byom/lambdas/inference
26 2
logger.py
in source/lambdas/pipeline_orchestration/shared
21 2
helper.py
in source/lambdas/pipeline_orchestration/shared
20 2
aws_sdk_config_aspect.py
in source/lib
14 2
sagemaker_endpoint.py
in source/lib/blueprints/byom/pipeline_definitions
13 1
sagemaker_model_registry.py
in source/lib/blueprints/byom/pipeline_definitions
11 1
approval_actions.py
in source/lib/blueprints/byom/pipeline_definitions
11 1
conditional_resource.py
in source/lib
10 2
conftest.py
in source
9 1
cdk_context_value.py
in source/lib/blueprints/byom/pipeline_definitions
6 1
setup.py
in source/lib/blueprints/byom/lambdas/batch_transform
2 -
setup.py
in source/lib/blueprints/byom/lambdas/inference
2 -
setup.py
in source/lib/blueprints/byom/lambdas/invoke_lambda_custom_resource
2 -
setup.py
in source/lib/blueprints/byom/lambdas/create_update_cf_stackset
2 -
setup.py
in source/lib/blueprints/byom/lambdas/create_baseline_job
2 -
setup.py
in source/lambdas/custom_resource
2 -
setup.py
in source/lambdas/pipeline_orchestration
2 -
__init__.py
in source/lib
1 -
Files With Most Units (Top 20)
File# lines# units
templates_parameters.py
in source/lib/blueprints/byom/pipeline_definitions
672 71
iam_policies.py
in source/lib/blueprints/byom/pipeline_definitions
543 26
lambda_helpers.py
in source/lambdas/pipeline_orchestration
418 20
helpers.py
in source/lib/blueprints/byom/pipeline_definitions
246 17
stackset_helpers.py
in source/lib/blueprints/byom/lambdas/create_update_cf_stackset
175 14
baselines_helper.py
in source/lib/blueprints/byom/lambdas/create_baseline_job
277 14
deploy_actions.py
in source/lib/blueprints/byom/pipeline_definitions
392 10
sagemaker_model_monitor_construct.py
in source/lib/blueprints/byom/pipeline_definitions
334 9
model_monitor.py
in source/lib/blueprints/byom
301 8
index.py
in source/lambdas/pipeline_orchestration
190 6
source_actions.py
in source/lib/blueprints/byom/pipeline_definitions
36 4
index.py
in source/lambdas/custom_resource
45 4
lambda_function.py
in source/lambdas/solution_helper
56 4
index.py
in source/lib/blueprints/byom/lambdas/invoke_lambda_custom_resource
35 3
aws_sdk_config_aspect.py
in source/lib
14 2
conditional_resource.py
in source/lib
10 2
main.py
in source/lib/blueprints/byom/lambdas/inference
26 2
logger.py
in source/lambdas/pipeline_orchestration/shared
21 2
wrappers.py
in source/lambdas/pipeline_orchestration/shared
37 2
helper.py
in source/lambdas/pipeline_orchestration/shared
20 2
Files With Long Lines (Top 4)

There are 4 files with lines longer than 120 characters. In total, there are 13 long lines.

File# lines# units# long lines
templates_parameters.py
in source/lib/blueprints/byom/pipeline_definitions
672 71 7
sagemaker_model_monitor_construct.py
in source/lib/blueprints/byom/pipeline_definitions
334 9 4
baselines_helper.py
in source/lib/blueprints/byom/lambdas/create_baseline_job
277 14 1
index.py
in source/lambdas/pipeline_orchestration
190 6 1