aws-samples / mlops-e2e
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 39 files with 2,073 lines of code.
    • 0 very long files (0 lines of code)
    • 0 long files (0 lines of code)
    • 2 medium size files (517 lines of codeclsfd_ftr_w_mp_ins)
    • 4 small files (497 lines of code)
    • 33 very small files (1,059 lines of code)
0% | 0% | 24% | 23% | 51%
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% | 25% | 20% | 54%
py0% | 0% | 39% | 23% | 37%
tsx0% | 0% | 0% | 44% | 55%
yml0% | 0% | 0% | 0% | 100%
html0% | 0% | 0% | 0% | 100%
js0% | 0% | 0% | 0% | 100%
File Size per Logical Decomposition
primary
1001+
501-1000
201-500
101-200
1-100
infrastructure/lib0% | 0% | 70% | 0% | 30%
ml_pipeline0% | 0% | 64% | 0% | 35%
src0% | 0% | 0% | 59% | 40%
consumers/online/website0% | 0% | 0% | 37% | 62%
consumers/online/infrastructure0% | 0% | 0% | 28% | 71%
model_deploy/lib0% | 0% | 0% | 100% | 0%
infrastructure/functions/dataSourceMonitor0% | 0% | 0% | 0% | 100%
model_deploy/customResources/pipelineModel0% | 0% | 0% | 0% | 100%
buildspecs0% | 0% | 0% | 0% | 100%
consumers/online/data-type0% | 0% | 0% | 0% | 100%
configuration0% | 0% | 0% | 0% | 100%
Longest Files (Top 39)
File# lines# units
codePipelineConstruct.ts
in infrastructure/lib
273 1
pipeline.py
in ml_pipeline
244 2
preprocess.py
in src
145 11
index.tsx
in consumers/online/website/src/components/AbaloneInsight/Form
130 -
websiteConstruct.ts
in consumers/online/infrastructure/lib
120 1
modelDeploymentStack.ts
in model_deploy/lib
102 1
websiteAPIConstruct.ts
in consumers/online/infrastructure/lib
95 1
index.ts
in consumers/online/infrastructure/customResources/websiteIndex
85 -
run_pipeline.py
in ml_pipeline
80 2
index.tsx
in consumers/online/website/src/components/AbaloneInsight/Result
66 -
index.tsx
in consumers/online/website/src/containers/AbaloneInsight
65 -
index.ts
in infrastructure/functions/dataSourceMonitor
64 -
index.ts
in model_deploy/customResources/pipelineModel
59 -
data.ts
in consumers/online/infrastructure/app/data
55 -
transform.py
in src
47 4
get_pipeline_definition.py
in ml_pipeline
45 1
dataSourceConstruct.ts
in infrastructure/lib
44 1
index.ts
in consumers/online/infrastructure/app/data
43 -
evaluate.py
in src
42 -
infrastractureStack.ts
in infrastructure/lib
38 1
sageMakerConstruct.ts
in infrastructure/lib
35 1
infrastructureStack.ts
in consumers/online/infrastructure/lib
27 1
index.html
in consumers/online/website/public
21 -
build.yml
in buildspecs
20 -
index.ts
in consumers/online/website/src/utils/api
17 -
index.tsx
in consumers/online/website/src/containers/App
16 -
deploy.yml
in buildspecs
15 -
pipeline.yml
in buildspecs
14 -
index.ts
in consumers/online/data-type
13 -
reportWebVitals.ts
in consumers/online/website/src
13 -
index.tsx
in consumers/online/website/src
11 -
_utils.py
in ml_pipeline
8 2
index.tsx
in consumers/online/website/src/utils/getConfig
7 -
__version__.py
in src
7 -
config.js
in consumers/online/website/public
3 -
setupTests.ts
in consumers/online/website/src
1 -
__init__.py
in ml_pipeline
1 -
header.js
in configuration
1 -
__init__.py
in src
1 -
Files With Most Units (Top 14)
File# lines# units
preprocess.py
in src
145 11
transform.py
in src
47 4
pipeline.py
in ml_pipeline
244 2
_utils.py
in ml_pipeline
8 2
run_pipeline.py
in ml_pipeline
80 2
websiteAPIConstruct.ts
in consumers/online/infrastructure/lib
95 1
infrastructureStack.ts
in consumers/online/infrastructure/lib
27 1
websiteConstruct.ts
in consumers/online/infrastructure/lib
120 1
get_pipeline_definition.py
in ml_pipeline
45 1
modelDeploymentStack.ts
in model_deploy/lib
102 1
dataSourceConstruct.ts
in infrastructure/lib
44 1
infrastractureStack.ts
in infrastructure/lib
38 1
sageMakerConstruct.ts
in infrastructure/lib
35 1
codePipelineConstruct.ts
in infrastructure/lib
273 1
Files With Long Lines (Top 4)

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

File# lines# units# long lines
codePipelineConstruct.ts
in infrastructure/lib
273 1 4
data.ts
in consumers/online/infrastructure/app/data
55 - 1
index.ts
in model_deploy/customResources/pipelineModel
59 - 1
transform.py
in src
47 4 1