Branch Coverage

blib/lib/HH/Unispool/Config/OS.pm
Criterion Covered Total %
branch 12 30 40.0


line true false branch
348 92 0 defined $_[0] ? :
351 0 92 unless ref $opt eq 'HASH'
354 0 92 unless exists $$opt{'os'}
365 0 92 unless (exists $ALLOW_ISA{$name} or exists $ALLOW_REF{$name} or exists $ALLOW_RX{$name} or exists $ALLOW_VALUE{$name})
373 0 92 if (ref $val and exists $ALLOW_ISA{$name})
375 0 0 if &UNIVERSAL::isa($val, $class)
380 0 92 if (ref $val and exists $ALLOW_REF{$name})
381 0 0 if exists $ALLOW_REF{$name}{ref $val}
385 0 92 if (defined $val and not ref $val and exists $ALLOW_RX{$name})
387 0 0 if $val =~ /$rx/
392 92 0 if (not ref $val and exists $ALLOW_VALUE{$name})
393 92 0 if exists $ALLOW_VALUE{$name}{$val}
409 0 15 if (ref $from ne ref $to)
420 0 15 if ($from->get_os ne $to->get_os)
442 0 92 unless &_value_is_allowed('os', $val)