Branch Coverage

blib/lib/HH/Unispool/Config/File/Token/Unnumbered/CsBcs.pm
Criterion Covered Total %
branch 9 28 32.1


line true false branch
249 7 0 defined $_[0] ? :
252 0 7 unless ref $opt eq 'HASH'
255 0 7 unless exists $$opt{'hostname'}
269 0 0 unless (exists $ALLOW_ISA{$name} or exists $ALLOW_REF{$name} or exists $ALLOW_RX{$name} or exists $ALLOW_VALUE{$name})
277 0 23 if (ref $val and exists $ALLOW_ISA{$name})
279 0 0 if &UNIVERSAL::isa($val, $class)
284 0 23 if (ref $val and exists $ALLOW_REF{$name})
285 0 0 if exists $ALLOW_REF{$name}{ref $val}
289 23 0 if (defined $val and not ref $val and exists $ALLOW_RX{$name})
291 23 0 if $val =~ /$rx/
296 0 0 if (not ref $val and exists $ALLOW_VALUE{$name})
297 0 0 if exists $ALLOW_VALUE{$name}{$val}
319 0 23 unless defined $val
322 0 23 unless &_value_is_allowed('hostname', $val)