aws-samples / chip-wafer-classification-deep-learning
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 32 files with 3,823 lines of code.
    • 0 very long files (0 lines of code)
    • 3 long files (2,214 lines of code)
    • 2 medium size files (506 lines of codeclsfd_ftr_w_mp_ins)
    • 3 small files (348 lines of code)
    • 24 very small files (755 lines of code)
0% | 57% | 13% | 9% | 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
yaml0% | 84% | 8% | 4% | 3%
js0% | 0% | 49% | 0% | 50%
py0% | 0% | 0% | 54% | 45%
css0% | 0% | 0% | 0% | 100%
yml0% | 0% | 0% | 0% | 100%
html0% | 0% | 0% | 0% | 100%
webmanifest0% | 0% | 0% | 0% | 100%
File Size per Logical Decomposition
primary
1001+
501-1000
201-500
101-200
1-100
cfn0% | 84% | 8% | 4% | 3%
frontend/src/containers0% | 0% | 72% | 0% | 27%
notebooks0% | 0% | 0% | 100% | 0%
lambda-rpi-inference0% | 0% | 0% | 100% | 0%
frontend/src0% | 0% | 0% | 0% | 100%
pytorch_code/classifier0% | 0% | 0% | 0% | 100%
deploy_code0% | 0% | 0% | 0% | 100%
trainer_code0% | 0% | 0% | 0% | 100%
frontend/public0% | 0% | 0% | 0% | 100%
frontend/src/components0% | 0% | 0% | 0% | 100%
pytorch_code0% | 0% | 0% | 0% | 100%
Longest Files (Top 32)
File# lines# units
iot.yaml
in cfn
816 -
app.yaml
in cfn
699 -
pipeline.yaml
in cfn
699 -
Home.js
in frontend/src/containers
286 16
persistence.yaml
in cfn
220 -
classify_mxnet.py
in notebooks
134 8
master.yaml
in cfn
108 -
greengrassObjectClassification.py
in lambda-rpi-inference
106 4
classifier.py
in pytorch_code/classifier
88 6
network.yaml
in cfn
87 -
registerServiceWorker.js
in frontend/src
79 4
deploy.py
in deploy_code
70 3
Login.js
in frontend/src/containers
66 2
App.js
in frontend/src
60 2
trainer.py
in trainer_code
40 -
index.js
in frontend/src
35 -
App.css
in frontend/src
29 -
Home.css
in frontend/src/containers
22 -
index.html
in frontend/public
22 -
LoaderButton.js
in frontend/src/components
20 1
webmanifest
site.webmanifest
in frontend/public
19 -
buildspec.yml
in pytorch_code
18 -
index.css
in frontend/src
18 -
config.js
in frontend/src
15 -
buildspec.yml
in trainer_code
14 -
buildspec.yml
in deploy_code
11 -
Routes.js
in frontend/src
10 1
Login.css
in frontend/src/containers
9 -
LoaderButton.css
in frontend/src/components
9 -
NotFound.js
in frontend/src/containers
6 -
NotFound.css
in frontend/src/containers
4 -
AppliedRoute.js
in frontend/src/components
4 1
Files With Most Units (Top 11)
File# lines# units
Home.js
in frontend/src/containers
286 16
classify_mxnet.py
in notebooks
134 8
classifier.py
in pytorch_code/classifier
88 6
registerServiceWorker.js
in frontend/src
79 4
greengrassObjectClassification.py
in lambda-rpi-inference
106 4
deploy.py
in deploy_code
70 3
Login.js
in frontend/src/containers
66 2
App.js
in frontend/src
60 2
Routes.js
in frontend/src
10 1
LoaderButton.js
in frontend/src/components
20 1
AppliedRoute.js
in frontend/src/components
4 1
Files With Long Lines (Top 8)

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

File# lines# units# long lines
app.yaml
in cfn
699 - 12
pipeline.yaml
in cfn
699 - 10
iot.yaml
in cfn
816 - 5
master.yaml
in cfn
108 - 5
Home.js
in frontend/src/containers
286 16 3
index.html
in frontend/public
22 - 2
buildspec.yml
in pytorch_code
18 - 1
persistence.yaml
in cfn
220 - 1