Branch Coverage

blib/lib/HH/Unispool/Config/File/Token/Numbered/X.pm
Criterion Covered Total %
branch 22 48 45.8


line true false branch
355 81 0 defined $_[0] ? :
358 0 81 unless ref $opt eq 'HASH'
361 81 0 if exists $$opt{'filter_name'}
364 73 8 if exists $$opt{'header_name'}
367 36 45 if exists $$opt{'profile_name'}
370 73 8 if exists $$opt{'trailer_name'}
383 0 0 unless (exists $ALLOW_ISA{$name} or exists $ALLOW_REF{$name} or exists $ALLOW_RX{$name} or exists $ALLOW_VALUE{$name})
391 0 971 if (ref $val and exists $ALLOW_ISA{$name})
393 0 0 if &UNIVERSAL::isa($val, $class)
398 0 971 if (ref $val and exists $ALLOW_REF{$name})
399 0 0 if exists $ALLOW_REF{$name}{ref $val}
403 971 0 if (not ref $val and exists $ALLOW_RX{$name})
405 971 0 if $val =~ /$rx/
410 0 0 if (not ref $val and exists $ALLOW_VALUE{$name})
411 0 0 if exists $ALLOW_VALUE{$name}{$val}
452 0 177 unless defined $number
461 177 0 if defined $profile_name
462 177 0 if defined $header_name
463 177 0 if defined $trailer_name
464 177 0 if defined $filter_name
472 0 258 unless &_value_is_allowed('filter_name', $val)
483 0 250 unless &_value_is_allowed('header_name', $val)
494 0 213 unless &_value_is_allowed('profile_name', $val)
505 0 250 unless &_value_is_allowed('trailer_name', $val)