awslabs / sagemaker-handwritten-text-recognition
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 21 files with 2,829 lines of code.
    • 0 very long files (0 lines of code)
    • 0 long files (0 lines of code)
    • 5 medium size files (1,715 lines of codeclsfd_ftr_w_mp_ins)
    • 4 small files (537 lines of code)
    • 12 very small files (577 lines of code)
0% | 0% | 60% | 18% | 20%
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% | 75% | 14% | 10%
yaml0% | 0% | 41% | 29% | 29%
html0% | 0% | 0% | 0% | 100%
yml0% | 0% | 0% | 0% | 100%
File Size per Logical Decomposition
primary
1001+
501-1000
201-500
101-200
1-100
sagemaker/src0% | 0% | 84% | 9% | 5%
deployment0% | 0% | 41% | 29% | 29%
deployment/solution-assistant/src0% | 0% | 0% | 100% | 0%
sagemaker/ground_truth0% | 0% | 0% | 0% | 100%
sagemaker/ground_truth/post-label0% | 0% | 0% | 0% | 100%
deployment/string-functions/src0% | 0% | 0% | 0% | 100%
ROOT0% | 0% | 0% | 0% | 100%
sagemaker/ground_truth/pre-label0% | 0% | 0% | 0% | 100%
Longest Files (Top 21)
File# lines# units
word_and_line_segmentation.py
in sagemaker/src
464 17
template.yaml
in deployment
402 -
handwriting_line_recognition.py
in sagemaker/src
399 13
utils.py
in sagemaker/src
231 11
htr_dataset.py
in sagemaker/src
219 11
sagemaker-permissions.yaml
in deployment
184 -
run_inference.py
in sagemaker/src
146 9
sagemaker.yaml
in deployment
104 -
lambda.py
in deployment/solution-assistant/src
103 9
cognito.yaml
in deployment
92 -
groundtruth.html
in sagemaker/ground_truth
90 -
endpoint.yaml
in deployment
87 -
lambda_function.py
in sagemaker/ground_truth/post-label
61 3
sm_utils.py
in sagemaker/src
57 6
grouthtruth.yaml
in deployment
53 -
solution-assistant.yaml
in deployment
50 -
lambda.py
in deployment/string-functions/src
27 4
buildspec.yml
in root
18 -
inference.py
in sagemaker/src
18 2
set_kernelspec.py
in sagemaker/src
18 1
lambda_function.py
in sagemaker/ground_truth/pre-label
6 1
Files With Most Units (Top 12)
File# lines# units
word_and_line_segmentation.py
in sagemaker/src
464 17
handwriting_line_recognition.py
in sagemaker/src
399 13
htr_dataset.py
in sagemaker/src
219 11
utils.py
in sagemaker/src
231 11
lambda.py
in deployment/solution-assistant/src
103 9
run_inference.py
in sagemaker/src
146 9
sm_utils.py
in sagemaker/src
57 6
lambda.py
in deployment/string-functions/src
27 4
lambda_function.py
in sagemaker/ground_truth/post-label
61 3
inference.py
in sagemaker/src
18 2
lambda_function.py
in sagemaker/ground_truth/pre-label
6 1
set_kernelspec.py
in sagemaker/src
18 1
Files With Long Lines (Top 7)

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

File# lines# units# long lines
template.yaml
in deployment
402 - 11
sagemaker.yaml
in deployment
104 - 9
word_and_line_segmentation.py
in sagemaker/src
464 17 7
groundtruth.html
in sagemaker/ground_truth
90 - 6
handwriting_line_recognition.py
in sagemaker/src
399 13 6
utils.py
in sagemaker/src
231 11 1
run_inference.py
in sagemaker/src
146 9 1