awslabs / sagemaker-deep-demand-forecast
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 27 files with 1,105 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)
    • 3 small files (415 lines of code)
    • 24 very small files (690 lines of code)
0% | 0% | 0% | 37% | 62%
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% | 37% | 62%
yaml0% | 0% | 0% | 38% | 61%
in0% | 0% | 0% | 0% | 100%
toml0% | 0% | 0% | 0% | 100%
File Size per Logical Decomposition
primary
1001+
501-1000
201-500
101-200
1-100
cloudformation0% | 0% | 0% | 44% | 55%
src/deep_demand_forecast0% | 0% | 0% | 46% | 53%
cloudformation/solution-assistant/src0% | 0% | 0% | 100% | 0%
src/container_build0% | 0% | 0% | 0% | 100%
src/preprocess0% | 0% | 0% | 0% | 100%
cloudformation/solution-assistant0% | 0% | 0% | 0% | 100%
scripts0% | 0% | 0% | 0% | 100%
src/preprocess/container/codebuild0% | 0% | 0% | 0% | 100%
src/preprocess/container/local0% | 0% | 0% | 0% | 100%
ROOT0% | 0% | 0% | 0% | 100%
Longest Files (Top 27)
File# lines# units
deep-demand-forecast-permissions.yaml
in cloudformation
177 -
train.py
in src/deep_demand_forecast
133 2
lambda_fn.py
in cloudformation/solution-assistant/src
105 10
logs.py
in src/container_build
95 2
deep-demand-forecast-sagemaker-notebook-instance.yaml
in cloudformation
87 -
deep-demand-forecast-endpoint.yaml
in cloudformation
83 -
monitor.py
in src/deep_demand_forecast
52 3
solution-assistant.yaml
in cloudformation/solution-assistant
51 -
deep-demand-forecast.yaml
in cloudformation
50 -
preprocess.py
in src/preprocess
44 4
data_preprocessor.py
in src/preprocess
38 1
inference.py
in src/deep_demand_forecast
37 2
utils.py
in src/deep_demand_forecast
33 3
container_build.py
in src/container_build
26 3
get_base_image.py
in src/preprocess
20 1
set_kernelspec.py
in scripts
18 1
buildspec.yaml
in src/preprocess
14 -
data.py
in src/deep_demand_forecast
14 1
setup.py
in src/deep_demand_forecast
9 -
metrics.py
in src/deep_demand_forecast
5 1
in
requirements.in
in src/preprocess/container/codebuild
3 -
in
requirements.in
in src/preprocess/container/local
3 -
in
requirements.in
in src/deep_demand_forecast
3 -
pyproject.toml
in root
2 -
__init__.py
in src/container_build
1 -
__init__.py
in src/deep_demand_forecast
1 -
in
requirements.in
in cloudformation/solution-assistant
1 -
Files With Most Units (Top 13)
File# lines# units
lambda_fn.py
in cloudformation/solution-assistant/src
105 10
preprocess.py
in src/preprocess
44 4
container_build.py
in src/container_build
26 3
utils.py
in src/deep_demand_forecast
33 3
monitor.py
in src/deep_demand_forecast
52 3
logs.py
in src/container_build
95 2
train.py
in src/deep_demand_forecast
133 2
inference.py
in src/deep_demand_forecast
37 2
get_base_image.py
in src/preprocess
20 1
data_preprocessor.py
in src/preprocess
38 1
metrics.py
in src/deep_demand_forecast
5 1
data.py
in src/deep_demand_forecast
14 1
set_kernelspec.py
in scripts
18 1
Files With Long Lines (Top 2)

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

File# lines# units# long lines
deep-demand-forecast-sagemaker-notebook-instance.yaml
in cloudformation
87 - 1
deep-demand-forecast-endpoint.yaml
in cloudformation
83 - 1