aws-samples / cfn101-workshop
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 48 files with 2,712 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)
    • 11 small files (1,538 lines of code)
    • 37 very small files (1,174 lines of code)
0% | 0% | 0% | 56% | 43%
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% | 0% | 56% | 43%
css0% | 0% | 0% | 100% | 0%
toml0% | 0% | 0% | 0% | 100%
yml0% | 0% | 0% | 0% | 100%
html0% | 0% | 0% | 0% | 100%
py0% | 0% | 0% | 0% | 100%
File Size per Logical Decomposition
primary
1001+
501-1000
201-500
101-200
1-100
code/workspace/layered-stacks0% | 0% | 0% | 91% | 8%
code/solutions0% | 0% | 0% | 48% | 51%
code/solutions/layered-stacks0% | 0% | 0% | 91% | 8%
code/solutions/nested-stacks0% | 0% | 0% | 73% | 26%
code/workspace/nested-stacks0% | 0% | 0% | 95% | 4%
workshop/static/css0% | 0% | 0% | 100% | 0%
code/workspace0% | 0% | 0% | 0% | 100%
code/solutions/pseudo-parameters0% | 0% | 0% | 0% | 100%
code/solutions/linting-and-testing0% | 0% | 0% | 0% | 100%
code/workspace/linting-and-testing0% | 0% | 0% | 0% | 100%
workshop0% | 0% | 0% | 0% | 100%
code/solutions/troubleshooting-provisioning-errors0% | 0% | 0% | 0% | 100%
infrastructure0% | 0% | 0% | 0% | 100%
code/workspace/troubleshooting-provisioning-errors0% | 0% | 0% | 0% | 100%
code/solutions/policy-as-code-with-guard0% | 0% | 0% | 0% | 100%
workshop/layouts/partials0% | 0% | 0% | 0% | 100%
code/workspace/package-and-deploy0% | 0% | 0% | 0% | 100%
code/workspace/policy-as-code-with-guard0% | 0% | 0% | 0% | 100%
code/workspace/pseudo-parameters0% | 0% | 0% | 0% | 100%
Longest Files (Top 48)
File# lines# units
helper-scripts.yaml
in code/solutions
164 -
ec2.yaml
in code/workspace/layered-stacks
158 -
ec2.yaml
in code/solutions/nested-stacks
157 -
theme-aws.css
in workshop/static/css
151 -
ec2.yaml
in code/workspace/nested-stacks
148 -
ec2.yaml
in code/solutions/layered-stacks
148 -
vpc.yaml
in code/workspace/layered-stacks
129 -
vpc.yaml
in code/solutions/layered-stacks
127 -
user-data.yaml
in code/solutions
121 -
vpc.yaml
in code/workspace/nested-stacks
118 -
vpc.yaml
in code/solutions/nested-stacks
117 -
helper-scripts.yaml
in code/workspace
95 -
user-data.yaml
in code/workspace
75 -
session-manager.yaml
in code/solutions
75 -
main.yaml
in code/solutions/nested-stacks
74 -
pseudo-parameters.yaml
in code/solutions/pseudo-parameters
61 -
multi-region-latest-ami.yaml
in code/workspace
55 -
session-manager.yaml
in code/workspace
55 -
multi-region-latest-ami.yaml
in code/solutions
55 -
outputs.yaml
in code/solutions
54 -
config.toml
in workshop
43 -
outputs.yaml
in code/workspace
42 -
mappings.yaml
in code/solutions
42 -
sqs-queues.yaml
in code/solutions/troubleshooting-provisioning-errors
36 -
mappings.yaml
in code/workspace
35 -
intrinsic-functions.yaml
in code/solutions
34 -
vpc-and-security-group.yaml
in code/solutions/linting-and-testing
30 -
vpc-and-security-group.yaml
in code/workspace/linting-and-testing
27 -
iam.yaml
in code/solutions/layered-stacks
27 -
intrinsic-functions.yaml
in code/workspace
26 -
resources.yaml
in code/solutions
26 -
iam.yaml
in code/workspace/layered-stacks
25 -
iam.yaml
in code/solutions/nested-stacks
25 -
buildspec.yml
in infrastructure
22 -
sqs-queues.yaml
in code/workspace/troubleshooting-provisioning-errors
20 -
sqs-queue.yaml
in code/workspace/linting-and-testing
19 -
sqs-queue.yaml
in code/solutions/linting-and-testing
19 -
example_bucket.yaml
in code/solutions/policy-as-code-with-guard
17 -
lambda_function.py
in code/workspace/package-and-deploy/lambda
12 2
template-and-stack.yaml
in code/solutions
12 -
menu-footer.html
in workshop/layouts/partials
12 -
main.yaml
in code/workspace/nested-stacks
9 -
example_bucket.yaml
in code/workspace/policy-as-code-with-guard
5 -
iam.yaml
in code/workspace/nested-stacks
3 -
resources.yaml
in code/workspace
2 -
template-and-stack.yaml
in code/workspace
2 -
pseudo-parameters.yaml
in code/workspace/pseudo-parameters
2 -
custom-footer.html
in workshop/layouts/partials
1 -
Files With Most Units (Top 1)
File# lines# units
lambda_function.py
in code/workspace/package-and-deploy/lambda
12 2
Files With Long Lines (Top 16)

There are 16 files with lines longer than 120 characters. In total, there are 42 long lines.

File# lines# units# long lines
main.yaml
in code/solutions/nested-stacks
74 - 5
menu-footer.html
in workshop/layouts/partials
12 - 5
vpc.yaml
in code/workspace/layered-stacks
129 - 3
vpc.yaml
in code/workspace/nested-stacks
118 - 3
vpc.yaml
in code/solutions/layered-stacks
127 - 3
helper-scripts.yaml
in code/solutions
164 - 3
vpc.yaml
in code/solutions/nested-stacks
117 - 3
theme-aws.css
in workshop/static/css
151 - 3
ec2.yaml
in code/workspace/layered-stacks
158 - 2
ec2.yaml
in code/workspace/nested-stacks
148 - 2
main.yaml
in code/workspace/nested-stacks
9 - 2
ec2.yaml
in code/solutions/layered-stacks
148 - 2
pseudo-parameters.yaml
in code/solutions/pseudo-parameters
61 - 2
ec2.yaml
in code/solutions/nested-stacks
157 - 2
user-data.yaml
in code/solutions
121 - 1
buildspec.yml
in infrastructure
22 - 1