aws-samples / amazon-sagemaker-built-in-algorithms-mlops-pipeline-using-aws-cdk
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 14 files with 1,091 lines of code.
    • 0 very long files (0 lines of code)
    • 0 long files (0 lines of code)
    • 2 medium size files (575 lines of codeclsfd_ftr_w_mp_ins)
    • 0 small files (0 lines of code)
    • 12 very small files (516 lines of code)
0% | 0% | 52% | 0% | 47%
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
ts0% | 0% | 60% | 0% | 39%
py0% | 0% | 0% | 0% | 100%
js0% | 0% | 0% | 0% | 100%
File Size per Logical Decomposition
primary
1001+
501-1000
201-500
101-200
1-100
infra/stack/mlops0% | 0% | 100% | 0% | 0%
lib/template/pattern0% | 0% | 61% | 0% | 38%
lib/template0% | 0% | 0% | 0% | 100%
lib/template/stack0% | 0% | 0% | 0% | 100%
codes/lambda/mlops-trigger-statemachine0% | 0% | 0% | 0% | 100%
lib/template/construct0% | 0% | 0% | 0% | 100%
codes/lambda/mlops-query-accuracy0% | 0% | 0% | 0% | 100%
codes/lambda/mlops-query-endpoint0% | 0% | 0% | 0% | 100%
codes/glue/churn-xgboost0% | 0% | 0% | 0% | 100%
ROOT0% | 0% | 0% | 0% | 100%
infra0% | 0% | 0% | 0% | 100%
Longest Files (Top 14)
File# lines# units
mlops-pipeline-stack.ts
in infra/stack/mlops
345 9
cloudwatch-dashboard-construct.ts
in lib/template/pattern
230 17
app-context.ts
in lib/template
98 7
lambda-construct.ts
in lib/template/pattern
88 4
handler.py
in codes/lambda/mlops-trigger-statemachine/src
63 3
base-stack.ts
in lib/template/stack/base
63 7
glue-job-construct.ts
in lib/template/pattern
59 1
base-construct.ts
in lib/template/construct/base
50 5
handler.py
in codes/lambda/mlops-query-accuracy/src
25 1
handler.py
in codes/lambda/mlops-query-endpoint/src
21 1
glue_etl.py
in codes/glue/churn-xgboost/src
20 -
cfn-include-stack.ts
in lib/template/stack
18 1
jest.config.js
in root
8 -
app-main.ts
in infra
3 -
Files With Most Units (Top 11)
File# lines# units
cloudwatch-dashboard-construct.ts
in lib/template/pattern
230 17
mlops-pipeline-stack.ts
in infra/stack/mlops
345 9
app-context.ts
in lib/template
98 7
base-stack.ts
in lib/template/stack/base
63 7
base-construct.ts
in lib/template/construct/base
50 5
lambda-construct.ts
in lib/template/pattern
88 4
handler.py
in codes/lambda/mlops-trigger-statemachine/src
63 3
handler.py
in codes/lambda/mlops-query-endpoint/src
21 1
handler.py
in codes/lambda/mlops-query-accuracy/src
25 1
glue-job-construct.ts
in lib/template/pattern
59 1
cfn-include-stack.ts
in lib/template/stack
18 1
Files With Long Lines (Top 5)

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

File# lines# units# long lines
cloudwatch-dashboard-construct.ts
in lib/template/pattern
230 17 13
mlops-pipeline-stack.ts
in infra/stack/mlops
345 9 4
glue-job-construct.ts
in lib/template/pattern
59 1 1
lambda-construct.ts
in lib/template/pattern
88 4 1
app-context.ts
in lib/template
98 7 1