aws-samples / amazon-sagemaker-managed-spot-training
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 8 files with 899 lines of code.
    • 0 very long files (0 lines of code)
    • 0 long files (0 lines of code)
    • 1 medium size files (209 lines of codeclsfd_ftr_w_mp_ins)
    • 3 small files (423 lines of code)
    • 4 very small files (267 lines of code)
0% | 0% | 23% | 47% | 29%
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% | 27% | 37% | 34%
yml0% | 0% | 0% | 100% | 0%
File Size per Logical Decomposition
primary
1001+
501-1000
201-500
101-200
1-100
tensorflow_managed_spot_training_checkpointing/source_dir0% | 0% | 100% | 0% | 0%
pytorch_managed_spot_training_checkpointing/source_dir0% | 0% | 0% | 100% | 0%
mxnet_managed_spot_training_checkpointing/source_dir0% | 0% | 0% | 100% | 0%
cfn0% | 0% | 0% | 100% | 0%
xgboost_script_mode_managed_spot_training_checkpointing0% | 0% | 0% | 0% | 100%
tensorflow_2_managed_spot_training_checkpointing0% | 0% | 0% | 0% | 100%
tensorflow_managed_spot_training_checkpointing0% | 0% | 0% | 0% | 100%
pytorch_managed_spot_training_checkpointing0% | 0% | 0% | 0% | 100%
Longest Files (Top 8)
File# lines# units
cifar10_keras_main.py
in tensorflow_managed_spot_training_checkpointing/source_dir
209 12
cifar10.py
in pytorch_managed_spot_training_checkpointing/source_dir
155 7
mnist.py
in mxnet_managed_spot_training_checkpointing/source_dir
135 10
create-sagemaker-notebook-cfn.yml
in cfn
133 -
abalone.py
in xgboost_script_mode_managed_spot_training_checkpointing
86 2
mnist.py
in tensorflow_2_managed_spot_training_checkpointing
80 5
generate_cifar10_tfrecords.py
in tensorflow_managed_spot_training_checkpointing
75 7
utils_cifar.py
in pytorch_managed_spot_training_checkpointing
26 4
Files With Most Units (Top 7)
File# lines# units
cifar10_keras_main.py
in tensorflow_managed_spot_training_checkpointing/source_dir
209 12
mnist.py
in mxnet_managed_spot_training_checkpointing/source_dir
135 10
cifar10.py
in pytorch_managed_spot_training_checkpointing/source_dir
155 7
generate_cifar10_tfrecords.py
in tensorflow_managed_spot_training_checkpointing
75 7
mnist.py
in tensorflow_2_managed_spot_training_checkpointing
80 5
utils_cifar.py
in pytorch_managed_spot_training_checkpointing
26 4
abalone.py
in xgboost_script_mode_managed_spot_training_checkpointing
86 2
Files With Long Lines (Top 3)

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

File# lines# units# long lines
cifar10_keras_main.py
in tensorflow_managed_spot_training_checkpointing/source_dir
209 12 5
abalone.py
in xgboost_script_mode_managed_spot_training_checkpointing
86 2 2
mnist.py
in tensorflow_2_managed_spot_training_checkpointing
80 5 1