Branch Coverage

lib/App/Tel/Color/Cisco.pm
Criterion Covered Total %
branch 44 54 81.4


line true false branch
19 2 5 unless &looks_like_number($val)
20 1 4 if ($val > 0)
57 0 6 if ($pwr < 30) { }
1 5 elsif ($pwr >= 30 and $pwr <= 33) { }
1 4 elsif ($pwr >= 33 and $pwr <= 45) { }
1 3 elsif ($pwr >= 45 and $pwr <= 50) { }
3 0 elsif ($pwr > 50) { }
68 1 5 if ($snr < 20) { }
1 4 elsif ($snr >= 20 and $snr <= 25) { }
4 0 elsif ($snr > 25) { }
79 1 5 if ($pwr < -15) { }
1 4 elsif ($pwr >= -15 and $pwr <= -9) { }
1 3 elsif ($pwr >= -9 and $pwr <= 9) { }
1 2 elsif ($pwr >= 9 and $pwr <= 15) { }
2 0 elsif ($pwr > 15) { }
92 1 5 if ($snr eq '-----') { }
1 4 elsif ($snr < 35) { }
1 3 elsif ($snr >= 35 and $snr <= 35) { }
3 0 elsif ($snr > 35) { }
102 2 4 if ($cpu > 0)
103 1 5 if ($cpu > 1)
111 1 1 if ($_[0] eq 'up')
153 0 24 if ($text =~ /^(ip|ipv6) route /) { }
0 24 elsif ($text =~ /^aaa/) { }
0 24 elsif ($text =~ /^(?:(?:no )?tacacs-server|radius-server|ntp)/) { }
0 24 elsif ($text =~ /^(?:mac )?access-list/) { }
0 24 elsif ($text =~ /^snmp-server/) { }