Branch Coverage

lib/App/Tel/Color/Cisco.pm
Criterion Covered Total %
branch 22 44 50.0


line true false branch
18 1 4 if $val =~ /\D/
19 1 3 if ($val > 0)
49 0 1 if ($pwr < 30)
50 0 1 if ($pwr >= 30 and $pwr <= 33)
51 1 0 if ($pwr >= 33 and $pwr <= 45)
52 0 1 if ($pwr >= 45 and $pwr <= 50)
53 0 1 if ($pwr > 50)
60 0 1 if ($pwr < 20)
61 0 1 if ($pwr >= 20 and $pwr <= 25)
62 1 0 if ($pwr > 25)
71 0 1 if ($pwr < -15)
72 0 1 if ($pwr >= -15 and $pwr <= -9)
73 1 0 if ($pwr >= -9 and $pwr <= 9)
74 0 1 if ($pwr >= 9 and $pwr <= 15)
75 0 1 if ($pwr > 15)
82 0 1 if ($pwr eq '-----') { }
0 1 elsif ($pwr < 35) { }
0 1 elsif ($pwr >= 35 and $pwr <= 35) { }
1 0 elsif ($pwr > 35) { }
92 0 0 if ($cpu > 0)
93 0 0 if ($cpu > 1)
101 0 2 if ($_[0] eq 'up')