aws-samples / amazon-sagemaker-gluonts-entrypoint
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 12 files with 618 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)
    • 2 small files (269 lines of code)
    • 10 very small files (349 lines of code)
0% | 0% | 0% | 43% | 56%
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% | 43% | 56%
jsonl0% | 0% | 0% | 0% | 100%
toml0% | 0% | 0% | 0% | 100%
File Size per Logical Decomposition
primary
1001+
501-1000
201-500
101-200
1-100
src/entrypoint0% | 0% | 0% | 61% | 38%
src/entrypoint/gluonts_example0% | 0% | 0% | 63% | 37%
src/gluonts_nb_utils0% | 0% | 0% | 0% | 100%
ROOT0% | 0% | 0% | 0% | 100%
notebooks0% | 0% | 0% | 0% | 100%
refdata/train0% | 0% | 0% | 0% | 100%
Longest Files (Top 12)
File# lines# units
train.py
in src/entrypoint
143 6
evaluator.py
in src/entrypoint/gluonts_example
126 6
inference.py
in src/entrypoint
90 6
generate_synthetic.py
in src/gluonts_nb_utils
88 4
util.py
in src/entrypoint/gluonts_example
51 7
__init__.py
in src/gluonts_nb_utils
45 2
ipython_config.py
in root
24 1
ipython_config.py
in notebooks
24 1
metrics.py
in src/entrypoint/gluonts_example
22 2
jsonl
train.jsonl
in refdata/train
2 -
pyproject.toml
in root
2 -
__init__.py
in src/entrypoint/gluonts_example
1 -
Files With Most Units (Top 9)
File# lines# units
util.py
in src/entrypoint/gluonts_example
51 7
train.py
in src/entrypoint
143 6
inference.py
in src/entrypoint
90 6
evaluator.py
in src/entrypoint/gluonts_example
126 6
generate_synthetic.py
in src/gluonts_nb_utils
88 4
metrics.py
in src/entrypoint/gluonts_example
22 2
__init__.py
in src/gluonts_nb_utils
45 2
ipython_config.py
in root
24 1
ipython_config.py
in notebooks
24 1
Files With Long Lines (Top 1)

There is only one file with lines longer than 120 characters. In total, there are 2 long lines.

File# lines# units# long lines
jsonl
train.jsonl
in refdata/train
2 - 2