aws-samples / amazon-sagemaker-drift-detection
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 33 files with 4,249 lines of code.
    • 0 very long files (0 lines of code)
    • 0 long files (0 lines of code)
    • 8 medium size files (2,406 lines of codeclsfd_ftr_w_mp_ins)
    • 6 small files (889 lines of code)
    • 19 very small files (954 lines of code)
0% | 0% | 56% | 20% | 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% | 0% | 52% | 23% | 24%
yml0% | 0% | 100% | 0% | 0%
File Size per Logical Decomposition
primary
1001+
501-1000
201-500
101-200
1-100
infra0% | 0% | 91% | 0% | 8%
ROOT0% | 0% | 84% | 0% | 15%
build_pipeline/pipelines0% | 0% | 65% | 22% | 11%
deployment_pipeline/infra0% | 0% | 47% | 33% | 18%
batch_pipeline/pipelines0% | 0% | 0% | 68% | 31%
batch_pipeline/infra0% | 0% | 0% | 62% | 37%
batch_pipeline0% | 0% | 0% | 80% | 19%
deployment_pipeline0% | 0% | 0% | 77% | 22%
lambda/build0% | 0% | 0% | 0% | 100%
build_pipeline0% | 0% | 0% | 0% | 100%
build_pipeline/infra0% | 0% | 0% | 0% | 100%
Longest Files (Top 33)
File# lines# units
drift-service-catalog.yml
in root
403 -
build_pipeline_construct.py
in infra
358 2
batch_pipeline_construct.py
in infra
345 2
pipeline.py
in build_pipeline/pipelines
338 3
pipeline_stack.py
in infra
277 4
deploy_pipeline_construct.py
in infra
251 1
service_catalog_stack.py
in infra
218 2
sagemaker_stack.py
in deployment_pipeline/infra
216 2
pipeline.py
in batch_pipeline/pipelines
198 3
model_registry.py
in batch_pipeline/infra
168 8
model_registry.py
in deployment_pipeline/infra
150 7
app.py
in batch_pipeline
143 2
preprocess.py
in build_pipeline/pipelines
116 7
app.py
in deployment_pipeline
114 2
lambda_start_pipeline.py
in lambda/build
91 2
upload_assets.py
in infra
89 5
deployment_config.py
in deployment_pipeline/infra
85 5
app.py
in build_pipeline
85 1
lambda_pipeline_change.py
in lambda/build
82 3
sagemaker_pipeline_stack.py
in batch_pipeline/infra
62 1
evaluate.py
in build_pipeline/pipelines
60 -
postprocess_monitor_script.py
in batch_pipeline/pipelines
55 4
sagemaker_pipeline_stack.py
in build_pipeline/infra
54 1
batch_config.py
in batch_pipeline/infra
39 2
setup.py
in root
38 -
setup.py
in batch_pipeline
35 -
score.py
in batch_pipeline/pipelines
35 1
setup.py
in deployment_pipeline
34 -
app.py
in root
34 -
setup.py
in build_pipeline
32 -
clean_template.py
in infra
31 1
generate_sc_template.py
in infra
12 1
__init__.py
in infra
1 -
Files With Most Units (Top 20)
File# lines# units
model_registry.py
in batch_pipeline/infra
168 8
model_registry.py
in deployment_pipeline/infra
150 7
preprocess.py
in build_pipeline/pipelines
116 7
deployment_config.py
in deployment_pipeline/infra
85 5
upload_assets.py
in infra
89 5
postprocess_monitor_script.py
in batch_pipeline/pipelines
55 4
pipeline_stack.py
in infra
277 4
pipeline.py
in build_pipeline/pipelines
338 3
pipeline.py
in batch_pipeline/pipelines
198 3
lambda_pipeline_change.py
in lambda/build
82 3
app.py
in deployment_pipeline
114 2
sagemaker_stack.py
in deployment_pipeline/infra
216 2
app.py
in batch_pipeline
143 2
batch_config.py
in batch_pipeline/infra
39 2
batch_pipeline_construct.py
in infra
345 2
build_pipeline_construct.py
in infra
358 2
service_catalog_stack.py
in infra
218 2
lambda_start_pipeline.py
in lambda/build
91 2
app.py
in build_pipeline
85 1
sagemaker_pipeline_stack.py
in build_pipeline/infra
54 1
Files With Long Lines (Top 9)

There are 9 files with lines longer than 120 characters. In total, there are 20 long lines.

File# lines# units# long lines
drift-service-catalog.yml
in root
403 - 9
service_catalog_stack.py
in infra
218 2 3
sagemaker_stack.py
in deployment_pipeline/infra
216 2 2
model_registry.py
in deployment_pipeline/infra
150 7 1
app.py
in batch_pipeline
143 2 1
model_registry.py
in batch_pipeline/infra
168 8 1
batch_pipeline_construct.py
in infra
345 2 1
deploy_pipeline_construct.py
in infra
251 1 1
build_pipeline_construct.py
in infra
358 2 1