Condition Coverage

lib/B/DeparseTree/SyntaxTree.pm
Criterion Covered Total %
condition 26 50 52.0


and 3 conditions

line !l l&&!r l&&r condition
50 764 0 0 ref $item eq 'ARRAY' and scalar @$item == 2
61 401 0 363 @result and $sep
74 4248 0 5351 ref $item eq 'ARRAY' and scalar @$item == 2
157 97881 0 0 ref $item eq 'ARRAY' and scalar @$item == 2
162 3906 46094 0 not exists $item->{'texts'} and exists $item->{'text'}
204 46 121 14 $text and $sep
224 0 4 0 exists $info->{'text'} and $parens
277 0 1553 28 exists $info->{'text'} and $parens
356 177 39232 0 ref $info and $info->{'addr'} == $find_addr
359 0 0 0 exists $info->{'maybe_parens'} and $info->{'maybe_parens'}{'parens'}
373 0 25101 0 ref $info and $info->{'addr'} == $find_addr
376 0 0 0 exists $info->{'maybe_parens'} and $info->{'maybe_parens'}{'parens'}
412 13253 285 26788 $j > 0 and length $result > $start_size
430 7793 32533 0 ref $info and $info->{'addr'} == $find_addr
432 0 0 0 exists $info->{'maybe_parens'} and $info->{'maybe_parens'}{'parens'}

or 2 conditions

line l !l condition
287 4046 7251 $opts ||= {}

or 3 conditions

line l !l&&r !l&&!r condition
166 0 192 7064 $mp->{'force'} or $mp->{'parens'}