aws-samples / amazon-sagemaker-script-mode
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 34 files with 1,881 lines of code.
    • 0 very long files (0 lines of code)
    • 0 long files (0 lines of code)
    • 1 medium size files (267 lines of codeclsfd_ftr_w_mp_ins)
    • 2 small files (248 lines of code)
    • 31 very small files (1,366 lines of code)
0% | 0% | 14% | 13% | 72%
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% | 14% | 13% | 72%
File Size per Logical Decomposition
primary
1001+
501-1000
201-500
101-200
1-100
tf-horovod-inference-pipeline0% | 0% | 71% | 0% | 28%
tf-distribution-options0% | 0% | 0% | 28% | 71%
tf-batch-inference-script0% | 0% | 0% | 37% | 62%
tf-2-data-parallelism0% | 0% | 0% | 0% | 100%
hugging-face-lambda-step0% | 0% | 0% | 0% | 100%
tf-sentiment-script-mode0% | 0% | 0% | 0% | 100%
tf-2-word-embeddings0% | 0% | 0% | 0% | 100%
tf-eager-script-mode0% | 0% | 0% | 0% | 100%
tf-2-workflow-smpipelines0% | 0% | 0% | 0% | 100%
tf-2-workflow0% | 0% | 0% | 0% | 100%
deploy-pretrained-model0% | 0% | 0% | 0% | 100%
Longest Files (Top 34)
File# lines# units
train.py
in tf-horovod-inference-pipeline
267 12
train_hvd.py
in tf-distribution-options/code
124 5
train.py
in tf-batch-inference-script/code
124 5
train_ps.py
in tf-distribution-options/code
99 5
generate_cifar10_tfrecords.py
in tf-distribution-options
80 7
generate_cifar10_tfrecords.py
in tf-batch-inference-script
80 7
generate_cifar10_tfrecords.py
in tf-horovod-inference-pipeline
80 7
sentiment.py
in tf-sentiment-script-mode
75 5
train_resnet_sdp_debug.py
in tf-2-data-parallelism/src
69 3
train.py
in hugging-face-lambda-step/scripts
67 1
train_tf2_hvd.py
in tf-2-data-parallelism/src
61 -
model_def.py
in tf-distribution-options/code
54 1
model_def.py
in tf-batch-inference-script/code
54 1
train_resnet_simple.py
in tf-2-data-parallelism/src
53 3
train.py
in tf-eager-script-mode/train_model
50 3
utilities.py
in tf-distribution-options/code
50 4
utilities.py
in tf-batch-inference-script/code
50 4
train.py
in tf-2-word-embeddings/code
48 3
train.py
in tf-2-workflow-smpipelines/train_model
46 3
train.py
in tf-2-workflow/train_model
46 3
iam_helper.py
in hugging-face-lambda-step
35 1
evaluate.py
in hugging-face-lambda-step/scripts
31 1
preprocessing.py
in hugging-face-lambda-step/scripts
29 2
model_def.py
in tf-2-data-parallelism/src
28 1
inference_code.py
in deploy-pretrained-model/BERT/code
26 4
model_def.py
in tf-2-word-embeddings/code
25 2
inference.py
in tf-distribution-options/code
24 3
inference.py
in tf-batch-inference-script/code
24 3
main.py
in tf-horovod-inference-pipeline/image-transformer-container/app
24 3
inference_code.py
in deploy-pretrained-model/GPT2/code
21 4
utils.py
in tf-2-data-parallelism/src
16 2
model_def.py
in tf-eager-script-mode/train_model
7 1
model_def.py
in tf-2-workflow-smpipelines/train_model
7 1
model_def.py
in tf-2-workflow/train_model
7 1
Files With Most Units (Top 20)
File# lines# units
train.py
in tf-horovod-inference-pipeline
267 12
generate_cifar10_tfrecords.py
in tf-distribution-options
80 7
generate_cifar10_tfrecords.py
in tf-batch-inference-script
80 7
generate_cifar10_tfrecords.py
in tf-horovod-inference-pipeline
80 7
sentiment.py
in tf-sentiment-script-mode
75 5
train_ps.py
in tf-distribution-options/code
99 5
train_hvd.py
in tf-distribution-options/code
124 5
train.py
in tf-batch-inference-script/code
124 5
utilities.py
in tf-distribution-options/code
50 4
utilities.py
in tf-batch-inference-script/code
50 4
inference_code.py
in deploy-pretrained-model/GPT2/code
21 4
inference_code.py
in deploy-pretrained-model/BERT/code
26 4
train_resnet_sdp_debug.py
in tf-2-data-parallelism/src
69 3
train_resnet_simple.py
in tf-2-data-parallelism/src
53 3
train.py
in tf-2-word-embeddings/code
48 3
train.py
in tf-eager-script-mode/train_model
50 3
train.py
in tf-2-workflow-smpipelines/train_model
46 3
inference.py
in tf-distribution-options/code
24 3
inference.py
in tf-batch-inference-script/code
24 3
train.py
in tf-2-workflow/train_model
46 3
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