Branch Coverage

blib/lib/HH/Unispool/Config/Entry.pm
Criterion Covered Total %
branch 11 32 34.3


line true false branch
233 288 0 defined $_[0] ? :
236 0 288 unless ref $opt eq 'HASH'
239 0 288 unless exists $$opt{'name'}
250 0 0 unless (exists $ALLOW_ISA{$name} or exists $ALLOW_REF{$name} or exists $ALLOW_RX{$name} or exists $ALLOW_VALUE{$name})
258 0 288 if (ref $val and exists $ALLOW_ISA{$name})
260 0 0 if &UNIVERSAL::isa($val, $class)
265 0 288 if (ref $val and exists $ALLOW_REF{$name})
266 0 0 if exists $ALLOW_REF{$name}{ref $val}
270 288 0 if (defined $val and not ref $val and exists $ALLOW_RX{$name})
272 288 0 if $val =~ /$rx/
277 0 0 if (not ref $val and exists $ALLOW_VALUE{$name})
278 0 0 if exists $ALLOW_VALUE{$name}{$val}
294 0 67 if (ref $from ne ref $to)
305 0 67 if ($from->get_name ne $to->get_name)
327 0 288 unless defined $val
330 0 288 unless &_value_is_allowed('name', $val)