Branch Coverage

blib/lib/X500/DN/Marpa.pm
Criterion Covered Total %
branch 44 60 73.3


line true false branch
344 409 259 if ($ref_type eq 'ARRAY') { }
132 127 elsif ($ref_type eq 'HASH') { }
0 127 elsif ($ref_type) { }
382 7 66 if ($temp[$i]{'multivalued'}) { }
7 59 elsif ($multivalued) { }
431 31 0 if defined $string
456 0 31 if ($text_length != $read_length)
461 0 31 if ($self->recce->exhausted) { }
1 30 elsif (my $status = $self->recce->ambiguous) { }
468 0 0 if ($self->options & exhaustion_is_fatal()) { }
478 0 0 if $self->options & print_warnings()
484 0 1 if $#$terminals < 0
490 0 1 if ($self->options & ambiguity_is_fatal()) { }
0 1 elsif ($self->options & print_warnings()) { }
510 30 1 if (defined $value_ref) { }
521 0 259 unless defined $item
522 120 139 if $item =~ /^[=,; ]$/
524 7 132 if ($item eq '+')
547 66 66 if ($count % 2 == 1) { }
549 0 66 $long_form && $descriptors{$value} ? :
553 1 65 if ($hex_as_char and substr($value, 0, 1) eq '#')
579 0 1 if $self->options & print_errors()
586 0 0 if $self->options & print_errors()
603 1 24 $n < 0 || $n > $#rdn ? :
615 1 21 $n < 0 || $n > $#rdn ? :
637 1 21 $n < 0 || $n > $#rdn ? :
651 1 25 if $n < 0 or $n > $#rdn
658 32 30 if $i % 2 == 0
674 21 1 if ($n >= 0 and $n <= $#rdn)
696 38 49 if $rdn->{'type'} eq $type