aws-samples / amazon-rekognition-virtual-proctor
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 25 files with 1,615 lines of code.
    • 0 very long files (0 lines of code)
    • 0 long files (0 lines of code)
    • 2 medium size files (622 lines of codeclsfd_ftr_w_mp_ins)
    • 3 small files (397 lines of code)
    • 20 very small files (596 lines of code)
0% | 0% | 38% | 24% | 36%
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%
css0% | 0% | 100% | 0% | 0%
js0% | 0% | 0% | 43% | 56%
py0% | 0% | 0% | 0% | 100%
html0% | 0% | 0% | 0% | 100%
File Size per Logical Decomposition
primary
1001+
501-1000
201-500
101-200
1-100
src/cfn0% | 0% | 100% | 0% | 0%
src/web-ui/src0% | 0% | 58% | 20% | 20%
src/functions/proctor0% | 0% | 0% | 100% | 0%
src/web-ui/src/components0% | 0% | 0% | 39% | 60%
src/functions/setup0% | 0% | 0% | 0% | 100%
python-samples0% | 0% | 0% | 0% | 100%
src/web-ui/src/utils0% | 0% | 0% | 0% | 100%
src/web-ui/public0% | 0% | 0% | 0% | 100%
Longest Files (Top 25)
File# lines# units
template.yaml
in src/cfn
335 -
index.css
in src/web-ui/src
287 -
index.js
in src/functions/proctor
178 -
AddUserModal.js
in src/web-ui/src/components
116 -
App.js
in src/web-ui/src
103 -
serviceWorker.js
in src/web-ui/src
92 4
s3-handler.js
in src/functions/setup
71 -
response-handler.js
in src/functions/setup
66 -
Icon.js
in src/web-ui/src/components
55 -
Header.js
in src/web-ui/src/components
54 -
request.js
in src/web-ui/src/utils
35 1
index.js
in src/functions/setup
29 -
compare-faces.py
in python-samples
21 -
SettingsHelp.js
in src/web-ui/src/components
19 -
EngagementsSummary.js
in src/web-ui/src/components
19 -
index-face.py
in python-samples
19 -
index.html
in src/web-ui/public
18 -
search-faces.py
in python-samples
18 -
RekognitionButton.js
in src/web-ui/src/components
16 -
gateway.js
in src/web-ui/src/utils
13 2
CameraHelp.js
in src/web-ui/src/components
12 -
index.js
in src/web-ui/src
11 -
index.js
in src/web-ui/src/utils
11 -
detect-faces.py
in python-samples
11 -
rekognition-handler.js
in src/functions/setup
6 -
Files With Most Units (Top 3)
File# lines# units
serviceWorker.js
in src/web-ui/src
92 4
gateway.js
in src/web-ui/src/utils
13 2
request.js
in src/web-ui/src/utils
35 1
Files With Long Lines (Top 3)

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

File# lines# units# long lines
template.yaml
in src/cfn
335 - 6
index.css
in src/web-ui/src
287 - 1
SettingsHelp.js
in src/web-ui/src/components
19 - 1