aws-samples / amazon-location-service-geotrack-vuejs
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 45 files with 4,526 lines of code.
    • 0 very long files (0 lines of code)
    • 1 long files (622 lines of code)
    • 7 medium size files (2,102 lines of codeclsfd_ftr_w_mp_ins)
    • 6 small files (858 lines of code)
    • 31 very small files (944 lines of code)
0% | 13% | 46% | 18% | 20%
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
vue0% | 28% | 41% | 23% | 6%
js0% | 0% | 66% | 11% | 21%
yaml0% | 0% | 56% | 36% | 6%
py0% | 0% | 0% | 0% | 100%
graphql0% | 0% | 0% | 0% | 100%
yml0% | 0% | 0% | 0% | 100%
html0% | 0% | 0% | 0% | 100%
sass0% | 0% | 0% | 0% | 100%
File Size per Logical Decomposition
primary
1001+
501-1000
201-500
101-200
1-100
src/views0% | 43% | 21% | 26% | 8%
src/graphql0% | 0% | 74% | 25% | 0%
src/store0% | 0% | 71% | 0% | 28%
src/components0% | 0% | 100% | 0% | 0%
ROOT0% | 0% | 66% | 0% | 33%
src/layouts0% | 0% | 66% | 33% | 0%
amplify/backend0% | 0% | 0% | 80% | 19%
lambdas/simulation0% | 0% | 0% | 0% | 100%
lambdas/eventbridge0% | 0% | 0% | 0% | 100%
src/router0% | 0% | 0% | 0% | 100%
src0% | 0% | 0% | 0% | 100%
lambdas/iot0% | 0% | 0% | 0% | 100%
public0% | 0% | 0% | 0% | 100%
src/styles0% | 0% | 0% | 0% | 100%
Longest Files (Top 45)
File# lines# units
Delivery.vue
in src/views
622 -
actions.js
in src/store/general
424 16
Map.vue
in src/components
342 -
Agent.vue
in src/views
303 -
template.yaml
in root
279 -
Default.vue
in src/layouts
277 -
mutations.js
in src/graphql
252 18
subscriptions.js
in src/graphql
225 18
restapi-cloudformation-template.yaml
in amplify/backend/custom/restapi
182 -
queries.js
in src/graphql
163 12
Simple.vue
in src/layouts
139 -
SignUp.vue
in src/views
137 -
ForgotPassword.vue
in src/views
124 -
SignIn.vue
in src/views
113 -
index.py
in lambdas/simulation/pushVehiclePosition
99 5
Auth.vue
in src/views
90 -
index.py
in lambdas/eventbridge
90 3
index.py
in lambdas/simulation/launchDeliveryFleet
79 3
index.js
in src/router
77 -
amplify.yml
in root
46 -
schema.graphql
in root
44 -
schema.graphql
in amplify/backend/api/geotrack
44 -
index.py
in lambdas/iot
42 2
mutations.js
in src/store/general
39 -
getters.js
in src/store/profile
37 -
cfn-amplifyRole.yaml
in root
34 -
Home.vue
in src/views
30 -
main.js
in src
20 -
actions.js
in src/store/profile
19 1
queries.js
in src/store/general
18 2
quasar.js
in src
17 -
index.html
in public
17 -
state.js
in src/store/general
15 -
App.vue
in src
15 -
index.js
in src/store
11 -
index.js
in src/store/profile
11 -
index.js
in src/store/general
11 -
vue.config.js
in root
11 -
sass
quasar.variables.sass
in src/styles
9 -
babel.config.js
in root
5 -
About.vue
in src/views
5 -
state.js
in src/store/profile
3 -
mutations.js
in src/store/profile
3 -
sass
quasar.sass
in src/styles
2 -
getters.js
in src/store/general
1 -
Files With Most Units (Top 10)
File# lines# units
subscriptions.js
in src/graphql
225 18
mutations.js
in src/graphql
252 18
actions.js
in src/store/general
424 16
queries.js
in src/graphql
163 12
index.py
in lambdas/simulation/pushVehiclePosition
99 5
index.py
in lambdas/simulation/launchDeliveryFleet
79 3
index.py
in lambdas/eventbridge
90 3
queries.js
in src/store/general
18 2
index.py
in lambdas/iot
42 2
actions.js
in src/store/profile
19 1
Files With Long Lines (Top 9)

There are 9 files with lines longer than 120 characters. In total, there are 19 long lines.

File# lines# units# long lines
amplify.yml
in root
46 - 10
ForgotPassword.vue
in src/views
124 - 2
restapi-cloudformation-template.yaml
in amplify/backend/custom/restapi
182 - 1
template.yaml
in root
279 - 1
Auth.vue
in src/views
90 - 1
SignUp.vue
in src/views
137 - 1
actions.js
in src/store/general
424 16 1
Map.vue
in src/components
342 - 1
index.html
in public
17 - 1