aws-samples / amazon-qldb-product-management
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,005 lines of code.
    • 0 very long files (0 lines of code)
    • 0 long files (0 lines of code)
    • 1 medium size files (207 lines of codeclsfd_ftr_w_mp_ins)
    • 3 small files (392 lines of code)
    • 18 very small files (406 lines of code)
0% | 0% | 20% | 39% | 40%
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% | 47% | 36% | 16%
ts0% | 0% | 0% | 43% | 56%
html0% | 0% | 0% | 0% | 100%
js0% | 0% | 0% | 0% | 100%
File Size per Logical Decomposition
primary
1001+
501-1000
201-500
101-200
1-100
management-ui/src/views0% | 0% | 56% | 43% | 0%
provision/lib0% | 0% | 0% | 72% | 27%
provision/lambda0% | 0% | 0% | 37% | 62%
management-ui/src0% | 0% | 0% | 0% | 100%
provision/lambda/lib0% | 0% | 0% | 0% | 100%
management-ui/src/router0% | 0% | 0% | 0% | 100%
management-ui/public0% | 0% | 0% | 0% | 100%
management-ui/src/lib0% | 0% | 0% | 0% | 100%
management-ui/src/store0% | 0% | 0% | 0% | 100%
provision0% | 0% | 0% | 0% | 100%
management-ui0% | 0% | 0% | 0% | 100%
Longest Files (Top 22)
File# lines# units
Detail.vue
in management-ui/src/views
207 -
Home.vue
in management-ui/src/views
159 -
backend-stack.ts
in provision/lib
128 1
history.ts
in provision/lambda
105 1
App.vue
in management-ui/src
70 -
query.ts
in provision/lambda
57 -
frontend-stack.ts
in provision/lib
49 1
hookCreateEvent.ts
in provision/lambda
38 -
update.ts
in provision/lambda
32 -
createPresignedUrl.ts
in provision/lambda
28 1
delete.ts
in provision/lambda
21 -
index.ts
in management-ui/src/router
20 -
index.html
in management-ui/public
16 -
qldb.ts
in provision/lambda/lib
12 -
queryParams.ts
in provision/lambda/lib
11 -
index.ts
in management-ui/src/store
11 1
main.ts
in management-ui/src
9 -
jest.config.js
in provision
8 -
rowData.ts
in management-ui/src/lib
8 -
formatDate.ts
in provision/lambda/lib
7 -
babel.config.js
in management-ui
5 -
api.ts
in management-ui/src/lib
4 -
Files With Most Units (Top 5)
File# lines# units
frontend-stack.ts
in provision/lib
49 1
backend-stack.ts
in provision/lib
128 1
history.ts
in provision/lambda
105 1
createPresignedUrl.ts
in provision/lambda
28 1
index.ts
in management-ui/src/store
11 1
Files With Long Lines (Top 1)

There is only one file with lines longer than 120 characters. In total, there is only one long line.

File# lines# units# long lines
index.html
in management-ui/public
16 - 1