aws-samples / amazon-sagemaker-ab-testing-pipeline
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 20 files with 2,281 lines of code.
    • 0 very long files (0 lines of code)
    • 0 long files (0 lines of code)
    • 5 medium size files (1,353 lines of codeclsfd_ftr_w_mp_ins)
    • 4 small files (489 lines of code)
    • 11 very small files (439 lines of code)
0% | 0% | 59% | 21% | 19%
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% | 50% | 26% | 23%
yml0% | 0% | 100% | 0% | 0%
File Size per Logical Decomposition
primary
1001+
501-1000
201-500
101-200
1-100
infra0% | 0% | 82% | 16% | <1%
lambda/api0% | 0% | 60% | 16% | 23%
ROOT0% | 0% | 88% | 0% | 11%
deployment_pipeline/infra0% | 0% | 0% | 79% | 20%
deployment_pipeline0% | 0% | 0% | 0% | 100%
notebook0% | 0% | 0% | 0% | 100%
Longest Files (Top 20)
File# lines# units
ab-testing-pipeline.yml
in root
411 -
api_stack.py
in infra
258 1
pipeline_stack.py
in infra
256 1
lambda_invoke.py
in lambda/api
220 6
experiment_metrics.py
in lambda/api
208 7
sagemaker_stack.py
in deployment_pipeline/infra
137 1
model_registry.py
in deployment_pipeline/infra
128 5
lambda_register.py
in lambda/api
119 4
service_catalog.py
in infra
105 1
algorithm.py
in lambda/api
71 11
deployment_config.py
in deployment_pipeline/infra
67 3
lambda_metrics.py
in lambda/api
58 3
register.py
in deployment_pipeline
44 -
app.py
in deployment_pipeline
43 -
setup.py
in root
41 -
experiment_assignment.py
in lambda/api
37 4
setup.py
in deployment_pipeline
33 -
simulation.py
in notebook
32 1
app.py
in root
12 -
__init__.py
in infra
1 -
Files With Most Units (Top 13)
File# lines# units
algorithm.py
in lambda/api
71 11
experiment_metrics.py
in lambda/api
208 7
lambda_invoke.py
in lambda/api
220 6
model_registry.py
in deployment_pipeline/infra
128 5
experiment_assignment.py
in lambda/api
37 4
lambda_register.py
in lambda/api
119 4
deployment_config.py
in deployment_pipeline/infra
67 3
lambda_metrics.py
in lambda/api
58 3
sagemaker_stack.py
in deployment_pipeline/infra
137 1
api_stack.py
in infra
258 1
pipeline_stack.py
in infra
256 1
service_catalog.py
in infra
105 1
simulation.py
in notebook
32 1
Files With Long Lines (Top 8)

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

File# lines# units# long lines
experiment_metrics.py
in lambda/api
208 7 2
ab-testing-pipeline.yml
in root
411 - 1
sagemaker_stack.py
in deployment_pipeline/infra
137 1 1
model_registry.py
in deployment_pipeline/infra
128 5 1
api_stack.py
in infra
258 1 1
pipeline_stack.py
in infra
256 1 1
service_catalog.py
in infra
105 1 1
lambda_register.py
in lambda/api
119 4 1