Condition Coverage

blib/lib/Code/Splice.pm
Criterion Covered Total %
condition 37 71 52.1


and 3 conditions

line !l l&&!r l&&r condition
86 0 5 1 $line and $op->line == $line
93 0 0 0 $line and $op->label eq $label
121 0 0 3 $newopfirst->has_sibling and $newopfirst->name eq 'nextstate'
153 0 129 419 $self and $$self
156 0 135 284 $sibl and $$sibl
201 0 23 91 $op and $$op
221 0 0 3 $prev_sibling and $$prev_sibling
222 0 1 2 $op->sibling and ${$op->sibling;}
226 0 3 0 $parent->can('first') and ${$parent->first;} == $$op
227 0 2 1 $parent->can('last') and ${$parent->last;} == $$op
239 3 0 85 $curcop and defined $codelines[$curcop->line]
254 1 0 2 $op->has_sibling and $op->name eq 'nextstate'
318 225 505 232 $op->can('flags') and $op->flags & 4
331 955 0 0 B::class($op) eq 'PMOP' and $op->pmreplroot
955 0 0 B::class($op) eq 'PMOP' and $op->pmreplroot and ${$op->pmreplroot;}
367 0 0 371 $op->can('sibling') and $op->sibling
0 69 302 $op->can('sibling') and $op->sibling and ${$op->sibling;}
374 147 0 124 $op->can('first') and $op->first
147 0 124 $op->can('first') and $op->first and ${$op->first;}

or 2 conditions

line l !l condition
59 1 2 delete $args{'preconditions'} || []
60 0 3 delete $args{'postconditions'} || []
99 3 0 *{$package . '::' . $method;}{'CODE'} || die('no such package/method')
133 0 0 $_ || '(undef)'
134 0 0 $_ || '(undef)'
143 0 0 $srcpad[$op->targ] || ''
313 950 15 $level ||= 0