aws-cloudformation / aws-cloudformation-macros
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 1,329 lines of code.
    • 0 very long files (0 lines of code)
    • 0 long files (0 lines of code)
    • 0 medium size files (0 lines of codeclsfd_ftr_w_mp_ins)
    • 2 small files (335 lines of code)
    • 23 very small files (994 lines of code)
0% | 0% | 0% | 25% | 74%
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
py0% | 0% | 0% | 24% | 75%
yaml0% | 0% | 0% | 28% | 71%
yml0% | 0% | 0% | 0% | 100%
File Size per Logical Decomposition
primary
1001+
501-1000
201-500
101-200
1-100
ExecutionRoleBuilder0% | 0% | 0% | 75% | 24%
Public-and-Private-Subnet-per-AZ0% | 0% | 0% | 61% | 38%
StringFunctions0% | 0% | 0% | 0% | 100%
S3Objects0% | 0% | 0% | 0% | 100%
Explode0% | 0% | 0% | 0% | 100%
StackMetrics0% | 0% | 0% | 0% | 100%
ShortHand0% | 0% | 0% | 0% | 100%
PyPlate0% | 0% | 0% | 0% | 100%
Boto30% | 0% | 0% | 0% | 100%
Count0% | 0% | 0% | 0% | 100%
Longest Files (Top 25)
File# lines# units
policytemplates.py
in ExecutionRoleBuilder/lambda
191 -
Create-Stack.yaml
in Public-and-Private-Subnet-per-AZ
144 -
Create-Macro.yaml
in Public-and-Private-Subnet-per-AZ
90 -
explode.py
in Explode/lambda
89 3
string.yaml
in StringFunctions
80 -
convert.py
in ShortHand/lambda
78 5
python.yaml
in PyPlate
76 -
resource.py
in S3Objects/lambda
73 2
string_example.yaml
in StringFunctions
73 -
index.py
in ExecutionRoleBuilder/lambda
62 4
macro.py
in S3Objects/lambda
57 2
resource.py
in Boto3/lambda
55 3
resource.py
in StackMetrics/lambda
48 2
index.py
in Count/src
44 4
macro.py
in Boto3/lambda
31 2
cfnresponse.py
in StackMetrics/lambda
29 1
test.yml
in Explode
21 -
index.py
in StackMetrics/lambda
19 1
template.yaml
in Count
19 -
python_example.yaml
in PyPlate
16 -
macro.yml
in Explode
13 -
index.py
in ShortHand/lambda
7 1
resolve.py
in ShortHand/lambda
7 1
test.yaml
in Count
6 -
__init__.py
in Count/src
1 -
Files With Most Units (Top 13)
File# lines# units
convert.py
in ShortHand/lambda
78 5
index.py
in ExecutionRoleBuilder/lambda
62 4
index.py
in Count/src
44 4
explode.py
in Explode/lambda
89 3
resource.py
in Boto3/lambda
55 3
resource.py
in S3Objects/lambda
73 2
macro.py
in S3Objects/lambda
57 2
resource.py
in StackMetrics/lambda
48 2
macro.py
in Boto3/lambda
31 2
index.py
in StackMetrics/lambda
19 1
cfnresponse.py
in StackMetrics/lambda
29 1
index.py
in ShortHand/lambda
7 1
resolve.py
in ShortHand/lambda
7 1
Files With Long Lines (Top 3)

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

File# lines# units# long lines
Create-Macro.yaml
in Public-and-Private-Subnet-per-AZ
90 - 9
index.py
in Count/src
44 4 2
index.py
in ExecutionRoleBuilder/lambda
62 4 1