aws-samples / hub-and-spoke-with-inspection-vpc-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,231 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 (230 lines of code)
    • 31 very small files (1,001 lines of code)
0% | 0% | 0% | 18% | 81%
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% | 18% | 81%
File Size per Logical Decomposition
primary
1001+
501-1000
201-500
101-200
1-100
ROOT0% | 0% | 0% | 41% | 58%
modules/vpc0% | 0% | 0% | 51% | 48%
modules/network_firewall0% | 0% | 0% | 0% | 100%
modules/inspection_vpc0% | 0% | 0% | 0% | 100%
modules/compute0% | 0% | 0% | 0% | 100%
modules/tgw0% | 0% | 0% | 0% | 100%
modules/spoke_vpc0% | 0% | 0% | 0% | 100%
modules/endpoints0% | 0% | 0% | 0% | 100%
modules/iam_roles0% | 0% | 0% | 0% | 100%
Longest Files (Top 33)
File# lines# units
main.tf
in root
124 -
variables.tf
in modules/vpc
106 -
policy.tf
in modules/network_firewall
87 -
main.tf
in modules/network_firewall
84 -
locals.tf
in root
79 -
main.tf
in modules/vpc
61 -
variables.tf
in modules/inspection_vpc
56 -
main.tf
in modules/endpoints
53 -
variables.tf
in modules/compute
49 -
variables.tf
in modules/tgw
48 -
variables.tf
in root
44 -
variables.tf
in modules/spoke_vpc
41 -
main.tf
in modules/iam_roles
41 -
main.tf
in modules/compute
39 -
outputs.tf
in modules/vpc
37 -
outputs.tf
in root
34 -
main.tf
in modules/tgw
34 -
main.tf
in modules/inspection_vpc
34 -
main.tf
in modules/spoke_vpc
32 -
variables.tf
in modules/network_firewall
22 -
data.tf
in modules/compute
18 -
providers.tf
in root
18 -
variables.tf
in modules/endpoints
14 -
outputs.tf
in modules/tgw
14 -
data.tf
in modules/inspection_vpc
14 -
outputs.tf
in modules/compute
8 -
outputs.tf
in modules/spoke_vpc
8 -
outputs.tf
in modules/network_firewall
6 -
outputs.tf
in modules/endpoints
6 -
outputs.tf
in modules/iam_roles
6 -
outputs.tf
in modules/inspection_vpc
6 -
locals.tf
in modules/inspection_vpc
5 -
data.tf
in root
3 -
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 8 long lines.

File# lines# units# long lines
main.tf
in root
124 - 5
main.tf
in modules/spoke_vpc
32 - 1
locals.tf
in modules/inspection_vpc
5 - 1
main.tf
in modules/inspection_vpc
34 - 1