Condition Coverage

blib/lib/B/Utils.pm
Criterion Covered Total %
condition 31 87 35.6


and 2 conditions

line l !l condition
512 9775 65 $_[0] eq "${_}::" and return !1
912 784485 0 exists $condition->{$_} and not $op->can($_) and next

and 3 conditions

line !l l&&!r l&&r condition
140 0 0 0 $name eq 'null' && $targ
157 0 0 33418 ref $op and $$op
0 4424 28994 ref $op and $$op and $op->flags & 4
192 0 0 8 $] >= 5.021002 && exists &B::OP::parent
292 0 0 0 defined $siblings[-1] && ${$siblings[-1];}
0 0 0 @siblings and not defined $siblings[-1] && ${$siblings[-1];}
403 0 0 0 @_ == 1 && ref $_[0] eq 'HASH'
414 0 0 0 !defined($recursion_limit) || $recursion_limit > 0 and ref $op
0 0 0 !defined($recursion_limit) || $recursion_limit > 0 and ref $op and $$op
0 0 0 !defined($recursion_limit) || $recursion_limit > 0 and ref $op and $$op and $op->flags & 4
556 0 2898 3280 $cv->can('PADLIST') and $cv->PADLIST->can('ARRAY')
2898 5 3275 $cv->can('PADLIST') and $cv->PADLIST->can('ARRAY') and $cv->PADLIST->ARRAY->can('ARRAY')
571 0 0 6178 my $start = $cv->START and my $root = $cv->ROOT
622 0 46185 5520 ref $op and $op->isa('B::COP')
637 0 308 13 ref $maybe_root and $maybe_root->isa('B::OP')
676 0 579 52299 ref $op and $$op
579 27026 25273 ref $op and $$op and $op->flags & 4
682 0 25273 51594 ref $kid and $$kid
869 0 579 52299 ref $op and $$op
891 0 0 0 $op->can($_) || (next) and warn "${_}: " . $op->$_ . "\n"
912 732186 52299 0 exists $condition->{$_} and not $op->can($_)
948 0 0 0 $_ eq $val and $okay = 1, last

or 2 conditions

line l !l condition
86 0 8 $B::Utils::TRACE_FH ||= \*STDOUT
406 0 0 $attribs ||= ['name', 'flags']
891 0 0 $op->can($_) || (next)
939 0 0 $_ ne $val or next CONDITION

or 3 conditions

line l !l&&r !l&&!r condition
229 222 0 8163 $op->sibling->_parent_impl($target, "$cx$$op S ") || ($cx =~ /^(?:\d+ S )*(?:\d+ N )*$/ ? $op->next->_parent_impl($target, "$cx$$op N ") : ()) || ($op->can('first') ? $op->first->_parent_impl($target, "$cx$$op F ") : ())
414 0 0 0 !defined($recursion_limit) || $recursion_limit > 0
897 0 0 0 defined $op or wantarray