awslabs / aws-sdlc-controltower-extension
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 2,206 lines of code.
    • 0 very long files (0 lines of code)
    • 0 long files (0 lines of code)
    • 4 medium size files (1,447 lines of codeclsfd_ftr_w_mp_ins)
    • 1 small files (136 lines of code)
    • 20 very small files (623 lines of code)
0% | 0% | 65% | 6% | 28%
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% | 0% | 91% | 0% | 8%
py0% | 0% | 35% | 13% | 51%
File Size per Logical Decomposition
primary
1001+
501-1000
201-500
101-200
1-100
cloudformation0% | 0% | 91% | 0% | 8%
lambdas/custom_resources/CTE_CrossAccountCloudFormation/src0% | 0% | 55% | 21% | 22%
lambdas/stepfunctions0% | 0% | 100% | 0% | 0%
lambdas/stepfunctions/CTE_CreateAccountFn/src0% | 0% | 0% | 0% | 100%
lambdas/stepfunctions/CTE_InvokeCreateAccountFn/src0% | 0% | 0% | 0% | 100%
lambdas/stepfunctions/CTE_SignalCfnResponseFn/src0% | 0% | 0% | 0% | 100%
lambdas/stepfunctions/CTE_GetAccountStatusFn/src0% | 0% | 0% | 0% | 100%
lambdas/custom_resources0% | 0% | 0% | 0% | 100%
Longest Files (Top 25)
File# lines# units
codepipeline-example.yaml
in cloudformation
479 -
account-stack-deployment.yaml
in cloudformation
401 -
cfn_helper.py
in lambdas/custom_resources/CTE_CrossAccountCloudFormation/src
353 20
cfn.yaml
in lambdas/stepfunctions
214 -
main.py
in lambdas/custom_resources/CTE_CrossAccountCloudFormation/src
136 1
sam-bootstrap.yaml
in cloudformation
79 -
helper.py
in lambdas/stepfunctions/CTE_CreateAccountFn/src
76 5
main.py
in lambdas/stepfunctions/CTE_CreateAccountFn/src
64 1
client_session_helper.py
in lambdas/custom_resources/CTE_CrossAccountCloudFormation/src
50 2
helper.py
in lambdas/custom_resources/CTE_CrossAccountCloudFormation/src
40 1
main.py
in lambdas/stepfunctions/CTE_GetAccountStatusFn/src
38 1
main.py
in lambdas/stepfunctions/CTE_InvokeCreateAccountFn/src
37 1
cfnresponse.py
in lambdas/stepfunctions/CTE_InvokeCreateAccountFn/src
36 1
cfnresponse.py
in lambdas/stepfunctions/CTE_SignalCfnResponseFn/src
36 1
cfnresponse.py
in lambdas/stepfunctions/CTE_CreateAccountFn/src
36 1
cfnresponse.py
in lambdas/custom_resources/CTE_CrossAccountCloudFormation/src
36 1
main.py
in lambdas/stepfunctions/CTE_SignalCfnResponseFn/src
28 1
cfn.yaml
in lambdas/custom_resources
25 -
sts_helper.py
in lambdas/custom_resources/CTE_CrossAccountCloudFormation/src
19 1
helper.py
in lambdas/stepfunctions/CTE_GetAccountStatusFn/src
18 1
__init__.py
in lambdas/stepfunctions/CTE_InvokeCreateAccountFn/src
1 -
__init__.py
in lambdas/stepfunctions/CTE_GetAccountStatusFn/src
1 -
__init__.py
in lambdas/stepfunctions/CTE_SignalCfnResponseFn/src
1 -
__init__.py
in lambdas/stepfunctions/CTE_CreateAccountFn/src
1 -
__init__.py
in lambdas/custom_resources/CTE_CrossAccountCloudFormation/src
1 -
Files With Most Units (Top 15)
File# lines# units
cfn_helper.py
in lambdas/custom_resources/CTE_CrossAccountCloudFormation/src
353 20
helper.py
in lambdas/stepfunctions/CTE_CreateAccountFn/src
76 5
client_session_helper.py
in lambdas/custom_resources/CTE_CrossAccountCloudFormation/src
50 2
main.py
in lambdas/stepfunctions/CTE_InvokeCreateAccountFn/src
37 1
cfnresponse.py
in lambdas/stepfunctions/CTE_InvokeCreateAccountFn/src
36 1
main.py
in lambdas/stepfunctions/CTE_GetAccountStatusFn/src
38 1
helper.py
in lambdas/stepfunctions/CTE_GetAccountStatusFn/src
18 1
main.py
in lambdas/stepfunctions/CTE_SignalCfnResponseFn/src
28 1
cfnresponse.py
in lambdas/stepfunctions/CTE_SignalCfnResponseFn/src
36 1
main.py
in lambdas/stepfunctions/CTE_CreateAccountFn/src
64 1
cfnresponse.py
in lambdas/stepfunctions/CTE_CreateAccountFn/src
36 1
sts_helper.py
in lambdas/custom_resources/CTE_CrossAccountCloudFormation/src
19 1
main.py
in lambdas/custom_resources/CTE_CrossAccountCloudFormation/src
136 1
cfnresponse.py
in lambdas/custom_resources/CTE_CrossAccountCloudFormation/src
36 1
helper.py
in lambdas/custom_resources/CTE_CrossAccountCloudFormation/src
40 1
Files With Long Lines (Top 3)

There are 3 files with lines longer than 120 characters. In total, there are 4 long lines.

File# lines# units# long lines
cfn_helper.py
in lambdas/custom_resources/CTE_CrossAccountCloudFormation/src
353 20 2
cfn.yaml
in lambdas/stepfunctions
214 - 1
helper.py
in lambdas/stepfunctions/CTE_CreateAccountFn/src
76 5 1