Branch Coverage

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


line true false branch
51 0 0 if (@_ == 1) { }
53 0 0 unless (defined($params{'lines'} = Cisco::SNMP::_get_range($params{'lines'})))
62 0 0 if (/^-?range$/i or /^-?line(?:s)?$/i)
63 0 0 unless (defined($params{'lines'} = Cisco::SNMP::_get_range($args{$_})))
73 0 0 unless (defined $params{'lines'})
76 0 0 unless (defined $params{'lines'})
84 0 0 if (defined $session->set_request(_trmsrvOID() . '.10.0', INTEGER(), $_)) { }
106 0 0 unless (defined $ret{$LINEKEYS[$oid]})
141 0 0 if ($_ == 1) { }
0 0 elsif ($_ == 5) { }
0 0 elsif ($_ == 6) { }
145 0 0 exists $LineTypes{$ret{$LINEKEYS[$_]}[$lines]} ? :
150 0 0 exists $LineFlow{$ret{$LINEKEYS[$_]}[$lines]} ? :
155 0 0 exists $LineModem{$ret{$LINEKEYS[$_]}[$lines]} ? :
180 0 0 unless (defined $ret{$SESSIONKEYS[$oid]})
209 0 0 if ($_ == 0) { }
0 0 elsif ($_ == 1) { }
213 0 0 exists $SessionTypes{$ret{$SESSIONKEYS[$_]}[$sess]} ? :
218 0 0 exists $SessionDir{$ret{$SESSIONKEYS[$_]}[$sess]} ? :
245 0 0 if (@_ == 1) { }
250 0 0 if (/^-?message$/i) { }
0 0 elsif (/^-?line(?:s)?$/i) { }
253 0 0 unless (defined($params{'lines'} = Cisco::SNMP::_get_range($args{$_})))
290 0 0 if (defined $response) { }
300 0 0 if ($lines[0] == -1)
310 0 0 if (not defined($response = $session->get_request('-varbindlist', [_trmsrvOID() . '.1.0']))) { }
331 0 0 unless (defined $val)
345 0 0 unless (defined $val1)
346 0 0 unless (defined $val2)