aws-solutions / cognito-user-profiles-export-reference-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 25 files with 5,056 lines of code.
    • 1 very long files (2,254 lines of code)
    • 1 long files (915 lines of code)
    • 1 medium size files (249 lines of codeclsfd_ftr_w_mp_ins)
    • 7 small files (953 lines of code)
    • 15 very small files (685 lines of code)
44% | 18% | 4% | 18% | 13%
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
yaml71% | 28% | 0% | 0% | 0%
js0% | 0% | 13% | 50% | 36%
File Size per Logical Decomposition
primary
1001+
501-1000
201-500
101-200
1-100
deployment71% | 28% | 0% | 0% | 0%
source/workflow-import0% | 0% | 46% | 45% | 7%
source/workflow-export0% | 0% | 0% | 82% | 17%
source/custom-resources0% | 0% | 0% | 29% | 70%
source/workflow-common0% | 0% | 0% | 68% | 31%
source/utils0% | 0% | 0% | 0% | 100%
Longest Files (Top 25)
File# lines# units
stack-set-template.yaml
in deployment
2254 -
cognito-user-profiles-export-reference-architecture.yaml
in deployment
915 -
import-users.js
in source/workflow-import
249 1
export-users.js
in source/workflow-export
174 2
backup-table-cleanup.js
in source/workflow-export
143 -
stackset-manager.js
in source/custom-resources
141 1
export-users-in-group.js
in source/workflow-export
133 -
update-new-users.js
in source/workflow-import
128 -
message-broker.js
in source/workflow-common
118 2
scan-table.js
in source/workflow-import
116 1
check-stackset-status.js
in source/custom-resources
81 1
global-table-creator.js
in source/custom-resources
81 4
stack-checker.js
in source/custom-resources
74 -
global-table-checker.js
in source/custom-resources
69 5
custom-resource-helper-functions.js
in source/utils
61 -
helper-functions.js
in source/utils
55 -
check-new-user-pool.js
in source/workflow-import
39 -
list-groups.js
in source/workflow-export
39 -
metrics.js
in source/utils
35 1
check-workflow-queues.js
in source/workflow-common
35 -
export-group.js
in source/workflow-export
34 -
check-user-pool-config.js
in source/workflow-export
23 -
solution-constants.js
in source/custom-resources
23 1
check-state-machine-executions.js
in source/workflow-common
19 -
stackset-constants.js
in source/custom-resources
17 -
Files With Most Units (Top 10)
File# lines# units
global-table-checker.js
in source/custom-resources
69 5
global-table-creator.js
in source/custom-resources
81 4
export-users.js
in source/workflow-export
174 2
message-broker.js
in source/workflow-common
118 2
import-users.js
in source/workflow-import
249 1
scan-table.js
in source/workflow-import
116 1
stackset-manager.js
in source/custom-resources
141 1
check-stackset-status.js
in source/custom-resources
81 1
solution-constants.js
in source/custom-resources
23 1
metrics.js
in source/utils
35 1
Files With Long Lines (Top 19)

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

File# lines# units# long lines
cognito-user-profiles-export-reference-architecture.yaml
in deployment
915 - 40
stack-set-template.yaml
in deployment
2254 - 36
export-users-in-group.js
in source/workflow-export
133 - 10
export-users.js
in source/workflow-export
174 2 9
update-new-users.js
in source/workflow-import
128 - 6
import-users.js
in source/workflow-import
249 1 5
scan-table.js
in source/workflow-import
116 1 4
backup-table-cleanup.js
in source/workflow-export
143 - 4
stack-checker.js
in source/custom-resources
74 - 4
check-user-pool-config.js
in source/workflow-export
23 - 3
stackset-manager.js
in source/custom-resources
141 1 3
check-stackset-status.js
in source/custom-resources
81 1 3
message-broker.js
in source/workflow-common
118 2 3
list-groups.js
in source/workflow-export
39 - 2
helper-functions.js
in source/utils
55 - 2
check-workflow-queues.js
in source/workflow-common
35 - 2
export-group.js
in source/workflow-export
34 - 1
solution-constants.js
in source/custom-resources
23 1 1
check-state-machine-executions.js
in source/workflow-common
19 - 1