Condition Coverage

blib/lib/PPIx/Regexp/Dumper.pm
Criterion Covered Total %
condition 33 71 46.4


and 3 conditions

line !l l&&!r l&&r condition
234 1 0 0 ref $re and not __instance($re, "PPI::Element")
370 20 0 0 $self->{'ppi'} and $elem->can("ppi")
428 0 0 0 "ARRAY" eq ref $val and not @{$val;}
711 5 0 0 $dumper->{'explain'} and not defined $self->error
833 4 8 8 $dumper->{'ordinal'} and $self->can("ordinal")
12 0 8 $dumper->{'ordinal'} and $self->can("ordinal") and defined(my $ord = $self->ordinal)
850 0 11 16 $self->can($method) and $self->$method

or 2 conditions

line l !l condition
549 1 2 $depth ||= 0
656 5 0 $depth ||= 0
773 0 1 $depth ||= 0
788 13 7 $depth ||= 0

or 3 conditions

line l !l&&r !l&&!r condition
232 1 3 2 $self->{'ordinal'} ||= $self->{'verbose'}
411 1 0 0 not $self->{'significant'} or $elem->significant
415 7 0 0 not $self->{'significant'} or $token->significant
490 1 0 0 not $self->{'significant'} or $elem->significant
501 9 0 0 not $self->{'significant'} or $token->significant
530 1 0 0 not $dumper->{'significant'} or $self->significant
554 3 0 0 not $dumper->{'significant'} or $self->significant
596 2 0 0 not $dumper->{'significant'} or $self->significant
658 5 0 0 not $dumper->{'significant'} or $self->significant
727 2 0 0 not $dumper->{'significant'} or $self->significant
758 4 0 0 ref $elem || $elem
791 20 0 0 not $dumper->{'significant'} or $self->significant
858 1 0 8 $self->isa("PPIx::Regexp::Token::Modifier") or $self->isa("PPIx::Regexp::Token::GroupType::Modifier")
882 14 0 0 not $dumper->{'significant'} or $self->significant