aws-samples / aws-ecs-on-outposts
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 28 files with 2,422 lines of code.
    • 0 very long files (0 lines of code)
    • 0 long files (0 lines of code)
    • 3 medium size files (1,008 lines of codeclsfd_ftr_w_mp_ins)
    • 6 small files (792 lines of code)
    • 19 very small files (622 lines of code)
0% | 0% | 41% | 32% | 25%
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% | 42% | 33% | 24%
yml0% | 0% | 0% | 0% | 100%
tfvars0% | 0% | 0% | 0% | 100%
File Size per Logical Decomposition
primary
1001+
501-1000
201-500
101-200
1-100
terraform/modules/vpc0% | 0% | 64% | 17% | 18%
terraform/modules/alb-ecs0% | 0% | 31% | 38% | 30%
terraform0% | 0% | 0% | 72% | 27%
terraform/modules/docker-ecr-codebuild0% | 0% | 0% | 67% | 32%
terraform/modules/docker-ecr-codebuild/buildspec0% | 0% | 0% | 0% | 100%
terraform/vars0% | 0% | 0% | 0% | 100%
Longest Files (Top 28)
File# lines# units
2-vpc.tf
in terraform/modules/vpc
409 -
3-variables.tf
in terraform/modules/alb-ecs
311 -
0-variables.tf
in terraform/modules/vpc
288 -
4-ssm.tf
in terraform/modules/vpc
186 -
9-endpoints.tf
in terraform/modules/alb-ecs
158 -
6-capacity-provider.tf
in terraform/modules/alb-ecs
122 -
variables.tf
in terraform
109 -
4-lb.tf
in terraform/modules/alb-ecs
109 -
4-docker-codebuild.tf
in terraform/modules/docker-ecr-codebuild
108 -
8-iam.tf
in terraform/modules/alb-ecs
88 -
3-flow-logs.tf
in terraform/modules/vpc
76 -
7-ecs.tf
in terraform/modules/alb-ecs
73 -
6-output.tf
in terraform/modules/vpc
72 -
5-securitygroups.tf
in terraform/modules/alb-ecs
69 -
3-ecr.tf
in terraform/modules/docker-ecr-codebuild
32 -
1-data.tf
in terraform/modules/alb-ecs
31 -
1-data.tf
in terraform/modules/vpc
30 -
locals-data.tf
in terraform
23 -
buildspec.yml
in terraform/modules/docker-ecr-codebuild/buildspec
21 -
11-outputs.tf
in terraform/modules/alb-ecs
21 -
providers.tf
in terraform
18 -
5-s3-endpoint.tf
in terraform/modules/vpc
16 -
test.tfvars
in terraform/vars
14 -
2-variables.tf
in terraform/modules/docker-ecr-codebuild
13 -
10-log-groups.tf
in terraform/modules/alb-ecs
12 -
2-local.tf
in terraform/modules/alb-ecs
6 -
1-data.tf
in terraform/modules/docker-ecr-codebuild
4 -
5-outputs.tf
in terraform/modules/docker-ecr-codebuild
3 -
Files With Most Units (Top 0)
File# lines# units
Files With Long Lines (Top 11)

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

File# lines# units# long lines
3-variables.tf
in terraform/modules/alb-ecs
311 - 16
2-vpc.tf
in terraform/modules/vpc
409 - 14
0-variables.tf
in terraform/modules/vpc
288 - 12
4-ssm.tf
in terraform/modules/vpc
186 - 5
3-flow-logs.tf
in terraform/modules/vpc
76 - 4
4-docker-codebuild.tf
in terraform/modules/docker-ecr-codebuild
108 - 2
7-ecs.tf
in terraform/modules/alb-ecs
73 - 2
variables.tf
in terraform
109 - 1
buildspec.yml
in terraform/modules/docker-ecr-codebuild/buildspec
21 - 1
8-iam.tf
in terraform/modules/alb-ecs
88 - 1
4-lb.tf
in terraform/modules/alb-ecs
109 - 1