Branch Coverage

blib/lib/Cisco/SNMP/Line.pm
Criterion Covered Total %
branch 0 58 0.0


line true false branch
49 0 0 if (@_ == 1) { }
51 0 0 unless (defined($params{'lines'} = Cisco::SNMP::_get_range($params{'lines'})))
57 0 0 if (/^-?range$/i or /^-?line(?:s)?$/i)
58 0 0 unless (defined($params{'lines'} = Cisco::SNMP::_get_range($args{$_})))
65 0 0 unless (defined $params{'lines'})
67 0 0 unless (defined $params{'lines'})
75 0 0 if (defined $session->set_request(_trmsrvOID() . '.10.0', INTEGER(), $_)) { }
95 0 0 unless (defined $ret{$LINEKEYS[$oid]})
129 0 0 if ($_ == 1) { }
0 0 elsif ($_ == 5) { }
0 0 elsif ($_ == 6) { }
130 0 0 exists $LineTypes{$ret{$LINEKEYS[$_]}[$lines]} ? :
132 0 0 exists $LineFlow{$ret{$LINEKEYS[$_]}[$lines]} ? :
134 0 0 exists $LineModem{$ret{$LINEKEYS[$_]}[$lines]} ? :
158 0 0 unless (defined $ret{$SESSIONKEYS[$oid]})
186 0 0 if ($_ == 0) { }
0 0 elsif ($_ == 1) { }
187 0 0 exists $SessionTypes{$ret{$SESSIONKEYS[$_]}[$sess]} ? :
189 0 0 exists $SessionDir{$ret{$SESSIONKEYS[$_]}[$sess]} ? :
214 0 0 if (@_ == 1) { }
219 0 0 if (/^-?message$/i) { }
0 0 elsif (/^-?line(?:s)?$/i) { }
222 0 0 unless (defined($params{'lines'} = Cisco::SNMP::_get_range($args{$_})))
244 0 0 if (defined $response) { }
253 0 0 if ($lines[0] == -1)
263 0 0 if (not defined($response = $session->get_request(-'varbindlist', [_trmsrvOID() . '.1.0']))) { }
279 0 0 unless (defined $val)
294 0 0 unless (defined $val1)
295 0 0 unless (defined $val2)