aws-quickstart / quickstart-iot-connectivity-security
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 2,328 lines of code.
    • 0 very long files (0 lines of code)
    • 1 long files (539 lines of code)
    • 2 medium size files (729 lines of codeclsfd_ftr_w_mp_ins)
    • 2 small files (362 lines of code)
    • 20 very small files (698 lines of code)
0% | 23% | 31% | 15% | 29%
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% | 60% | 39% | 0% | 0%
yml0% | 0% | 94% | 0% | 5%
vue0% | 0% | 0% | 63% | 36%
js0% | 0% | 0% | 0% | 100%
html0% | 0% | 0% | 0% | 100%
File Size per Logical Decomposition
primary
1001+
501-1000
201-500
101-200
1-100
templates0% | 100% | 0% | 0% | 0%
source/amplify/backend0% | 0% | 67% | 0% | 32%
source/src/views0% | 0% | 0% | 55% | 44%
source/src/components0% | 0% | 0% | 94% | 5%
source/src0% | 0% | 0% | 0% | 100%
source/src/router0% | 0% | 0% | 0% | 100%
source/src/src0% | 0% | 0% | 0% | 100%
ROOT0% | 0% | 0% | 0% | 100%
source/src/config0% | 0% | 0% | 0% | 100%
source/public0% | 0% | 0% | 0% | 100%
source0% | 0% | 0% | 0% | 100%
source/src/plugins0% | 0% | 0% | 0% | 100%
Longest Files (Top 25)
File# lines# units
main.template.yaml
in templates
539 -
iotquickstart7a6c0d8e-cloudformation-template.yml
in source/amplify/backend/auth/iotquickstart7a6c0d8e
371 -
defender-cloudformation-template.yaml
in source/amplify/backend/devicedefender/defender
358 -
Devices.vue
in source/src/views
189 -
SearchResult.vue
in source/src/components
173 -
Register.vue
in source/src/views
84 -
index.js
in source/amplify/backend/function/register/src
77 -
Home.vue
in source/src/views
66 -
index.js
in source/amplify/backend/function/justintimeregistration/src
59 -
index.js
in source/amplify/backend/function/updatethingshadow/src
48 -
App.vue
in source/src
48 -
index.js
in source/amplify/backend/function/listdevices/src
47 -
index.js
in source/amplify/backend/function/iotcustomresource/src
46 -
index.js
in source/amplify/backend/function/defenderalert/src
41 -
index.js
in source/amplify/backend/function/deviceData/src
31 -
index.js
in source/src/router
28 -
aws-exports.js
in source/src/src
26 -
amplify.yml
in root
22 -
api.js
in source/src/config
19 -
index.html
in source/public
16 -
main.js
in source/src
15 -
Chart.vue
in source/src/components
10 -
babel.config.js
in source
5 -
vuetify.js
in source/src/plugins
5 -
vue.config.js
in source
5 -
Files With Most Units (Top 0)
File# lines# units
Files With Long Lines (Top 3)

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

File# lines# units# long lines
main.template.yaml
in templates
539 - 2
iotquickstart7a6c0d8e-cloudformation-template.yml
in source/amplify/backend/auth/iotquickstart7a6c0d8e
371 - 1
index.html
in source/public
16 - 1