aws / sagemaker-training-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 33 files with 2,296 lines of code.
    • 0 very long files (0 lines of code)
    • 0 long files (0 lines of code)
    • 3 medium size files (751 lines of codeclsfd_ftr_w_mp_ins)
    • 3 small files (463 lines of code)
    • 27 very small files (1,082 lines of code)
0% | 0% | 32% | 20% | 47%
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% | 26% | 25% | 48%
c0% | 0% | 74% | 0% | 25%
yml0% | 0% | 0% | 0% | 100%
h0% | 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_training0% | 0% | 27% | 26% | 45%
src/sagemaker_training/c0% | 0% | 66% | 0% | 33%
ROOT0% | 0% | 0% | 0% | 100%
src/sagemaker_training/cli0% | 0% | 0% | 0% | 100%
src0% | 0% | 0% | 0% | 100%
Longest Files (Top 33)
File# lines# units
environment.py
in src/sagemaker_training
276 42
jsmn.c
in src/sagemaker_training/c
260 5
smdataparallel.py
in src/sagemaker_training
215 11
mpi.py
in src/sagemaker_training
186 15
process.py
in src/sagemaker_training
161 9
recordio.py
in src/sagemaker_training
116 9
intermediate_output.py
in src/sagemaker_training
96 5
gethostname.c
in src/sagemaker_training/c
91 4
encoders.py
in src/sagemaker_training
88 9
mapping.py
in src/sagemaker_training
80 10
trainer.py
in src/sagemaker_training
77 3
runner.py
in src/sagemaker_training
69 3
setup.py
in root
67 2
files.py
in src/sagemaker_training
65 8
modules.py
in src/sagemaker_training
59 6
__init__.py
in src/sagemaker_training
55 -
errors.py
in src/sagemaker_training
52 4
params.py
in src/sagemaker_training
45 -
entry_point.py
in src/sagemaker_training
41 4
jsmn.h
in src/sagemaker_training/c
39 -
buildspec-release.yml
in root
29 -
logging_config.py
in src/sagemaker_training
23 3
buildspec.yml
in root
22 -
functions.py
in src/sagemaker_training
22 3
_entry_point_type.py
in src/sagemaker_training
18 1
timeout.py
in src/sagemaker_training
15 1
content_types.py
in src/sagemaker_training
6 -
buildspec-deploy.yml
in root
6 -
in
MANIFEST.in
in root
6 -
train.py
in src/sagemaker_training/cli
5 1
cfg
setup.cfg
in root
4 -
__init__.py
in src
1 -
__init__.py
in src/sagemaker_training/cli
1 -
Files With Most Units (Top 20)
File# lines# units
environment.py
in src/sagemaker_training
276 42
mpi.py
in src/sagemaker_training
186 15
smdataparallel.py
in src/sagemaker_training
215 11
mapping.py
in src/sagemaker_training
80 10
encoders.py
in src/sagemaker_training
88 9
recordio.py
in src/sagemaker_training
116 9
process.py
in src/sagemaker_training
161 9
files.py
in src/sagemaker_training
65 8
modules.py
in src/sagemaker_training
59 6
intermediate_output.py
in src/sagemaker_training
96 5
jsmn.c
in src/sagemaker_training/c
260 5
errors.py
in src/sagemaker_training
52 4
entry_point.py
in src/sagemaker_training
41 4
gethostname.c
in src/sagemaker_training/c
91 4
logging_config.py
in src/sagemaker_training
23 3
trainer.py
in src/sagemaker_training
77 3
runner.py
in src/sagemaker_training
69 3
functions.py
in src/sagemaker_training
22 3
setup.py
in root
67 2
_entry_point_type.py
in src/sagemaker_training
18 1
Files With Long Lines (Top 0)

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

File# lines# units# long lines