aws-samples / aws-network-hub-for-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 52 files with 1,829 lines of code.
    • 0 very long files (0 lines of code)
    • 0 long files (0 lines of code)
    • 1 medium size files (228 lines of codeclsfd_ftr_w_mp_ins)
    • 1 small files (166 lines of code)
    • 50 very small files (1,435 lines of code)
0% | 0% | 12% | 9% | 78%
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% | 12% | 9% | 77%
tfvars0% | 0% | 0% | 0% | 100%
File Size per Logical Decomposition
primary
1001+
501-1000
201-500
101-200
1-100
ROOT0% | 0% | 71% | 0% | 28%
modules/network_firewall_vpc0% | 0% | 0% | 50% | 49%
example-spoke-vpc/modules/network0% | 0% | 0% | 0% | 100%
modules/dns0% | 0% | 0% | 0% | 100%
modules/vpc_endpoints0% | 0% | 0% | 0% | 100%
example-spoke-vpc0% | 0% | 0% | 0% | 100%
example-spoke-vpc/modules/dns0% | 0% | 0% | 0% | 100%
modules/tgw0% | 0% | 0% | 0% | 100%
modules/ipam0% | 0% | 0% | 0% | 100%
Longest Files (Top 50)
File# lines# units
main.tf
in root
228 -
vpc.tf
in modules/network_firewall_vpc
166 -
dns.tf
in modules/dns
91 -
flow_logs.tf
in example-spoke-vpc/modules/network
88 -
vpc.tf
in modules/vpc_endpoints
77 -
vpc.tf
in modules/dns
77 -
vpc.tf
in example-spoke-vpc/modules/network
74 -
endpoints.tf
in modules/vpc_endpoints
61 -
endpoints.tf
in example-spoke-vpc/modules/network
50 -
nfw.tf
in modules/network_firewall_vpc
48 -
tgw.tf
in modules/tgw
46 -
variables.tf
in modules/dns
46 -
dns.tf
in example-spoke-vpc/modules/dns
45 -
ipam.tf
in modules/ipam
44 -
variables.tf
in modules/vpc_endpoints
38 -
variables.tf
in modules/network_firewall_vpc
38 -
variables.tf
in example-spoke-vpc/modules/network
38 -
policy.tf
in modules/network_firewall_vpc
34 -
data.tf
in example-spoke-vpc/modules/dns
31 -
variables.tf
in example-spoke-vpc/modules/dns
30 -
provider.tf
in example-spoke-vpc
28 -
config.auto.tfvars
in example-spoke-vpc
27 -
data.tf
in example-spoke-vpc
27 -
config.auto.tfvars
in root
26 -
variables.tf
in modules/tgw
26 -
variables.tf
in example-spoke-vpc
26 -
main.tf
in example-spoke-vpc
24 -
variables.tf
in root
22 -
locals.tf
in modules/network_firewall_vpc
22 -
provider.tf
in example-spoke-vpc/modules/network
22 -
provider.tf
in example-spoke-vpc/modules/dns
22 -
outputs.tf
in modules/network_firewall_vpc
20 -
locals.tf
in example-spoke-vpc
18 -
provider.tf
in root
17 -
locals.tf
in root
16 -
locals.tf
in modules/vpc_endpoints
14 -
variables.tf
in modules/ipam
14 -
locals.tf
in modules/dns
14 -
locals.tf
in example-spoke-vpc/modules/network
14 -
flow_logs.tf
in modules/vpc_endpoints
13 -
flow_logs.tf
in modules/dns
13 -
outputs.tf
in modules/tgw
12 -
outputs.tf
in modules/ipam
10 -
data.tf
in root
7 -
data.tf
in example-spoke-vpc/modules/network
7 -
outputs.tf
in example-spoke-vpc/modules/network
6 -
outputs.tf
in root
2 -
outputs.tf
in modules/vpc_endpoints
2 -
data.tf
in modules/dns
2 -
backend.tf
in root
2 -
Files With Most Units (Top 0)
File# lines# units
Files With Long Lines (Top 6)

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

File# lines# units# long lines
locals.tf
in example-spoke-vpc
18 - 2
locals.tf
in root
16 - 1
config.auto.tfvars
in root
26 - 1
locals.tf
in modules/network_firewall_vpc
22 - 1
main.tf
in root
228 - 1
config.auto.tfvars
in example-spoke-vpc
27 - 1