Branch Coverage

blib/lib/FusionInventory/Agent/Task/Inventory/Solaris/Bios.pm
Criterion Covered Total %
branch 8 28 28.5


line true false branch
24 0 0 $FusionInventory::Agent::Task::Inventory::Solaris::Bios::Config{'archname'} =~ /^i86pc/ ? :
28 0 0 if (getZone() eq 'global') { }
29 0 0 if (canRun('showrev'))
35 0 0 if ($arch eq 'i386') { }
55 0 0 if ($info)
58 0 0 if ($root->{'openprom'}{'version'} =~ m[OBP \s+ ([\d.]+) \s+ (\d{4})/(\d{2})/(\d{2})]x)
65 0 0 -x '/opt/SUNWsneep/bin/sneep' ? :
83 0 0 if ($arch eq 'sparc')
102 0 5 unless $handle
106 7 33 unless $line =~ /^ ([^:]+) : \s+ (\S+)/x
121 0 2 unless $handle
125 6 96 if ($line =~ /^ \d+ \s+ \d+ \s+ (\S+)/x)
130 52 44 if ($line =~ /^ \s* ([^:]+) : \s* (.+) $/x)
147 0 0 unless $line