aws / sagemaker-pytorch-inference-toolkit
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 527 lines of code.
    • 0 very long files (0 lines of code)
    • 0 long files (0 lines of code)
    • 0 medium size files (0 lines of codeclsfd_ftr_w_mp_ins)
    • 1 small files (151 lines of code)
    • 19 very small files (376 lines of code)
0% | 0% | 0% | 28% | 71%
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% | 0% | 38% | 61%
yml0% | 0% | 0% | 0% | 100%
c0% | 0% | 0% | 0% | 100%
in0% | 0% | 0% | 0% | 100%
cfg0% | 0% | 0% | 0% | 100%
File Size per Logical Decomposition
primary
1001+
501-1000
201-500
101-200
1-100
src/sagemaker_pytorch_serving_container0% | 0% | 0% | 47% | 52%
ROOT0% | 0% | 0% | 0% | 100%
artifacts0% | 0% | 0% | 0% | 100%
docker/build_artifacts0% | 0% | 0% | 0% | 100%
docker/1.2.0/py20% | 0% | 0% | 0% | 100%
docker/1.2.0/py30% | 0% | 0% | 0% | 100%
Longest Files (Top 20)
File# lines# units
torchserve.py
in src/sagemaker_pytorch_serving_container
151 8
default_pytorch_inference_handler.py
in src/sagemaker_pytorch_serving_container
86 5
buildspec.yml
in root
70 -
setup.py
in root
41 1
ts_environment.py
in src/sagemaker_pytorch_serving_container
40 7
handler_service.py
in src/sagemaker_pytorch_serving_container
18 2
buildspec-release.yml
in root
16 -
serving.py
in src/sagemaker_pytorch_serving_container
14 3
ts-entrypoint.py
in artifacts
10 -
buildspec-container-pr.yml
in root
10 -
mms-entrypoint.py
in docker/build_artifacts
10 -
mms-entrypoint.py
in docker/1.2.0/py2
10 -
mms-entrypoint.py
in docker/1.2.0/py3
10 -
changehostname.c
in artifacts
8 1
changehostname.c
in docker/build_artifacts
8 1
in
MANIFEST.in
in root
7 -
ts_parameters.py
in src/sagemaker_pytorch_serving_container
6 -
buildspec-deploy.yml
in root
6 -
cfg
setup.cfg
in root
5 -
__init__.py
in src/sagemaker_pytorch_serving_container
1 -
Files With Most Units (Top 8)
File# lines# units
torchserve.py
in src/sagemaker_pytorch_serving_container
151 8
ts_environment.py
in src/sagemaker_pytorch_serving_container
40 7
default_pytorch_inference_handler.py
in src/sagemaker_pytorch_serving_container
86 5
serving.py
in src/sagemaker_pytorch_serving_container
14 3
handler_service.py
in src/sagemaker_pytorch_serving_container
18 2
changehostname.c
in artifacts
8 1
setup.py
in root
41 1
changehostname.c
in docker/build_artifacts
8 1
Files With Long Lines (Top 2)

There are 2 files with lines longer than 120 characters. In total, there are 28 long lines.

File# lines# units# long lines
buildspec.yml
in root
70 - 27
buildspec-container-pr.yml
in root
10 - 1