aws-samples / amazon-ecs-fullstack-app-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 65 files with 2,551 lines of code.
    • 0 very long files (0 lines of code)
    • 0 long files (0 lines of code)
    • 2 medium size files (619 lines of codeclsfd_ftr_w_mp_ins)
    • 2 small files (285 lines of code)
    • 61 very small files (1,647 lines of code)
0% | 0% | 24% | 11% | 64%
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% | 32% | 0% | 67%
vue0% | 0% | 0% | 65% | 34%
js0% | 0% | 0% | 0% | 100%
yml0% | 0% | 0% | 0% | 100%
html0% | 0% | 0% | 0% | 100%
yaml0% | 0% | 0% | 0% | 100%
File Size per Logical Decomposition
primary
1001+
501-1000
201-500
101-200
1-100
Infrastructure0% | 0% | 76% | 0% | 23%
Infrastructure/Modules/IAM0% | 0% | 78% | 0% | 21%
Code/client/src0% | 0% | 0% | 60% | 40%
Infrastructure/Modules/ECS0% | 0% | 0% | 0% | 100%
Infrastructure/Modules/ALB0% | 0% | 0% | 0% | 100%
Infrastructure/Modules/CodePipeline0% | 0% | 0% | 0% | 100%
Infrastructure/Modules/CodeBuild0% | 0% | 0% | 0% | 100%
Infrastructure/Modules/Networking0% | 0% | 0% | 0% | 100%
Infrastructure/Modules/CodeDeploy0% | 0% | 0% | 0% | 100%
Code/server/src0% | 0% | 0% | 0% | 100%
Infrastructure/Modules/SecurityGroup0% | 0% | 0% | 0% | 100%
Infrastructure/Templates0% | 0% | 0% | 0% | 100%
Infrastructure/Modules/Dynamodb0% | 0% | 0% | 0% | 100%
Infrastructure/Modules/S30% | 0% | 0% | 0% | 100%
Infrastructure/Modules/ECR0% | 0% | 0% | 0% | 100%
Code/client0% | 0% | 0% | 0% | 100%
Code/client/public0% | 0% | 0% | 0% | 100%
Infrastructure/Modules/SNS0% | 0% | 0% | 0% | 100%
Longest Files (Top 50)
File# lines# units
main.tf
in Infrastructure
311 -
main.tf
in Infrastructure/Modules/IAM
308 -
App.vue
in Code/client/src
166 -
Main.vue
in Code/client/src/components
119 -
main.tf
in Infrastructure/Modules/Networking
97 -
main.tf
in Infrastructure/Modules/CodePipeline
94 -
main.tf
in Infrastructure/Modules/ECS/Autoscaling
78 -
variables.tf
in Infrastructure
77 -
main.tf
in Infrastructure/Modules/CodeBuild
76 -
variables.tf
in Infrastructure/Modules/ALB
69 -
variables.tf
in Infrastructure/Modules/IAM
64 -
main.tf
in Infrastructure/Modules/ALB
64 -
Nav.vue
in Code/client/src/components
62 -
main.tf
in Infrastructure/Modules/CodeDeploy
60 -
variables.tf
in Infrastructure/Modules/CodeBuild
59 -
Login.vue
in Code/client/src/components
55 -
variables.tf
in Infrastructure/Modules/CodePipeline
53 -
buildspec.yml
in Infrastructure/Templates
50 -
app.js
in Code/server/src
49 -
swagger.js
in Code/server/src/swagger
46 1
main.tf
in Infrastructure/Modules/ECS/TaskDefinition
41 -
variables.tf
in Infrastructure/Modules/SecurityGroup
37 -
variables.tf
in Infrastructure/Modules/ECS/TaskDefinition
37 -
variables.tf
in Infrastructure/Modules/CodeDeploy
37 -
variables.tf
in Infrastructure/Modules/ECS/Service
36 -
main.tf
in Infrastructure/Modules/ECS/Service
27 -
main.tf
in Infrastructure/Modules/SecurityGroup
24 -
variables.tf
in Infrastructure/Modules/Dynamodb
24 -
outputs.tf
in Infrastructure/Modules/IAM
20 -
outputs.tf
in Infrastructure/Modules/ALB
20 -
index.js
in Code/client/src/router
19 -
About.vue
in Code/client/src/views
18 -
EasterEgg.vue
in Code/client/src/views
17 -
variables.tf
in Infrastructure/Modules/ECS/Autoscaling
16 -
main.tf
in Infrastructure/Modules/Dynamodb
16 -
index.html
in Code/client/public
15 -
main.js
in Code/client/src
12 -
outputs.tf
in Infrastructure/Modules/CodeDeploy
12 -
outputs.tf
in Infrastructure/Modules/Networking
12 -
variables.tf
in Infrastructure/Modules/Networking
12 -
main.tf
in Infrastructure/Modules/S3
11 -
vue.config.js
in Code/client
10 -
appspec.yaml
in Infrastructure/Templates
10 -
versions.tf
in Infrastructure
9 -
outputs.tf
in Infrastructure
8 -
RestServices.js
in Code/client/src/services
7 1
main.tf
in Infrastructure/Modules/ECR
7 -
outputs.tf
in Infrastructure/Modules/CodeBuild
6 -
main.tf
in Infrastructure/Modules/SNS
6 -
outputs.tf
in Infrastructure/Modules/ECS/TaskDefinition
6 -
Files With Most Units (Top 2)
File# lines# units
RestServices.js
in Code/client/src/services
7 1
swagger.js
in Code/server/src/swagger
46 1
Files With Long Lines (Top 5)

There are 5 files with lines longer than 120 characters. In total, there are 6 long lines.

File# lines# units# long lines
buildspec.yml
in Infrastructure/Templates
50 - 2
Main.vue
in Code/client/src/components
119 - 1
index.html
in Code/client/public
15 - 1
variables.tf
in Infrastructure
77 - 1
main.tf
in Infrastructure
311 - 1