Branch Coverage

blib/lib/HH/Unispool/Config/File/Token/Comment/Scope.pm
Criterion Covered Total %
branch 8 30 26.6


line true false branch
250 18 0 defined $_[0] ? :
253 0 18 unless ref $opt eq 'HASH'
256 0 18 unless exists $$opt{'scope'}
270 0 0 unless (exists $ALLOW_ISA{$name} or exists $ALLOW_REF{$name} or exists $ALLOW_RX{$name} or exists $ALLOW_VALUE{$name})
278 26 0 if (ref $val and exists $ALLOW_ISA{$name})
280 26 0 if &UNIVERSAL::isa($val, $class)
285 0 0 if (ref $val and exists $ALLOW_REF{$name})
286 0 0 if exists $ALLOW_REF{$name}{ref $val}
290 0 0 if (defined $val and not ref $val and exists $ALLOW_RX{$name})
292 0 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 $scope
333 0 26 unless defined $val
336 0 26 unless &_value_is_allowed('scope', $val)