aws-samples / deep-learning-web-app
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 82 files with 9,798 lines of code.
    • 1 very long files (5,549 lines of code)
    • 2 long files (1,362 lines of code)
    • 1 medium size files (425 lines of codeclsfd_ftr_w_mp_ins)
    • 4 small files (591 lines of code)
    • 74 very small files (1,871 lines of code)
56% | 13% | 4% | 6% | 19%
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
css99% | 0% | 0% | 0% | <1%
js0% | 37% | 21% | 14% | 26%
yaml0% | 100% | 0% | 0% | 0%
py0% | 0% | 0% | 36% | 63%
jsx0% | 0% | 0% | 21% | 78%
scss0% | 0% | 0% | 0% | 100%
yml0% | 0% | 0% | 0% | 100%
html0% | 0% | 0% | 0% | 100%
File Size per Logical Decomposition
primary
1001+
501-1000
201-500
101-200
1-100
frontend/webapp/src/custom-bootstrap99% | 0% | 0% | 0% | <1%
frontend/webapp/src/containers0% | 43% | 24% | 17% | 14%
backend/training-pipeline0% | 100% | 0% | 0% | 0%
backend/training-pipeline/functions/api0% | 0% | 0% | 57% | 42%
frontend/webapp/src/components0% | 0% | 0% | 15% | 84%
frontend/webapp/src0% | 0% | 0% | 0% | 100%
frontend/webapp0% | 0% | 0% | 0% | 100%
backend/training-pipeline/functions/step_functions0% | 0% | 0% | 0% | 100%
machine-learning/container/scripts0% | 0% | 0% | 0% | 100%
machine-learning0% | 0% | 0% | 0% | 100%
shared-infra0% | 0% | 0% | 0% | 100%
frontend/webapp/public0% | 0% | 0% | 0% | 100%
backend/training-pipeline/functions0% | 0% | 0% | 0% | 100%
Longest Files (Top 50)
File# lines# units
custom.css
in frontend/webapp/src/custom-bootstrap/css
5549 -
TrainModelPage.js
in frontend/webapp/src/containers/TrainModelPage
756 4
template.yaml
in backend/training-pipeline
606 -
InferencePage.js
in frontend/webapp/src/containers
425 3
start_job.py
in backend/training-pipeline/functions/api
167 1
TrainingJobTable.js
in frontend/webapp/src/containers/TrainModelPage
153 -
renderFields.js
in frontend/webapp/src/containers
140 -
Header.jsx
in frontend/webapp/src/components
131 -
serviceWorker.js
in frontend/webapp/src
94 4
packaged.yml
in frontend/webapp
92 -
CardGrid.jsx
in frontend/webapp/src/components/cards
82 -
predictor.py
in machine-learning/container/scripts
78 6
Carousel.jsx
in frontend/webapp/src/components
77 -
App.js
in frontend/webapp/src
77 3
delete_oldest_endpoint.py
in backend/training-pipeline/functions/step_functions
69 2
template.yml
in frontend/webapp
65 -
infer.py
in backend/training-pipeline/functions/api
55 1
LoginForm.jsx
in frontend/webapp/src/components/forms
54 -
Login.js
in frontend/webapp/src/containers
52 3
index.js
in frontend/webapp/src
50 2
template.yml
in machine-learning
44 -
HPOSection.js
in frontend/webapp/src/containers/TrainModelPage
44 -
TrainNewModelSection.js
in frontend/webapp/src/containers/TrainModelPage
42 -
template.yml
in shared-infra
41 -
Footer.scss
in frontend/webapp/src/components
38 -
CardItem.jsx
in frontend/webapp/src/components/cards
38 -
SidePaneLayout.jsx
in frontend/webapp/src/components/layouts
37 -
App.css
in frontend/webapp/src
33 -
utils.js
in frontend/webapp/src/containers
28 1
custom.scss
in frontend/webapp/src/custom-bootstrap/scss
28 -
BouncingLoader.scss
in frontend/webapp/src/components
28 -
TrainModelPage.scss
in frontend/webapp/src/containers/TrainModelPage
27 -
InferencePage.scss
in frontend/webapp/src/containers
26 -
Checkboxes.jsx
in frontend/webapp/src/components/forms
25 -
TextArea.jsx
in frontend/webapp/src/components/forms
24 -
Footer.jsx
in frontend/webapp/src/components
23 -
Button.scss
in frontend/webapp/src/components/forms
22 -
Button.jsx
in frontend/webapp/src/components/forms
22 -
TextInput.jsx
in frontend/webapp/src/components/forms
21 -
DemoContainer.jsx
in frontend/webapp/src/components/layouts
21 -
model.py
in backend/training-pipeline/functions/api
21 1
constants.js
in frontend/webapp/src
20 -
Colors.jsx
in frontend/webapp/src/components/common
20 -
PasswordInput.jsx
in frontend/webapp/src/components/forms
20 -
index.html
in frontend/webapp/public
20 -
Routes.js
in frontend/webapp/src
19 1
LoaderButton.js
in frontend/webapp/src/components/forms
19 -
utils.py
in backend/training-pipeline/functions/api
19 1
hpo.py
in backend/training-pipeline/functions/api
18 1
Carousel.scss
in frontend/webapp/src/components
17 -
Files With Most Units (Top 19)
File# lines# units
predictor.py
in machine-learning/container/scripts
78 6
serviceWorker.js
in frontend/webapp/src
94 4
TrainModelPage.js
in frontend/webapp/src/containers/TrainModelPage
756 4
Login.js
in frontend/webapp/src/containers
52 3
InferencePage.js
in frontend/webapp/src/containers
425 3
App.js
in frontend/webapp/src
77 3
index.js
in frontend/webapp/src
50 2
check_deployment_status.py
in backend/training-pipeline/functions/step_functions
17 2
delete_oldest_endpoint.py
in backend/training-pipeline/functions/step_functions
69 2
utils.js
in frontend/webapp/src/containers
28 1
Routes.js
in frontend/webapp/src
19 1
BouncingLoader.js
in frontend/webapp/src/components
14 1
AppliedRoute.js
in frontend/webapp/src/components
4 1
hello_world.py
in backend/training-pipeline/functions/api
7 1
hpo.py
in backend/training-pipeline/functions/api
18 1
start_job.py
in backend/training-pipeline/functions/api
167 1
infer.py
in backend/training-pipeline/functions/api
55 1
model.py
in backend/training-pipeline/functions/api
21 1
utils.py
in backend/training-pipeline/functions/api
19 1
Files With Long Lines (Top 7)

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

File# lines# units# long lines
custom.css
in frontend/webapp/src/custom-bootstrap/css
5549 - 42
template.yaml
in backend/training-pipeline
606 - 3
TrainModelPage.js
in frontend/webapp/src/containers/TrainModelPage
756 4 2
CardGrid.jsx
in frontend/webapp/src/components/cards
82 - 2
TrainingJobTable.js
in frontend/webapp/src/containers/TrainModelPage
153 - 1
Footer.jsx
in frontend/webapp/src/components
23 - 1
template.yml
in frontend/webapp
65 - 1