aws-samples / terraform-eks-code
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 198 files with 4,220 lines of code.
    • 0 very long files (0 lines of code)
    • 0 long files (0 lines of code)
    • 1 medium size files (328 lines of codeclsfd_ftr_w_mp_ins)
    • 6 small files (844 lines of code)
    • 191 very small files (3,048 lines of code)
0% | 0% | 7% | 20% | 72%
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% | 9% | 8% | 82%
yml0% | 0% | 0% | 67% | 32%
yaml0% | 0% | 0% | 100% | 0%
File Size per Logical Decomposition
primary
1001+
501-1000
201-500
101-200
1-100
net0% | 0% | 49% | 15% | 34%
sampleapp0% | 0% | 0% | 49% | 50%
lb20% | 0% | 0% | 66% | 33%
cicd0% | 0% | 0% | 31% | 68%
extra0% | 0% | 0% | 21% | 78%
primer0% | 0% | 0% | 0% | 100%
iam0% | 0% | 0% | 0% | 100%
tf-setup0% | 0% | 0% | 0% | 100%
c9net0% | 0% | 0% | 0% | 100%
nodeg0% | 0% | 0% | 0% | 100%
cluster0% | 0% | 0% | 0% | 100%
eks-cidr0% | 0% | 0% | 0% | 100%
Longest Files (Top 50)
File# lines# units
vpce.tf
in net
328 -
crds.yaml
in lb2/notused
185 -
aws_iam_policy__AWSCodePipelineServiceRole-pipe-eksworkshop-app.tf
in cicd
180 -
buildspec-debug.yml
in sampleapp/notused
126 -
buildspec.yml
in extra/sampleapp2
126 -
buildspec.yml
in sampleapp
125 -
subnets-eks.tf
in net
102 -
aws_iam_role_policy__nodegroup-NodeInstanceRole-PolicyALBIngress.tf
in iam
91 -
sampleapp-deployment.tf
in extra/sampleapp2
88 -
sampleapp.tf
in sampleapp/notused
72 -
sg-rule-eks.tf
in c9net
72 -
my_instance.tf
in primer/tflab2
66 -
aws_iam_policy__CodeBuildBasePolicy-eks-cicd-build-app-eu-west-1.tf
in cicd
59 -
aws_codepipeline__pipe-eksworkshop-app.tf
in cicd
55 -
aws_codebuild_project__eks-cicd-build-app.tf
in cicd
55 -
outputs.tf
in nodeg
48 -
outputs.tf
in extra/nodeg2
48 -
aws_eks_cluster__cluster.tf
in cluster
47 -
sampleapp-deployment.tf
in sampleapp
45 -
aws_eks_node_group_ng2.tf
in extra/nodeg2
42 -
aws_iam_policy__CodeBuildVpcPolicy-eks-cicd-build-app.tf
in cicd
40 -
vars-dynamodb.tf
in tf-setup
40 -
output.tf
in tf-setup
40 -
aws_eks_node_group__manamieksp_ng1.tf
in nodeg
37 -
sampleapp-service.tf
in extra/sampleapp2
34 -
aws.tf
in tf-setup
33 -
null_idfile.tf
in tf-setup
32 -
sg-rule-cicd.tf
in c9net
32 -
aws_iam_role_policy__nodegroup-NodeInstanceRole-PolicyEBS.tf
in iam
32 -
eks-route-add.tf
in c9net
30 -
aws_iam_openid_connect_provider.tf
in cluster
30 -
vars-main.tf
in tf-setup
29 -
aws.tf
in primer/tflab1-complete
29 -
aws_iam_role__cluster-ServiceRole.tf
in iam
29 -
helm_loadbalancer.tf
in lb2
28 -
null-cidr.tf
in eks-cidr
26 -
aws_iam_role__nodegroup-NodeInstanceRole.tf
in iam
26 -
s3-bucket.tf
in tf-setup
25 -
2048_deployment.yml
in sampleapp/notused
24 -
null-cidr.tf
in extra/eks-cidr2
24 -
2048_deployment-ng2.yml
in extra/sampleapp2
24 -
2048_deployment-ng1.yml
in extra/sampleapp2
24 -
subnets.tf
in primer/tflab2
24 -
aws_iam_role_policy__nodegroup-NodeInstanceRole-PolicyAutoScaling.tf
in iam
24 -
aws_route_table__private1.tf
in net
24 -
data-sg-c9-instance.tf
in c9net
23 -
rtb1-natgw-tgw.tf
in primer/tflab2
23 -
rtb2-igw.tf
in primer/tflab2
23 -
aws_iam_role_policy__nodegroup-NodeInstanceRole-PolicyEFSEC2.tf
in iam
23 -
null_post_policy.tf
in lb2
22 -
Files With Most Units (Top 0)
File# lines# units
Files With Long Lines (Top 20)

There are 33 files with lines longer than 120 characters. In total, there are 43 long lines.

File# lines# units# long lines
aws_iam_policy__CodeBuildBasePolicy-eks-cicd-build-app-eu-west-1.tf
in cicd
59 - 4
buildspec.yml
in sampleapp
125 - 2
buildspec-debug.yml
in sampleapp/notused
126 - 2
buildspec.yml
in extra/sampleapp2
126 - 2
sampleapp-deployment.tf
in extra/sampleapp2
88 - 2
aws_iam_policy__CodeBuildVpcPolicy-eks-cicd-build-app.tf
in cicd
40 - 2
null_resource.tf
in cluster
18 - 2
crds.yaml
in lb2/notused
185 - 2
sampleapp-ingress.tf
in sampleapp
20 - 1
sampleapp-deployment.tf
in sampleapp
45 - 1
sampleapp.tf
in sampleapp/notused
72 - 1
user_data.tf
in nodeg
16 - 1
ssm-param-ami.tf
in nodeg
3 - 1
user_data.tf
in extra/nodeg2
16 - 1
ssm-param-ami.tf
in extra/nodeg2
3 - 1
aws_iam_role_policy_attachment__AWSCodePipelineServiceRole-eu-west-1-pipe-eksworkshop-app__AWSCodePipelineServiceRole-pipe-eksworkshop-app.tf
in cicd
4 - 1
aws_iam_role_policy_attachment__codebuild-eks-cicd-build-app-service-role__CodeBuildBasePolicy-eks-cicd-build-app-eu-west-1.tf
in cicd
4 - 1
aws_iam_role_policy_attachment__codebuild-eks-cicd-build-app-service-role__CodeBuildVpcPolicy-eks-cicd-build-app-eu-west-1.tf
in cicd
4 - 1
null_idfile.tf
in tf-setup
32 - 1
null_destoy.tf
in lb2
22 - 1