Branch Coverage

blib/lib/HH/Unispool/Config/File/Token/Unnumbered/Filter.pm
Criterion Covered Total %
branch 18 42 42.8


line true false branch
300 9 0 defined $_[0] ? :
303 0 9 unless ref $opt eq 'HASH'
306 0 9 unless exists $$opt{'file'}
310 0 9 unless exists $$opt{'name'}
314 0 9 unless exists $$opt{'type'}
328 0 0 unless (exists $ALLOW_ISA{$name} or exists $ALLOW_REF{$name} or exists $ALLOW_RX{$name} or exists $ALLOW_VALUE{$name})
336 24 48 if (ref $val and exists $ALLOW_ISA{$name})
338 24 0 if &UNIVERSAL::isa($val, $class)
343 0 48 if (ref $val and exists $ALLOW_REF{$name})
344 0 0 if exists $ALLOW_REF{$name}{ref $val}
348 48 0 if (defined $val and not ref $val and exists $ALLOW_RX{$name})
350 48 0 if $val =~ /$rx/
355 0 0 if (not ref $val and exists $ALLOW_VALUE{$name})
356 0 0 if exists $ALLOW_VALUE{$name}{$val}
391 0 15 unless defined $name
405 0 24 unless defined $val
408 0 24 unless &_value_is_allowed('file', $val)
419 0 24 unless defined $val
422 0 24 unless &_value_is_allowed('name', $val)
433 0 24 unless defined $val
436 0 24 unless &_value_is_allowed('type', $val)