Branch Coverage

blib/lib/PPIx/Regexp/Util.pm
Criterion Covered Total %
branch 19 38 50.0


line true false branch
40 0 11 unless __instance($elem, "PPI::Element")
57 0 538 if (defined $arg->{'parse'})
60 0 0 if {"guess", 1, "string", 1}->{$arg->{'parse'}}
69 32117 23759 unless &blessed($object)
75 0 67 unless $PPIx::Regexp::Util::a->[0] <=> $PPIx::Regexp::Util::b->[0]
77 2 28 defined $_->{'removed'} ? :
82 11 0 if (@work)
86 0 11 unless defined $intro
88 0 11 unless defined $rem
90 11 0 if $intro != $rem
98 9 0 if @rslt and $rslt[-1]{'removed'} == "Inf"
106 0 252 defined &$fqn ? :
112 0 8 unless (defined($self->{'error'} = $arg{'error'}))
120 0 8 defined $arg{'explanation'} ? :
133 0 1 if 1 == int $num % 100 / 10
135 1 0 if 1 == $num % 10
137 0 0 if 2 == $num % 10
139 0 0 if 3 == $num % 10
148 636 91 unless $next_sib = $self->snext_sibling and $code = $next_sib->can("__quantified_width")