aws-samples / sagemaker-custom-project-templates
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 430 files with 69,689 lines of code.
    • 6 very long files (23,062 lines of code)
    • 17 long files (9,965 lines of code)
    • 61 medium size files (18,604 lines of codeclsfd_ftr_w_mp_ins)
    • 43 small files (6,474 lines of code)
    • 303 very small files (11,584 lines of code)
33% | 14% | 26% | 9% | 16%
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
py34% | 13% | 25% | 9% | 16%
yaml0% | 51% | 42% | 0% | 6%
yml0% | 0% | 66% | 10% | 22%
cfg0% | 0% | 0% | 0% | 100%
File Size per Logical Decomposition
primary
1001+
501-1000
201-500
101-200
1-100
mlops-template-gitlab/lambda_functions35% | 14% | 25% | 8% | 15%
multi-branch-mlops-train/cloud_formation0% | 46% | 38% | 0% | 15%
encrypted-buckets0% | 0% | 100% | 0% | 0%
batch-inference0% | 0% | 100% | 0% | 0%
asynchronous-inference-endpoint0% | 0% | 100% | 0% | 0%
multi-model-endpoint0% | 0% | 100% | 0% | 0%
mlops-template-gitlab/seedcode0% | 0% | 28% | 15% | 56%
mlops-template-gitlab0% | 0% | 0% | 100% | 0%
multi-branch-mlops-train/pipelines0% | 0% | 0% | 42% | 57%
batch-inference/seedcode0% | 0% | 0% | 31% | 68%
asynchronous-inference-endpoint/seedcode0% | 0% | 0% | 52% | 47%
multi-model-endpoint/seedcode0% | 0% | 0% | 62% | 37%
multi-branch-mlops-train0% | 0% | 0% | 0% | 100%
Longest Files (Top 50)
File# lines# units
uts46data.py
in mlops-template-gitlab/lambda_functions/lambda-gitlab-pipeline-trigger/idna
8272 80
uts46data.py
in mlops-template-gitlab/lambda_functions/lambda-seedcode-checkin-gitlab/idna
8272 80
idnadata.py
in mlops-template-gitlab/lambda_functions/lambda-gitlab-pipeline-trigger/idna
2048 -
idnadata.py
in mlops-template-gitlab/lambda_functions/lambda-seedcode-checkin-gitlab/idna
2048 -
__init__.py
in mlops-template-gitlab/lambda_functions/lambda-gitlab-pipeline-trigger/charset_normalizer/assets
1211 -
__init__.py
in mlops-template-gitlab/lambda_functions/lambda-seedcode-checkin-gitlab/charset_normalizer/assets
1211 -
train-codepipeline-codecommit.yaml
in multi-branch-mlops-train/cloud_formation
755 -
six.py
in mlops-template-gitlab/lambda_functions/lambda-gitlab-pipeline-trigger/urllib3/packages
735 65
six.py
in mlops-template-gitlab/lambda_functions/lambda-seedcode-checkin-gitlab/urllib3/packages
735 65
projects.py
in mlops-template-gitlab/lambda_functions/lambda-gitlab-pipeline-trigger/gitlab/v4/objects
625 23
projects.py
in mlops-template-gitlab/lambda_functions/lambda-seedcode-checkin-gitlab/gitlab/v4/objects
625 23
connectionpool.py
in mlops-template-gitlab/lambda_functions/lambda-gitlab-pipeline-trigger/urllib3
584 25
connectionpool.py
in mlops-template-gitlab/lambda_functions/lambda-seedcode-checkin-gitlab/urllib3
584 25
securetransport.py
in mlops-template-gitlab/lambda_functions/lambda-gitlab-pipeline-trigger/urllib3/contrib
543 41
securetransport.py
in mlops-template-gitlab/lambda_functions/lambda-seedcode-checkin-gitlab/urllib3/contrib
543 41
client.py
in mlops-template-gitlab/lambda_functions/lambda-gitlab-pipeline-trigger/gitlab
540 40
client.py
in mlops-template-gitlab/lambda_functions/lambda-seedcode-checkin-gitlab/gitlab
540 40
mixins.py
in mlops-template-gitlab/lambda_functions/lambda-gitlab-pipeline-trigger/gitlab
536 28
mixins.py
in mlops-template-gitlab/lambda_functions/lambda-seedcode-checkin-gitlab/gitlab
536 28
utils.py
in mlops-template-gitlab/lambda_functions/lambda-gitlab-pipeline-trigger/requests
522 40
utils.py
in mlops-template-gitlab/lambda_functions/lambda-seedcode-checkin-gitlab/requests
522 40
models.py
in mlops-template-gitlab/lambda_functions/lambda-gitlab-pipeline-trigger/requests
520 43
models.py
in mlops-template-gitlab/lambda_functions/lambda-seedcode-checkin-gitlab/requests
520 43
response.py
in mlops-template-gitlab/lambda_functions/lambda-gitlab-pipeline-trigger/urllib3
496 43
response.py
in mlops-template-gitlab/lambda_functions/lambda-seedcode-checkin-gitlab/urllib3
496 43
constant.py
in mlops-template-gitlab/lambda_functions/lambda-gitlab-pipeline-trigger/charset_normalizer
458 -
constant.py
in mlops-template-gitlab/lambda_functions/lambda-seedcode-checkin-gitlab/charset_normalizer
458 -
api.py
in mlops-template-gitlab/lambda_functions/lambda-gitlab-pipeline-trigger/charset_normalizer
429 4
api.py
in mlops-template-gitlab/lambda_functions/lambda-seedcode-checkin-gitlab/charset_normalizer
429 4
md.py
in mlops-template-gitlab/lambda_functions/lambda-gitlab-pipeline-trigger/charset_normalizer
425 46
md.py
in mlops-template-gitlab/lambda_functions/lambda-seedcode-checkin-gitlab/charset_normalizer
425 46
cli.py
in mlops-template-gitlab/lambda_functions/lambda-gitlab-pipeline-trigger/gitlab/v4
395 19
cli.py
in mlops-template-gitlab/lambda_functions/lambda-seedcode-checkin-gitlab/gitlab/v4
395 19
baseline.yaml
in multi-branch-mlops-train/cloud_formation
390 -
MLOps-template-example.yml
in encrypted-buckets
383 -
bindings.py
in mlops-template-gitlab/lambda_functions/lambda-gitlab-pipeline-trigger/urllib3/contrib/_securetransport
380 1
bindings.py
in mlops-template-gitlab/lambda_functions/lambda-seedcode-checkin-gitlab/urllib3/contrib/_securetransport
380 1
connection.py
in mlops-template-gitlab/lambda_functions/lambda-gitlab-pipeline-trigger/urllib3
365 17
connection.py
in mlops-template-gitlab/lambda_functions/lambda-seedcode-checkin-gitlab/urllib3
365 17
sessions.py
in mlops-template-gitlab/lambda_functions/lambda-gitlab-pipeline-trigger/requests
353 28
sessions.py
in mlops-template-gitlab/lambda_functions/lambda-seedcode-checkin-gitlab/requests
353 28
users.py
in mlops-template-gitlab/lambda_functions/lambda-gitlab-pipeline-trigger/gitlab/v4/objects
335 7
users.py
in mlops-template-gitlab/lambda_functions/lambda-seedcode-checkin-gitlab/gitlab/v4/objects
335 7
retry.py
in mlops-template-gitlab/lambda_functions/lambda-gitlab-pipeline-trigger/urllib3/util
328 21
retry.py
in mlops-template-gitlab/lambda_functions/lambda-seedcode-checkin-gitlab/urllib3/util
328 21
pyopenssl.py
in mlops-template-gitlab/lambda_functions/lambda-gitlab-pipeline-trigger/urllib3/contrib
314 32
pyopenssl.py
in mlops-template-gitlab/lambda_functions/lambda-seedcode-checkin-gitlab/urllib3/contrib
314 32
core.py
in mlops-template-gitlab/lambda_functions/lambda-gitlab-pipeline-trigger/idna
305 18
core.py
in mlops-template-gitlab/lambda_functions/lambda-seedcode-checkin-gitlab/idna
305 18
merge_requests.py
in mlops-template-gitlab/lambda_functions/lambda-gitlab-pipeline-trigger/gitlab/v4/objects
297 9
Files With Most Units (Top 20)
File# lines# units
uts46data.py
in mlops-template-gitlab/lambda_functions/lambda-gitlab-pipeline-trigger/idna
8272 80
uts46data.py
in mlops-template-gitlab/lambda_functions/lambda-seedcode-checkin-gitlab/idna
8272 80
six.py
in mlops-template-gitlab/lambda_functions/lambda-gitlab-pipeline-trigger/urllib3/packages
735 65
six.py
in mlops-template-gitlab/lambda_functions/lambda-seedcode-checkin-gitlab/urllib3/packages
735 65
cookies.py
in mlops-template-gitlab/lambda_functions/lambda-gitlab-pipeline-trigger/requests
280 49
cookies.py
in mlops-template-gitlab/lambda_functions/lambda-seedcode-checkin-gitlab/requests
280 49
md.py
in mlops-template-gitlab/lambda_functions/lambda-gitlab-pipeline-trigger/charset_normalizer
425 46
md.py
in mlops-template-gitlab/lambda_functions/lambda-seedcode-checkin-gitlab/charset_normalizer
425 46
response.py
in mlops-template-gitlab/lambda_functions/lambda-gitlab-pipeline-trigger/urllib3
496 43
models.py
in mlops-template-gitlab/lambda_functions/lambda-gitlab-pipeline-trigger/requests
520 43
encoder.py
in mlops-template-gitlab/lambda_functions/lambda-gitlab-pipeline-trigger/requests_toolbelt/multipart
267 43
response.py
in mlops-template-gitlab/lambda_functions/lambda-seedcode-checkin-gitlab/urllib3
496 43
models.py
in mlops-template-gitlab/lambda_functions/lambda-seedcode-checkin-gitlab/requests
520 43
encoder.py
in mlops-template-gitlab/lambda_functions/lambda-seedcode-checkin-gitlab/requests_toolbelt/multipart
267 43
securetransport.py
in mlops-template-gitlab/lambda_functions/lambda-gitlab-pipeline-trigger/urllib3/contrib
543 41
securetransport.py
in mlops-template-gitlab/lambda_functions/lambda-seedcode-checkin-gitlab/urllib3/contrib
543 41
models.py
in mlops-template-gitlab/lambda_functions/lambda-gitlab-pipeline-trigger/charset_normalizer
257 40
utils.py
in mlops-template-gitlab/lambda_functions/lambda-gitlab-pipeline-trigger/requests
522 40
client.py
in mlops-template-gitlab/lambda_functions/lambda-gitlab-pipeline-trigger/gitlab
540 40
models.py
in mlops-template-gitlab/lambda_functions/lambda-seedcode-checkin-gitlab/charset_normalizer
257 40
Files With Long Lines (Top 19)

There are 19 files with lines longer than 120 characters. In total, there are 74 long lines.

File# lines# units# long lines
template.yml
in batch-inference
244 - 13
template.yml
in asynchronous-inference-endpoint
244 - 13
mme-deployment-template.yml
in multi-model-endpoint
236 - 12
lambda_function.py
in mlops-template-gitlab/lambda_functions/lambda-seedcode-checkin-gitlab
198 2 6
project.yml
in mlops-template-gitlab
176 - 5
core.py
in mlops-template-gitlab/lambda_functions/lambda-gitlab-pipeline-trigger/idna
305 18 4
core.py
in mlops-template-gitlab/lambda_functions/lambda-seedcode-checkin-gitlab/idna
305 18 4
buildspec.yml
in multi-model-endpoint/seedcode
18 - 2
compat.py
in mlops-template-gitlab/lambda_functions/lambda-gitlab-pipeline-trigger/requests
42 - 2
compat.py
in mlops-template-gitlab/lambda_functions/lambda-seedcode-checkin-gitlab/requests
42 - 2
buildspec.yml
in batch-inference/seedcode
18 - 2
buildspec.yml
in asynchronous-inference-endpoint/seedcode
18 - 2
endpoint-config-template.yml
in multi-model-endpoint/seedcode
57 - 1
endpoint-config-template.yml
in mlops-template-gitlab/seedcode/mlops-gitlab-project-seedcode-model-deploy
50 - 1
pipeline.py
in batch-inference/seedcode/pipelines/batch_inference
71 4 1
endpoint-config-template.yml
in batch-inference/seedcode
95 - 1
endpoint-config-template.yml
in asynchronous-inference-endpoint/seedcode
99 - 1
run_pipeline.py
in multi-branch-mlops-train/pipelines
54 1 1
buildspec_train.yml
in multi-branch-mlops-train
16 - 1