Subroutine Coverage

lib/Net/ISP/Balance.pm
Criterion Covered Total %
subroutine 74 106 69.8
pod 61 72 84.7


line count pod subroutine
3 1 n/a BEGIN
4 1 n/a BEGIN
5 1 n/a BEGIN
6 1 n/a BEGIN
7 1 n/a BEGIN
9 1 n/a BEGIN
10 1 n/a BEGIN
60 1 n/a BEGIN
200 2 Yes new
346 0 Yes set_routes_and_firewall
368 0 No save_routing_and_firewall
397 0 No restore_routing_and_firewall
433 252 Yes verbose
448 232 Yes echo_only
470 10 Yes operating_mode
485 0 Yes dev_lookup_retries
499 0 Yes dev_lookup_retry_delay
515 0 Yes keep_custom_chains
536 230 Yes sh
574 164 Yes iptables
583 13 n/a _iptables_add_rule
600 0 No iptables_append
606 0 No iptables_delete
612 0 No iptables_check
618 0 No iptables_insert
667 13 Yes firewall_rule
674 13 No firewall_op
723 2 Yes force_route
753 1 Yes add_route
794 15 n/a _process_iptable_options
804 30 n/a _mark
818 30 Yes mark_table
821 2 n/a _service_or_device
848 3 Yes forward
890 0 Yes forward_with_snat
922 66 Yes ip_route
930 15 Yes ip_rule
940 0 Yes iptables_verbose
959 48 Yes service_names
971 20 Yes isp_services
984 21 Yes lan_services
1004 0 Yes event
1068 0 Yes run_eventd
1090 6 Yes up
1140 49 Yes services
1150 0 Yes service
1180 73 Yes dev
1181 129 No vdev
1182 106 Yes ip
1183 9 Yes gw
1184 156 Yes net
1185 5 Yes running
1186 326 Yes role
1187 11 Yes fwmark
1188 64 Yes table
1189 3 Yes ping
1190 17 No weight
1193 899 n/a _service_field
1200 0 n/a _save_custom_chains
1214 0 n/a _restore_custom_chains
1238 7 Yes install_etc
1252 0 Yes default_conf_file
1266 2 Yes default_rules_directory
1282 2 Yes default_lsm_conf_file
1296 2 Yes default_lsm_scripts_dir
1307 0 Yes bal_conf_file
1320 3 Yes rules_directory
1333 0 Yes lsm_conf_file
1346 1 Yes lsm_scripts_dir
1386 1 No lsm_config_text
1443 2 n/a _parse_configuration_file
1486 0 n/a _collect_interfaces_retry
1499 2 n/a _collect_interfaces
1565 2 Yes interface_info
1649 2 n/a _ip_addr_show
1654 2 n/a _ip_route_show
1665 12 n/a _dhcp_gateway
1677 12 n/a _open_dhclient_leases
1689 12 n/a _find_dhclient_leases
1712 0 Yes set_routes
1726 0 Yes set_firewall
1743 1 Yes enable_forwarding
1755 2 No routing_rules
1772 0 n/a _initialize_routes
1785 1 n/a _create_default_multipath_route
1814 1 n/a _create_default_failover_route
1828 1 Yes preferred_service
1834 2 n/a _create_service_routing_tables
1858 1 Yes local_routing_rules
1873 1 Yes local_fw_rules
1888 0 Yes pre_run_rules
1903 0 Yes post_run_rules
1911 2 n/a _execute_rules_files
1939 0 n/a _initialize_firewall
1958 0 Yes base_fw_rules
2020 3 Yes balancing_fw_rules
2077 4 n/a _weight_to_probability
2108 1 Yes sanity_fw_rules
2178 1 n/a _lan_wan_forwarding_rules
2196 1 n/a _lan_lan_forwarding_rules
2213 24 n/a _allow_forwarding
2223 24 n/a _forwarding_groups
2258 0 Yes nat_fw_rules
2271 0 Yes start_lsm
2285 0 Yes lsm_pid_path
2295 0 Yes signal_lsm