aws-samples / delivery-driver-app-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 33 files with 1,830 lines of code.
    • 0 very long files (0 lines of code)
    • 0 long files (0 lines of code)
    • 1 medium size files (251 lines of codeclsfd_ftr_w_mp_ins)
    • 4 small files (499 lines of code)
    • 28 very small files (1,080 lines of code)
0% | 0% | 13% | 27% | 59%
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% | 0% | 30% | 27% | 42%
js0% | 0% | 0% | 29% | 70%
yml0% | 0% | 0% | 0% | 100%
File Size per Logical Decomposition
primary
1001+
501-1000
201-500
101-200
1-100
client/pages0% | 0% | 42% | 37% | 19%
api/routes0% | 0% | 0% | 54% | 45%
client/components0% | 0% | 0% | 0% | 100%
ROOT0% | 0% | 0% | 0% | 100%
api/models0% | 0% | 0% | 0% | 100%
client/plugins0% | 0% | 0% | 0% | 100%
client/store0% | 0% | 0% | 0% | 100%
client/layouts0% | 0% | 0% | 0% | 100%
api0% | 0% | 0% | 0% | 100%
client/middleware0% | 0% | 0% | 0% | 100%
Longest Files (Top 33)
File# lines# units
deliveries.vue
in client/pages
251 -
chimeAPIController.js
in api/routes/chimeproxy
148 5
chimeproxy.controller.js
in api/routes/chimeproxy
128 -
orders.vue
in client/pages
112 -
register.vue
in client/pages
111 -
serverless.yml
in root
87 -
user.controller.js
in api/routes/user
86 -
vue-timer.js
in client/plugins
84 5
Timer.vue
in client/components
79 -
login.vue
in client/pages
79 -
nuxt.config.js
in root
79 1
NewOrderModal.vue
in client/components
75 -
user.model.js
in api/models/user
73 4
chimeproxy.model.js
in api/models/chimeproxy
63 4
Navbar.vue
in client/components
49 -
index.js
in client/store
48 4
login.controller.js
in api/routes/login
46 -
order.controller.js
in api/routes/order
41 -
profile.vue
in client/pages
31 -
me.controller.js
in api/routes/me
25 -
binaryMimeTypes.js
in root
19 -
default.vue
in client/layouts
17 -
authenticateToken.js
in api/routes
15 1
index.js
in api/routes
14 -
nuxt.js
in root
14 -
Notification.vue
in client/components
11 -
index.js
in api
10 -
index.js
in root
10 -
index.vue
in client/pages
7 -
index.js
in api/models
5 -
guest.js
in client/middleware
5 1
vue-phone-number-input.js
in client/plugins
4 -
vue-multiselect.js
in client/plugins
4 -
Files With Most Units (Top 8)
File# lines# units
chimeAPIController.js
in api/routes/chimeproxy
148 5
vue-timer.js
in client/plugins
84 5
user.model.js
in api/models/user
73 4
chimeproxy.model.js
in api/models/chimeproxy
63 4
index.js
in client/store
48 4
authenticateToken.js
in api/routes
15 1
guest.js
in client/middleware
5 1
nuxt.config.js
in root
79 1
Files With Long Lines (Top 6)

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

File# lines# units# long lines
deliveries.vue
in client/pages
251 - 3
user.controller.js
in api/routes/user
86 - 2
login.controller.js
in api/routes/login
46 - 1
chimeproxy.controller.js
in api/routes/chimeproxy
128 - 1
orders.vue
in client/pages
112 - 1
nuxt.config.js
in root
79 1 1