Branch Coverage

blib/lib/HH/Unispool/Config/File/Token/Numbered.pm
Criterion Covered Total %
branch 8 26 30.7


line true false branch
249 398 0 defined $_[0] ? :
252 0 398 unless ref $opt eq 'HASH'
255 398 0 if exists $$opt{'number'}
268 0 0 unless (exists $ALLOW_ISA{$name} or exists $ALLOW_REF{$name} or exists $ALLOW_RX{$name} or exists $ALLOW_VALUE{$name})
276 0 1259 if (ref $val and exists $ALLOW_ISA{$name})
278 0 0 if &UNIVERSAL::isa($val, $class)
283 0 1259 if (ref $val and exists $ALLOW_REF{$name})
284 0 0 if exists $ALLOW_REF{$name}{ref $val}
288 1259 0 if (defined $val and not ref $val and exists $ALLOW_RX{$name})
290 1259 0 if $val =~ /$rx/
295 0 0 if (not ref $val and exists $ALLOW_VALUE{$name})
296 0 0 if exists $ALLOW_VALUE{$name}{$val}
324 0 1259 unless &_value_is_allowed('number', $val)