Branch Coverage

blib/lib/Cisco/SNMP/CPU.pm
Criterion Covered Total %
branch 0 18 0.0


line true false branch
35 0 0 if ($cpu5min = Cisco::SNMP::_snmpwalk($session, '1.3.6.1.4.1.9.9.109.1.1.1.1.8') and defined $cpu5min->[0]) { }
0 0 elsif ($cpu5min = Cisco::SNMP::_snmpwalk($session, '1.3.6.1.4.1.9.9.109.1.1.1.1.5') and defined $cpu5min->[0]) { }
0 0 elsif ($cpu5min = Cisco::SNMP::_snmpwalk($session, '1.3.6.1.4.1.9.2.1.58') and defined $cpu5min->[0]) { }
75 0 0 if ($type > 1)
79 0 0 if ($temp->[$_] == 0)
83 0 0 if (defined(my $result = $session->get_request('-varbindlist', ['1.3.6.1.2.1.47.1.1.1.1.7.' . $temp->[$_]]))) { }
101 0 0 if ($type == 1) { }
0 0 elsif ($type == 2) { }
0 0 elsif ($type == 3) { }