aws-solutions / operations-conductor
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 41 files with 8,959 lines of code.
    • 0 very long files (0 lines of code)
    • 6 long files (4,743 lines of code)
    • 10 medium size files (2,894 lines of codeclsfd_ftr_w_mp_ins)
    • 3 small files (399 lines of code)
    • 22 very small files (923 lines of code)
0% | 52% | 32% | 4% | 10%
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
tsx0% | 73% | 15% | 0% | 10%
ts0% | 32% | 38% | 14% | 13%
yaml0% | 38% | 61% | 0% | 0%
scss0% | 0% | 0% | 0% | 100%
js0% | 0% | 0% | 0% | 100%
html0% | 0% | 0% | 0% | 100%
File Size per Logical Decomposition
primary
1001+
501-1000
201-500
101-200
1-100
console/src0% | 72% | 15% | 0% | 11%
services/tasks0% | 86% | 0% | 12% | <1%
services/custom-resource0% | 29% | 65% | 0% | 5%
services/resource-selector0% | 0% | 100% | 0% | 0%
services/users0% | 0% | 68% | 29% | 2%
services/queue-consumer0% | 0% | 0% | 100% | 0%
services/actions0% | 0% | 0% | 0% | 100%
services/common0% | 0% | 0% | 0% | 100%
services/metrics0% | 0% | 0% | 0% | 100%
services/logger0% | 0% | 0% | 0% | 100%
console/public0% | 0% | 0% | 0% | 100%
Longest Files (Top 41)
File# lines# units
TaskCreate.tsx
in source/console/src/views
983 3
TaskDetail.tsx
in source/console/src/views
933 3
tasks.ts
in source/services/tasks
889 18
automation_document.yaml
in source/services/custom-resource/ssm/OperationsConductor-ResizeInstance
736 -
AutomationExecutionDetail.tsx
in source/console/src/views
658 3
Users.tsx
in source/console/src/views
544 3
index.ts
in source/services/custom-resource
437 3
automation_document.yaml
in source/services/custom-resource/ssm/OperationsConductor-SetDynamoDBCapacity
423 -
index.ts
in source/services/resource-selector
379 7
automation_document.yaml
in source/services/custom-resource/ssm/OperationsConductor-DeleteSnapshot
257 -
automation_document.yaml
in source/services/custom-resource/ssm/OperationsConductor-CopySnapshot
256 -
AutomationExecutions.tsx
in source/console/src/views
247 2
users.ts
in source/services/users
245 9
automation_document.yaml
in source/services/custom-resource/ssm/OperationsConductor-CreateSnapshot
231 -
Actions.tsx
in source/console/src/views
213 3
Tasks.tsx
in source/console/src/views
206 3
index.ts
in source/services/queue-consumer
163 5
app.ts
in source/services/tasks
130 -
app.ts
in source/services/users
106 -
CustomForgotPassword.tsx
in source/console/src/components
89 2
App.tsx
in source/console/src
87 1
index.ts
in source/services/custom-resource/ssm
87 4
actions.ts
in source/services/actions
79 3
util.ts
in source/services/common
71 1
CustomVerifyContact.tsx
in source/console/src/components
70 2
CustomSignIn.tsx
in source/console/src/components
61 2
AppWithAuth.tsx
in source/console/src
56 3
CustomRequireNewPassword.tsx
in source/console/src/components
53 2
style.scss
in source/console/src/assets/css
51 -
app.ts
in source/services/actions
50 -
index.js
in source/services/custom-resource/lambda-edge
40 -
index.ts
in source/services/metrics
29 2
Footer.tsx
in source/console/src/components
19 -
index.ts
in source/services/logger
18 -
index.html
in source/console/public
17 -
interfaces.ts
in source/services/common
15 -
index.ts
in source/services/tasks
8 -
index.ts
in source/services/actions
8 -
index.ts
in source/services/users
8 -
index.tsx
in source/console/src
6 -
CustomUtil.tsx
in source/console/src/components
1 -
Files With Most Units (Top 20)
File# lines# units
tasks.ts
in source/services/tasks
889 18
users.ts
in source/services/users
245 9
index.ts
in source/services/resource-selector
379 7
index.ts
in source/services/queue-consumer
163 5
index.ts
in source/services/custom-resource/ssm
87 4
TaskCreate.tsx
in source/console/src/views
983 3
Actions.tsx
in source/console/src/views
213 3
Tasks.tsx
in source/console/src/views
206 3
Users.tsx
in source/console/src/views
544 3
TaskDetail.tsx
in source/console/src/views
933 3
AutomationExecutionDetail.tsx
in source/console/src/views
658 3
AppWithAuth.tsx
in source/console/src
56 3
actions.ts
in source/services/actions
79 3
index.ts
in source/services/custom-resource
437 3
AutomationExecutions.tsx
in source/console/src/views
247 2
CustomSignIn.tsx
in source/console/src/components
61 2
CustomRequireNewPassword.tsx
in source/console/src/components
53 2
CustomForgotPassword.tsx
in source/console/src/components
89 2
CustomVerifyContact.tsx
in source/console/src/components
70 2
index.ts
in source/services/metrics
29 2
Files With Long Lines (Top 20)

There are 25 files with lines longer than 120 characters. In total, there are 374 long lines.

File# lines# units# long lines
AutomationExecutionDetail.tsx
in source/console/src/views
658 3 75
TaskCreate.tsx
in source/console/src/views
983 3 55
TaskDetail.tsx
in source/console/src/views
933 3 55
tasks.ts
in source/services/tasks
889 18 42
automation_document.yaml
in source/services/custom-resource/ssm/OperationsConductor-ResizeInstance
736 - 26
Users.tsx
in source/console/src/views
544 3 14
automation_document.yaml
in source/services/custom-resource/ssm/OperationsConductor-SetDynamoDBCapacity
423 - 14
index.ts
in source/services/queue-consumer
163 5 12
automation_document.yaml
in source/services/custom-resource/ssm/OperationsConductor-CopySnapshot
256 - 10
index.ts
in source/services/custom-resource
437 3 9
index.ts
in source/services/resource-selector
379 7 8
automation_document.yaml
in source/services/custom-resource/ssm/OperationsConductor-DeleteSnapshot
257 - 8
CustomForgotPassword.tsx
in source/console/src/components
89 2 7
AutomationExecutions.tsx
in source/console/src/views
247 2 6
users.ts
in source/services/users
245 9 6
automation_document.yaml
in source/services/custom-resource/ssm/OperationsConductor-CreateSnapshot
231 - 6
CustomVerifyContact.tsx
in source/console/src/components
70 2 5
Tasks.tsx
in source/console/src/views
206 3 3
CustomSignIn.tsx
in source/console/src/components
61 2 3
CustomRequireNewPassword.tsx
in source/console/src/components
53 2 3