aws-samples / simple-forecast-solution
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 20 files with 3,708 lines of code.
    • 1 very long files (1,406 lines of code)
    • 1 long files (761 lines of code)
    • 3 medium size files (984 lines of codeclsfd_ftr_w_mp_ins)
    • 0 small files (0 lines of code)
    • 15 very small files (557 lines of code)
37% | 20% | 26% | 0% | 15%
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
py38% | 20% | 26% | 0% | 14%
yml0% | 0% | 0% | 0% | 100%
File Size per Logical Decomposition
primary
1001+
501-1000
201-500
101-200
1-100
afa/app99% | 0% | 0% | 0% | <1%
afa0% | 99% | 0% | 0% | <1%
cdk/cdk0% | 0% | 99% | 0% | <1%
cdk/cdk/afc_lambdas0% | 0% | 37% | 0% | 62%
ROOT0% | 0% | 0% | 0% | 100%
cdk0% | 0% | 0% | 0% | 100%
cdk/cdk/afc_lambdas/postprocess0% | 0% | 0% | 0% | 100%
Longest Files (Top 20)
File# lines# units
app.py
in afa/app
1406 42
core.py
in afa
761 40
stack.py
in cdk/cdk
465 6
bootstrap.py
in cdk/cdk
295 1
index.py
in cdk/cdk/afc_lambdas
224 7
prepare.py
in cdk/cdk/afc_lambdas
86 2
create_predictor.py
in cdk/cdk/afc_lambdas
66 2
delete_resources.py
in cdk/cdk/afc_lambdas
55 2
post_process.py
in cdk/cdk/afc_lambdas
52 2
index.py
in cdk/cdk/afc_lambdas/postprocess
52 2
create_predictor_backtest_export.py
in cdk/cdk/afc_lambdas
41 2
create_export.py
in cdk/cdk/afc_lambdas
41 2
buildspec.yml
in root
39 -
create_forecast.py
in cdk/cdk/afc_lambdas
36 2
setup.py
in cdk
30 -
setup.py
in root
29 -
app.py
in cdk
27 -
__init__.py
in cdk/cdk
1 -
__init__.py
in afa
1 -
__init__.py
in afa/app
1 -
Files With Most Units (Top 13)
File# lines# units
app.py
in afa/app
1406 42
core.py
in afa
761 40
index.py
in cdk/cdk/afc_lambdas
224 7
stack.py
in cdk/cdk
465 6
delete_resources.py
in cdk/cdk/afc_lambdas
55 2
create_predictor_backtest_export.py
in cdk/cdk/afc_lambdas
41 2
create_export.py
in cdk/cdk/afc_lambdas
41 2
post_process.py
in cdk/cdk/afc_lambdas
52 2
create_predictor.py
in cdk/cdk/afc_lambdas
66 2
index.py
in cdk/cdk/afc_lambdas/postprocess
52 2
create_forecast.py
in cdk/cdk/afc_lambdas
36 2
prepare.py
in cdk/cdk/afc_lambdas
86 2
bootstrap.py
in cdk/cdk
295 1
Files With Long Lines (Top 3)

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

File# lines# units# long lines
bootstrap.py
in cdk/cdk
295 1 13
stack.py
in cdk/cdk
465 6 5
app.py
in afa/app
1406 42 2