aws-solutions / aws-network-firewall-deployment-automations-for-aws-transit-gateway
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 15 files with 2,239 lines of code.
    • 1 very long files (1,017 lines of code)
    • 0 long files (0 lines of code)
    • 2 medium size files (617 lines of codeclsfd_ftr_w_mp_ins)
    • 2 small files (284 lines of code)
    • 10 very small files (321 lines of code)
45% | 0% | 27% | 12% | 14%
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
ts45% | 0% | 27% | 12% | 13%
js0% | 0% | 0% | 0% | 100%
File Size per Logical Decomposition
primary
1001+
501-1000
201-500
101-200
1-100
source/lib100% | 0% | 0% | 0% | 0%
source/networkFirewallAutomation/lib0% | 0% | 77% | 22% | 0%
source/networkFirewallAutomation/lib/service0% | 0% | 73% | 0% | 26%
source/networkFirewallAutomation/lib/common0% | 0% | 0% | 60% | 39%
source/networkFirewallAutomation0% | 0% | 0% | 0% | 100%
source/networkFirewallAutomation/lib/common/configReader0% | 0% | 0% | 0% | 100%
source0% | 0% | 0% | 0% | 100%
Longest Files (Top 15)
File# lines# units
network-firewall-automation-solution-stack.ts
in source/lib
1017 1
network-firewall-manager.ts
in source/networkFirewallAutomation/lib
382 13
network-firewall-service.ts
in source/networkFirewallAutomation/lib/service
235 18
firewall-config-validation.ts
in source/networkFirewallAutomation/lib/common
176 6
ec2-manager.ts
in source/networkFirewallAutomation/lib
108 5
ec2-service.ts
in source/networkFirewallAutomation/lib/service
69 5
send-metrics.ts
in source/networkFirewallAutomation/lib/common
64 2
index.ts
in source/networkFirewallAutomation
56 1
stringUtils.ts
in source/networkFirewallAutomation/lib/common
28 2
config-reader.ts
in source/networkFirewallAutomation/lib/common/configReader
27 -
logger.ts
in source/networkFirewallAutomation/lib/common
21 1
awsClientConfig.ts
in source/networkFirewallAutomation/lib/service
17 -
jest.config.js
in source/networkFirewallAutomation
14 -
jest.config.js
in source
13 -
build.ts
in source/networkFirewallAutomation
12 1
Files With Most Units (Top 11)
File# lines# units
network-firewall-service.ts
in source/networkFirewallAutomation/lib/service
235 18
network-firewall-manager.ts
in source/networkFirewallAutomation/lib
382 13
firewall-config-validation.ts
in source/networkFirewallAutomation/lib/common
176 6
ec2-service.ts
in source/networkFirewallAutomation/lib/service
69 5
ec2-manager.ts
in source/networkFirewallAutomation/lib
108 5
send-metrics.ts
in source/networkFirewallAutomation/lib/common
64 2
stringUtils.ts
in source/networkFirewallAutomation/lib/common
28 2
network-firewall-automation-solution-stack.ts
in source/lib
1017 1
logger.ts
in source/networkFirewallAutomation/lib/common
21 1
index.ts
in source/networkFirewallAutomation
56 1
build.ts
in source/networkFirewallAutomation
12 1
Files With Long Lines (Top 9)

There are 9 files with lines longer than 120 characters. In total, there are 63 long lines.

File# lines# units# long lines
network-firewall-automation-solution-stack.ts
in source/lib
1017 1 24
network-firewall-manager.ts
in source/networkFirewallAutomation/lib
382 13 13
network-firewall-service.ts
in source/networkFirewallAutomation/lib/service
235 18 9
firewall-config-validation.ts
in source/networkFirewallAutomation/lib/common
176 6 7
logger.ts
in source/networkFirewallAutomation/lib/common
21 1 3
index.ts
in source/networkFirewallAutomation
56 1 3
ec2-manager.ts
in source/networkFirewallAutomation/lib
108 5 2
send-metrics.ts
in source/networkFirewallAutomation/lib/common
64 2 1
stringUtils.ts
in source/networkFirewallAutomation/lib/common
28 2 1