Condition Coverage

blib/lib/Devel/Chitin/OpTree/LISTOP.pm
Criterion Covered Total %
condition 52 83 62.6


and 3 conditions

line !l l&&!r l&&r condition
51 664 0 23 $op->op->sibling->name eq 'unstack' and $op->op->sibling->sibling->isa('B::NULL')
78 29 12 6 $parent && $parent->is_null && $parent->op->flags & 128
83 0 29 18 $parent and $parent->is_null
29 12 6 $parent and $parent->is_null and $parent->op->flags & 128
160 0 0 17 @$children == 3 and $child1->op->name eq 'pushmark'
0 0 17 @$children == 3 and $child1->op->name eq 'pushmark' and $child2->op->name eq 'list' || $child2->_ex_name eq 'pp_list' || $child2->op->name eq 'padav'
0 0 17 @$children == 3 and $child1->op->name eq 'pushmark' and $child2->op->name eq 'list' || $child2->_ex_name eq 'pp_list' || $child2->op->name eq 'padav' and $aslice_hslice_allowed_ops{$child3->op->name}
218 10 9 68 $params{'is_printlike'} and not $is_stacked
19 3 65 $params{'is_printlike'} and not $is_stacked and @$children == 2
12 61 4 $params{'is_printlike'} and not $is_stacked and @$children == 2 and $children->[1]->deparse eq '$_'
452 0 0 0 $regex_op->op->flags & 128 && !@{$regex_op->children;}
467 0 0 0 not ref $pmreplroot and $pmreplroot > 0
567 0 1 2 $^V ge v5.16.0 and $self->op->private & 16

or 2 conditions

line l !l condition
19 47 359 $params{'skip'} || 0
74 47 0 $self->pp_lineseq(@_, 'skip', 1, %params) || ';'
341 5 1 $mode ||= 'O_RDONLY'
362 1 1 $flags ||= '0'

or 3 conditions

line l !l&&r !l&&!r condition
21 23 0 383 $children->[-1]->op->name eq 'unstack' or $children->[-1]->is_implicit_break_at_end_of_when_block
51 383 23 664 $op->op->sibling->isa('B::NULL') or $op->op->sibling->name eq 'unstack' and $op->op->sibling->sibling->isa('B::NULL')
23 0 664 $op->op->sibling->isa('B::NULL') or $op->op->sibling->name eq 'unstack' and $op->op->sibling->sibling->isa('B::NULL') or $op->next->is_implicit_break_at_end_of_when_block
160 12 5 0 $child2->op->name eq 'list' || $child2->_ex_name eq 'pp_list' || $child2->op->name eq 'padav'
174 2 2 13 $self->op->name eq 'kvhslice' || $self->op->name eq 'kvaslice'
431 0 2 4 $children->[0]->op->name eq 'pushre' or $children->[0]->op->name eq 'regcomp'
526 4 0 0 $addr_types{$children->[2]->deparse('skip_quotes', 1)} || $children->[2]->deparse
541 3 0 0 $sock_domains{$children->[2]->deparse('skip_quotes', 1)} || $children->[2]->deparse
543 3 0 0 $sock_types{$children->[3]->deparse('skip_quotes', 1)} || $children->[3]->deparse
552 2 0 0 $addr_types{$children->[3]->deparse('skip_quotes', 1)} || $children->[3]->deparse
554 2 0 0 $sock_types{$children->[4]->deparse('skip_quotes', 1)} || $children->[4]->deparse
556 1 1 0 $sock_domains{$children->[5]->deparse('skip_quotes', 1)} || $children->[5]->deparse