aws-samples / amazon-lookout-for-vision-demo
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 22 files with 1,564 lines of code.
    • 0 very long files (0 lines of code)
    • 0 long files (0 lines of code)
    • 1 medium size files (373 lines of codeclsfd_ftr_w_mp_ins)
    • 3 small files (434 lines of code)
    • 18 very small files (757 lines of code)
0% | 0% | 23% | 27% | 48%
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% | 0% | 100% | 0% | 0%
js0% | 0% | 0% | 37% | 62%
html0% | 0% | 0% | 0% | 100%
File Size per Logical Decomposition
primary
1001+
501-1000
201-500
101-200
1-100
cfn0% | 0% | 100% | 0% | 0%
web-ui/src/components0% | 0% | 0% | 65% | 34%
web-ui/src0% | 0% | 0% | 0% | 100%
functions/setup0% | 0% | 0% | 0% | 100%
web-ui/src/utils0% | 0% | 0% | 0% | 100%
functions/api0% | 0% | 0% | 0% | 100%
web-ui/public0% | 0% | 0% | 0% | 100%
Longest Files (Top 22)
File# lines# units
template.yaml
in src/cfn
373 -
ImageMode.js
in src/web-ui/src/components
190 -
ProjectActions.js
in src/web-ui/src/components
131 -
ProjectsSummary.js
in src/web-ui/src/components
113 -
serviceWorker.js
in src/web-ui/src
92 4
index.js
in src/functions/api
82 -
s3-handler.js
in src/functions/setup
70 -
response-handler.js
in src/functions/setup
66 -
App.js
in src/web-ui/src
59 -
ResultSummary.js
in src/web-ui/src/components
54 -
Help.js
in src/web-ui/src/components
43 2
index.js
in src/web-ui/src/utils
38 -
ProjectSelect.js
in src/web-ui/src/components
37 -
Header.js
in src/web-ui/src/components
35 -
request.js
in src/web-ui/src/utils
34 1
SectionAccordion.js
in src/web-ui/src/components
34 -
gateway.js
in src/web-ui/src/utils
30 4
index.js
in src/functions/setup
24 -
index.html
in src/web-ui/public
21 -
SettingsHelp.js
in src/web-ui/src/components
19 -
index.js
in src/web-ui/src
11 -
FileUpload.js
in src/web-ui/src/components
8 -
Files With Most Units (Top 4)
File# lines# units
serviceWorker.js
in src/web-ui/src
92 4
gateway.js
in src/web-ui/src/utils
30 4
Help.js
in src/web-ui/src/components
43 2
request.js
in src/web-ui/src/utils
34 1
Files With Long Lines (Top 3)

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

File# lines# units# long lines
template.yaml
in src/cfn
373 - 3
SettingsHelp.js
in src/web-ui/src/components
19 - 1
ImageMode.js
in src/web-ui/src/components
190 - 1