aws-solutions / multi-region-application-architecture
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 24 files with 2,755 lines of code.
    • 0 very long files (0 lines of code)
    • 1 long files (737 lines of code)
    • 1 medium size files (405 lines of codeclsfd_ftr_w_mp_ins)
    • 7 small files (934 lines of code)
    • 15 very small files (679 lines of code)
0% | 26% | 14% | 33% | 24%
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% | 59% | 32% | 0% | 7%
ts0% | 0% | 0% | 67% | 32%
js0% | 0% | 0% | 62% | 37%
jsx0% | 0% | 0% | 61% | 38%
css0% | 0% | 0% | 0% | 100%
html0% | 0% | 0% | 0% | 100%
File Size per Logical Decomposition
primary
1001+
501-1000
201-500
101-200
1-100
deployment0% | 59% | 32% | 0% | 7%
source/console/src0% | 0% | 0% | 53% | 46%
source/routing-configurer0% | 0% | 0% | 77% | 22%
source/presentation-configurer/source0% | 0% | 0% | 77% | 22%
source/stackset-output-consolidator0% | 0% | 0% | 82% | 17%
source/dynamodb-global-table-configurer/source0% | 0% | 0% | 82% | 17%
source/uuid-generator0% | 0% | 0% | 83% | 16%
source/stack-name-formatter0% | 0% | 0% | 0% | 100%
source/utils0% | 0% | 0% | 0% | 100%
source/console/public0% | 0% | 0% | 0% | 100%
Longest Files (Top 24)
File# lines# units
multi-region-application-architecture-stackset-instance.yaml
in deployment
737 -
multi-region-application-architecture.yaml
in deployment
405 -
state-updater.ts
in source/routing-configurer
168 9
App.js
in source/console/src
167 6
index.ts
in source/presentation-configurer/source
136 6
Comments.jsx
in source/console/src/views
135 -
index.ts
in source/stackset-output-consolidator
114 5
index.ts
in source/dynamodb-global-table-configurer/source
112 6
index.ts
in source/uuid-generator
102 6
index.ts
in source/stack-name-formatter
98 5
multi-region-application-architecture-demo-ui.yaml
in deployment
90 -
Gallery.jsx
in source/console/src/views
86 -
style.css
in source/console/src/assets/css
78 -
Routing.js
in source/console/src
68 4
custom-resource-handler.ts
in source/routing-configurer
48 -
custom-resource-handler.ts
in source/presentation-configurer/source
40 -
metrics.ts
in source/utils
32 2
Common.js
in source/console/src
25 1
custom-resource-handler.ts
in source/stackset-output-consolidator
25 -
custom-resource-handler.ts
in source/dynamodb-global-table-configurer/source
24 -
custom-resource-handler.ts
in source/stack-name-formatter
23 -
custom-resource-handler.ts
in source/uuid-generator
20 -
index.html
in source/console/public
16 -
index.js
in source/console/src
6 -
Files With Most Units (Top 10)
File# lines# units
state-updater.ts
in source/routing-configurer
168 9
index.ts
in source/presentation-configurer/source
136 6
index.ts
in source/uuid-generator
102 6
App.js
in source/console/src
167 6
index.ts
in source/dynamodb-global-table-configurer/source
112 6
index.ts
in source/stack-name-formatter
98 5
index.ts
in source/stackset-output-consolidator
114 5
Routing.js
in source/console/src
68 4
metrics.ts
in source/utils
32 2
Common.js
in source/console/src
25 1
Files With Long Lines (Top 11)

There are 11 files with lines longer than 120 characters. In total, there are 51 long lines.

File# lines# units# long lines
multi-region-application-architecture.yaml
in deployment
405 - 14
multi-region-application-architecture-stackset-instance.yaml
in deployment
737 - 13
index.ts
in source/stackset-output-consolidator
114 5 7
App.js
in source/console/src
167 6 6
state-updater.ts
in source/routing-configurer
168 9 3
Comments.jsx
in source/console/src/views
135 - 2
Gallery.jsx
in source/console/src/views
86 - 2
Routing.js
in source/console/src
68 4 1
metrics.ts
in source/utils
32 2 1
index.ts
in source/stack-name-formatter
98 5 1
multi-region-application-architecture-demo-ui.yaml
in deployment
90 - 1