Branch Coverage

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


line true false branch
34 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]) { }
55 0 0 if ($type > 1)
58 0 0 if ($temp->[$_] == 0)
62 0 0 if (defined(my $result = $session->get_request(-'varbindlist', ['1.3.6.1.2.1.47.1.1.1.1.7.' . $temp->[$_]]))) { }
72 0 0 if ($type == 1) { }
0 0 elsif ($type == 2) { }
0 0 elsif ($type == 3) { }