Branch Coverage

blib/lib/HH/Unispool/Config/File/Token/Comment/Tail.pm
Criterion Covered Total %
branch 10 30 33.3


line true false branch
250 18 0 defined $_[0] ? :
253 0 18 unless ref $opt eq 'HASH'
256 0 18 unless exists $$opt{'host'}
270 0 0 unless (exists $ALLOW_ISA{$name} or exists $ALLOW_REF{$name} or exists $ALLOW_RX{$name} or exists $ALLOW_VALUE{$name})
278 0 26 if (ref $val and exists $ALLOW_ISA{$name})
280 0 0 if &UNIVERSAL::isa($val, $class)
285 0 26 if (ref $val and exists $ALLOW_REF{$name})
286 0 0 if exists $ALLOW_REF{$name}{ref $val}
290 26 0 if (defined $val and not ref $val and exists $ALLOW_RX{$name})
292 26 0 if $val =~ /$rx/
297 0 0 if (not ref $val and exists $ALLOW_VALUE{$name})
298 0 0 if exists $ALLOW_VALUE{$name}{$val}
321 0 8 unless defined $host
332 0 26 unless defined $val
335 0 26 unless &_value_is_allowed('host', $val)