aws-samples / saga-orchestration-netcore-blog
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 19 files with 1,000 lines of code.
    • 0 very long files (0 lines of code)
    • 0 long files (0 lines of code)
    • 1 medium size files (270 lines of codeclsfd_ftr_w_mp_ins)
    • 0 small files (0 lines of code)
    • 18 very small files (730 lines of code)
0% | 0% | 27% | 0% | 73%
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
cs0% | 0% | 37% | 0% | 62%
yml0% | 0% | 0% | 0% | 100%
File Size per Logical Decomposition
primary
1001+
501-1000
201-500
101-200
1-100
cdk-saga-orchestration/src/CdkSagaOrchestration0% | 0% | 94% | 0% | 5%
saga-orchestration/UpdateInventoryLambda/src0% | 0% | 0% | 0% | 100%
saga-orchestration/RevertInventoryLambda/src0% | 0% | 0% | 0% | 100%
saga-orchestration/InvokeOrchestratorLambda/src0% | 0% | 0% | 0% | 100%
saga-orchestration/RemoveOrderLambda/src0% | 0% | 0% | 0% | 100%
saga-orchestration/PlaceOrderLambda/src0% | 0% | 0% | 0% | 100%
saga-orchestration/MakePaymentLambda/src0% | 0% | 0% | 0% | 100%
saga-orchestration/PlaceOrderLambda0% | 0% | 0% | 0% | 100%
saga-orchestration/MakePaymentLambda0% | 0% | 0% | 0% | 100%
saga-orchestration/RemoveOrderLambda0% | 0% | 0% | 0% | 100%
saga-orchestration/RevertInventoryLambda0% | 0% | 0% | 0% | 100%
saga-orchestration/InvokeOrchestratorLambda0% | 0% | 0% | 0% | 100%
saga-orchestration/RevertPaymentLambda0% | 0% | 0% | 0% | 100%
saga-orchestration/SendNotificationLambda0% | 0% | 0% | 0% | 100%
saga-orchestration/UpdateInventoryLambda0% | 0% | 0% | 0% | 100%
saga-orchestration/RevertPaymentLambda/src0% | 0% | 0% | 0% | 100%
saga-orchestration/SendNotificationLambda/src0% | 0% | 0% | 0% | 100%
Longest Files (Top 19)
File# lines# units
CdkSagaOrchestrationStack.cs
in cdk-saga-orchestration/src/CdkSagaOrchestration
270 1
Function.cs
in saga-orchestration/UpdateInventoryLambda/src/UpdateInventoryLambda
88 3
Function.cs
in saga-orchestration/RevertInventoryLambda/src/RevertInventoryLambda
76 3
Function.cs
in saga-orchestration/InvokeOrchestratorLambda/src/InvokeOrchestratorLambda
72 2
Function.cs
in saga-orchestration/RemoveOrderLambda/src/RemoveOrderLambda
64 3
Function.cs
in saga-orchestration/PlaceOrderLambda/src/PlaceOrderLambda
54 2
Function.cs
in saga-orchestration/MakePaymentLambda/src/MakePaymentLambda
38 1
buildspec.yml
in saga-orchestration/PlaceOrderLambda
34 -
buildspec.yml
in saga-orchestration/MakePaymentLambda
34 -
buildspec.yml
in saga-orchestration/RemoveOrderLambda
34 -
buildspec.yml
in saga-orchestration/RevertInventoryLambda
34 -
buildspec.yml
in saga-orchestration/InvokeOrchestratorLambda
34 -
buildspec.yml
in saga-orchestration/RevertPaymentLambda
34 -
buildspec.yml
in saga-orchestration/SendNotificationLambda
34 -
buildspec.yml
in saga-orchestration/UpdateInventoryLambda
34 -
Function.cs
in saga-orchestration/RevertPaymentLambda/src/RevertPaymentLambda
26 1
Function.cs
in saga-orchestration/SendNotificationLambda/src/SendNotificationLambda
23 1
Program.cs
in cdk-saga-orchestration/src/CdkSagaOrchestration
16 1
GlobalSuppressions.cs
in cdk-saga-orchestration/src/CdkSagaOrchestration
1 -
Files With Most Units (Top 10)
File# lines# units
Function.cs
in saga-orchestration/RemoveOrderLambda/src/RemoveOrderLambda
64 3
Function.cs
in saga-orchestration/RevertInventoryLambda/src/RevertInventoryLambda
76 3
Function.cs
in saga-orchestration/UpdateInventoryLambda/src/UpdateInventoryLambda
88 3
Function.cs
in saga-orchestration/PlaceOrderLambda/src/PlaceOrderLambda
54 2
Function.cs
in saga-orchestration/InvokeOrchestratorLambda/src/InvokeOrchestratorLambda
72 2
CdkSagaOrchestrationStack.cs
in cdk-saga-orchestration/src/CdkSagaOrchestration
270 1
Program.cs
in cdk-saga-orchestration/src/CdkSagaOrchestration
16 1
Function.cs
in saga-orchestration/MakePaymentLambda/src/MakePaymentLambda
38 1
Function.cs
in saga-orchestration/RevertPaymentLambda/src/RevertPaymentLambda
26 1
Function.cs
in saga-orchestration/SendNotificationLambda/src/SendNotificationLambda
23 1
Files With Long Lines (Top 11)

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

File# lines# units# long lines
CdkSagaOrchestrationStack.cs
in cdk-saga-orchestration/src/CdkSagaOrchestration
270 1 4
GlobalSuppressions.cs
in cdk-saga-orchestration/src/CdkSagaOrchestration
1 - 1
buildspec.yml
in saga-orchestration/PlaceOrderLambda
34 - 1
buildspec.yml
in saga-orchestration/MakePaymentLambda
34 - 1
buildspec.yml
in saga-orchestration/RemoveOrderLambda
34 - 1
buildspec.yml
in saga-orchestration/RevertInventoryLambda
34 - 1
buildspec.yml
in saga-orchestration/InvokeOrchestratorLambda
34 - 1
Function.cs
in saga-orchestration/InvokeOrchestratorLambda/src/InvokeOrchestratorLambda
72 2 1
buildspec.yml
in saga-orchestration/RevertPaymentLambda
34 - 1
buildspec.yml
in saga-orchestration/SendNotificationLambda
34 - 1
buildspec.yml
in saga-orchestration/UpdateInventoryLambda
34 - 1