Branch Coverage

blib/lib/NBU/Host.pm
Criterion Covered Total %
branch 0 100 0.0


line true false branch
36 0 0 if (@_)
38 0 0 if exists $aliases{$name}
42 0 0 unless ($host = $hostList{$keyName})
76 0 0 if (my $host = $hostList{$keyName})
97 0 0 if (@_)
106 0 0 if (@_)
127 0 0 unless (defined $$self{'CLASSES'})
140 0 0 unless $$self{'ENROLLED'}
143 0 0 if (defined $classesR)
158 0 0 if $$self{'CONFIGLOADED'}
167 0 0 unless (defined($_ = <$pipe>))
168 0 0 if (/Client of ([\S]+)/) { }
177 0 0 unless (defined($_ = <$pipe>))
178 0 0 if (/^([\S]+), ([\S]+)$/) { }
189 0 0 unless (defined($_ = <$pipe>))
193 0 0 unless (defined($_ = <$pipe>))
195 0 0 if (defined($_ = <$pipe>))
200 0 0 if (defined($_ = <$pipe>) and not $_ =~ /^[\s]*$/) { }
208 0 0 if ($self->releaseID >= '450000')
210 0 0 unless defined($_ = <$pipe>)
212 0 0 unless defined($_ = <$pipe>)
225 0 0 if (/SERVER = ([\S]+)/ and not defined $$self{'MASTER'})
228 0 0 if (/EMMSERVER = ([\S]+)/)
236 0 0 unless (defined($_ = <$pipe>))
238 0 0 if (/$self->name/i)
245 0 0 if ($detailAvailable)
247 0 0 unless (defined($_ = <$pipe>))
269 0 0 if (@_) { }
282 0 0 if (@_) { }
295 0 0 if (@_) { }
315 0 0 unless (defined $$self{'IPADDRESS'})
327 0 0 if (@_) { }
340 0 0 if (@_) { }
359 0 0 if (not $loadOK) { }
0 0 elsif ($loadOK and not /^[\s]*$/ and not / Exit status/) { }
360 0 0 if (/^CLIENT: $name/)
362 0 0 if /Mount Point/ or /Drive Letter/
374 0 0 if ($self->os =~ /rs6000_42|SunOS|[Ss]olaris|linux|hp10.20/) { }
0 0 elsif ($self->os =~ /Windows(NET|NT|2000|2003|XP)/) { }
379 0 0 unless $deviceFile =~ m[^/]
381 0 0 if ($className eq 'UNCOVERED') { }
387 0 0 unless ($clR)
401 0 0 if ($self->releaseID eq '451000' and defined $$self{'MEDIASERVER'})
405 0 0 if ($className eq 'UNCOVERED') { }
411 0 0 unless ($clR)
415 0 0 unless defined $class
436 0 0 unless ($$self{'COVERAGE'})
450 0 0 unless defined $$self{'IMAGES'}
462 0 0 unless (defined $$self{'ALLIMAGES'})
473 0 0 if (defined(my $images = $$self{'IMAGES'})) { }