aws-samples / route-53-application-recovery-controller-codepipeline-with-terraform
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 33 files with 1,328 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 (236 lines of code)
    • 31 very small files (1,092 lines of code)
0% | 0% | 0% | 17% | 82%
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
tf0% | 0% | 0% | 11% | 88%
ejs0% | 0% | 0% | 100% | 0%
css0% | 0% | 0% | 0% | 100%
js0% | 0% | 0% | 0% | 100%
yml0% | 0% | 0% | 0% | 100%
File Size per Logical Decomposition
primary
1001+
501-1000
201-500
101-200
1-100
3_ci_cd0% | 0% | 0% | 31% | 68%
nodejs-sample-app/views0% | 0% | 0% | 100% | 0%
modules/application_stack0% | 0% | 0% | 0% | 100%
4_arc_terraform0% | 0% | 0% | 0% | 100%
nodejs-sample-app0% | 0% | 0% | 0% | 100%
nodejs-sample-app/static0% | 0% | 0% | 0% | 100%
1_database_stack0% | 0% | 0% | 0% | 100%
0_code_to_s30% | 0% | 0% | 0% | 100%
2_app_stack/region-20% | 0% | 0% | 0% | 100%
2_app_stack/region-10% | 0% | 0% | 0% | 100%
Longest Files (Top 33)
File# lines# units
codepipeline.tf
in 3_ci_cd
128 -
ejs
index.ejs
in nodejs-sample-app/views
108 -
codedeploy.tf
in 3_ci_cd
90 -
vpc.tf
in modules/application_stack
88 -
codebuild.tf
in 3_ci_cd
83 -
arc-readiness-checks.tf
in 4_arc_terraform
71 -
auto-scaling-group.tf
in modules/application_stack
70 -
codepipeline-role.tf
in 3_ci_cd
69 -
jumbotron-narrow.css
in nodejs-sample-app/static/bootstrap/css
60 -
app.js
in nodejs-sample-app
51 -
variables.tf
in 4_arc_terraform
48 -
appspec.yml
in nodejs-sample-app
40 -
security-groups.tf
in modules/application_stack
39 -
alb.tf
in modules/application_stack
38 -
arc-routing-controls.tf
in 4_arc_terraform
36 -
dns-records.tf
in 4_arc_terraform
30 -
iam.tf
in modules/application_stack
29 -
outputs.tf
in 4_arc_terraform
27 -
variables.tf
in modules/application_stack
23 -
dynamodb.tf
in 1_database_stack
22 -
provider.tf
in 3_ci_cd
18 -
variables.tf
in 3_ci_cd
18 -
main.tf
in 2_app_stack/region-2
18 -
main.tf
in 2_app_stack/region-1
18 -
s3.tf
in 0_code_to_s3
16 -
provider.tf
in 0_code_to_s3
13 -
provider.tf
in 1_database_stack
13 -
provider.tf
in modules/application_stack
13 -
variables.tf
in 0_code_to_s3
12 -
variables.tf
in 1_database_stack
12 -
variables.tf
in 2_app_stack/region-2
12 -
variables.tf
in 2_app_stack/region-1
9 -
outputs.tf
in modules/application_stack
6 -
Files With Most Units (Top 0)
File# lines# units
Files With Long Lines (Top 4)

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

File# lines# units# long lines
ejs
index.ejs
in nodejs-sample-app/views
108 - 4
iam.tf
in modules/application_stack
29 - 1
arc-routing-controls.tf
in 4_arc_terraform
36 - 1
codepipeline.tf
in 3_ci_cd
128 - 1