Branch Coverage

blib/lib/NBU/StorageUnit.pm
Criterion Covered Total %
branch 0 40 0.0


line true false branch
39 0 0 if (@_)
42 0 0 if (@_ and exists $types{$type = shift()}) { }
58 0 0 unless (defined $targetMaster)
81 0 0 unless ($hostName =~ /_STU_NO_DEV_HOST/)
89 0 0 if (defined(my $robot = $$stu{'ROBOT'} = 'NBU::Robot'->new($robotNumber, $robotType, undef))) { }
97 0 0 if ($type == 1) { }
0 0 elsif ($type == 2) { }
120 0 0 if (not defined $targetMaster) { }
122 0 0 unless exists $populated{$master->name}
127 0 0 unless exists $populated{$targetMaster->name}
130 0 0 if defined $su->master and $su->master == $targetMaster
141 0 0 if exists $stuList{$label}
143 0 0 if (not defined $targetMaster) { }
145 0 0 unless exists $populated{$master->name}
149 0 0 unless exists $populated{$targetMaster->name}
152 0 0 unless (exists $stuList{$label})
182 0 0 unless defined $su->host
184 0 0 unless (exists $names{$su->host->name})
202 0 0 if (@_)
247 0 0 if ($$self{'MAXPX'} == 1) { }