Subroutine Coverage

lib/Net/ISP/Balance.pm
Criterion Covered Total %
subroutine 73 104 70.1
pod 60 70 85.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
59 1 n/a BEGIN
199 2 Yes new
345 0 Yes set_routes_and_firewall
367 0 No save_routing_and_firewall
396 0 No restore_routing_and_firewall
432 236 Yes verbose
447 216 Yes echo_only
463 10 Yes operating_mode
478 0 Yes dev_lookup_retries
492 0 Yes dev_lookup_retry_delay
508 0 Yes keep_custom_chains
529 214 Yes sh
567 163 Yes iptables
576 13 n/a _iptables_add_rule
593 0 No iptables_append
599 0 No iptables_delete
605 0 No iptables_check
611 0 No iptables_insert
660 13 Yes firewall_rule
667 13 No firewall_op
716 2 Yes force_route
746 1 Yes add_route
787 15 n/a _process_iptable_options
797 30 n/a _mark
811 30 Yes mark_table
814 2 n/a _service_or_device
841 3 Yes forward
883 0 Yes forward_with_snat
915 61 Yes ip_route
923 10 Yes ip_rule
933 0 Yes iptables_verbose
952 48 Yes service_names
964 20 Yes isp_services
977 21 Yes lan_services
997 0 Yes event
1061 0 Yes run_eventd
1083 6 Yes up
1133 49 Yes services
1143 0 Yes service
1173 194 Yes dev
1174 106 Yes ip
1175 9 Yes gw
1176 156 Yes net
1177 5 Yes running
1178 326 Yes role
1179 11 Yes fwmark
1180 54 Yes table
1181 3 Yes ping
1182 17 No weight
1185 881 n/a _service_field
1192 0 n/a _save_custom_chains
1206 0 n/a _restore_custom_chains
1230 7 Yes install_etc
1244 0 Yes default_conf_file
1258 2 Yes default_rules_directory
1274 2 Yes default_lsm_conf_file
1288 2 Yes default_lsm_scripts_dir
1299 0 Yes bal_conf_file
1312 3 Yes rules_directory
1325 0 Yes lsm_conf_file
1338 1 Yes lsm_scripts_dir
1378 1 No lsm_config_text
1433 2 n/a _parse_configuration_file
1476 0 n/a _collect_interfaces_retry
1489 2 n/a _collect_interfaces
1554 2 Yes interface_info
1637 2 n/a _ip_addr_show
1642 2 n/a _ip_route_show
1653 12 n/a _dhcp_gateway
1665 12 n/a _open_dhclient_leases
1677 12 n/a _find_dhclient_leases
1700 0 Yes set_routes
1714 0 Yes set_firewall
1731 1 Yes enable_forwarding
1743 2 No routing_rules
1760 0 n/a _initialize_routes
1773 1 n/a _create_default_multipath_route
1802 1 n/a _create_default_failover_route
1816 1 Yes preferred_service
1822 2 n/a _create_service_routing_tables
1844 1 Yes local_routing_rules
1859 1 Yes local_fw_rules
1874 0 Yes pre_run_rules
1889 0 Yes post_run_rules
1897 2 n/a _execute_rules_files
1925 0 n/a _initialize_firewall
1944 0 Yes base_fw_rules
2006 3 Yes balancing_fw_rules
2063 4 n/a _weight_to_probability
2094 1 Yes sanity_fw_rules
2159 1 n/a _lan_wan_forwarding_rules
2177 1 n/a _lan_lan_forwarding_rules
2194 24 n/a _allow_forwarding
2204 24 n/a _forwarding_groups
2239 0 Yes nat_fw_rules
2252 0 Yes start_lsm
2266 0 Yes signal_lsm