Branch Coverage

blib/lib/NBU/Class.pm
Criterion Covered Total %
branch 0 174 0.0


line true false branch
31 0 0 if (@_)
36 0 0 if (not exists $classRoom{$name}) { }
0 0 elsif (not defined($class = $classRoom{$name}) or $$class{'TYPE'} ne $type) { }
88 0 0 ref $proto ? :
91 0 0 unless (defined $master)
97 0 0 defined $self ? :
100 0 0 defined $self ? :
120 0 0 if (/^CLASS/)
130 0 0 if (/^NAMES/)
133 0 0 if (/^INFO/)
153 0 0 if (/^KEY /)
155 0 0 unless $keys[0] eq '*NULL*'
158 0 0 if (/^BCMD /)
161 0 0 if (/^RCMD /)
164 0 0 if (/^RES /)
166 0 0 unless $residences[0] eq '*NULL*'
169 0 0 if (/^POOL /)
171 0 0 unless $pools[0] eq '*NULL*'
174 0 0 if (/^CLIENT /)
179 0 0 if $focus =~ /CLIENT|ALL/
182 0 0 if (/^INCLUDE /)
187 0 0 if (/^EXCLUDE /)
192 0 0 if (/^SCHED /)
205 0 0 unless $rollCalled
206 0 0 if (my $class = $classRoom{$name})
215 0 0 unless $rollCalled
255 0 0 unless $$self{'LOADED'}
257 0 0 defined $clientListR ? :
271 0 0 unless defined $newSchedule
272 0 0 if ($self->policyAware and $newSchedule->type eq 'UBAK') { }
273 0 0 unless (defined $$self{'POLICIES'})
279 0 0 unless (defined $$self{'SCHEDULES'})
293 0 0 unless $$self{'LOADED'}
295 0 0 defined $schedulesR ? :
300 0 0 ref $proto ? :
302 0 0 unless $$self{'LOADED'}
304 0 0 defined $policiesR ? :
310 0 0 unless $$self{'LOADED'}
311 0 0 if (@_)
312 0 0 unless (defined $$self{'EXCLUDE'})
322 0 0 defined $excludeListR ? :
328 0 0 unless $$self{'LOADED'}
329 0 0 if (@_)
330 0 0 unless (defined $$self{'INCLUDE'})
340 0 0 defined $includeListR ? :
346 0 0 unless $$self{'LOADED'}
347 0 0 if (@_)
348 0 0 if $$self{'POOL'}
358 0 0 unless $$self{'LOADED'}
359 0 0 if (@_)
360 0 0 if $$self{'RESIDENCE'}
385 0 0 unless $$self{'LOADED'}
392 0 0 unless $$self{'LOADED'}
393 0 0 if (@_)
396 0 0 unless defined $classTypes{$$self{'TYPE'}}
410 0 0 unless $$self{'LOADED'}
411 0 0 if (@_)
420 0 0 unless $$self{'LOADED'}
421 0 0 if (@_)
430 0 0 unless $$self{'LOADED'}
431 0 0 if (@_)
440 0 0 unless $$self{'LOADED'}
441 0 0 if (@_)
450 0 0 unless $$self{'LOADED'}
451 0 0 if (@_)
460 0 0 unless $$self{'LOADED'}
461 0 0 if (@_)
475 0 0 unless $$self{'LOADED'}
476 0 0 if (@_)
485 0 0 unless $$self{'LOADED'}
486 0 0 if (@_)
495 0 0 unless $$self{'LOADED'}
496 0 0 if (@_)
505 0 0 unless $$self{'LOADED'}
506 0 0 if (@_)
515 0 0 unless $$self{'LOADED'}
516 0 0 if (@_)
525 0 0 unless $$self{'LOADED'}
526 0 0 if (@_)
528 0 0 if ($newState and not $$self{'ACTIVE'} or not $newState and $$self{'ACTIVE'})
529 0 0 if ($$self{'ACTIVE'} = $newState) { }
543 0 0 if (@_)
544 0 0 if (defined $$self{'NAME'})
556 0 0 unless $$self{'LOADED'}
557 0 0 if (@_)
575 0 0 unless (defined $$self{'IMAGES'})
581 0 0 if $image->class == $self