Condition Coverage

blib/lib/MDOM/Document/Gmake.pm
Criterion Covered Total %
condition 52 66 78.7


and 3 conditions

line !l l&&!r l&&r condition
76 49 78 4 $context == 4 and s/(?x) ^ (\t\s*) (?= \# ) //
78 16 33 $context == 3 and s/^\t//
115 7 73 14 @tokens >= 2 and $tokens[-1]->isa('MDOM::Token::Continuation')
80 12 2 @tokens >= 2 and $tokens[-1]->isa('MDOM::Token::Continuation') and $tokens[-2]->isa('MDOM::Token::Comment')
183 0 12 8 @tokens >= 2 and $tokens[-1]->isa('MDOM::Token::Continuation')
12 8 0 @tokens >= 2 and $tokens[-1]->isa('MDOM::Token::Continuation') and $tokens[-2]->isa('MDOM::Token::Comment')
199 41 34 0 $context != 3 and $context != 4
295 2 2 8 $c eq "\n" and pos $s == $strlen
366 74 0 5 $fst eq 'override' and $snd
74 5 0 $fst eq 'override' and $snd and $snd eq 'define'
382 61 0 11 @sep >= 2 and $sep[0] =~ /^::?$/
61 2 9 @sep >= 2 and $sep[0] =~ /^::?$/ and $sep[1] eq ';'
61 0 2 @sep >= 2 and $sep[0] eq ':'
61 0 2 @sep >= 2 and $sep[0] eq ':' and $sep[1] =~ /^::?$/
10 15 36 @sep == 1 and $sep[0] =~ /^::?$/
10 0 15 @sep and $sep[0] =~ /(?x) ^ (?: = | := | \+= | \?= ) $/
390 0 3 6 $tokens[0] and $tokens[0]->isa('MDOM::Token::Whitespace')
414 0 0 1 $tokens[0] and $tokens[0]->isa('MDOM::Token::Whitespace')

or 3 conditions

line l !l&&r !l&&!r condition
75 82 49 34 $context == 4 or $context == 3
158 3 3 6 $token->class =~ /Interpolation/ or $self->last_token->class =~ /Interpolation/
172 2 0 4 $token->class =~ /Interpolation/ or $self->last_token->class =~ /Interpolation/
366 0 12 67 $fst eq 'override' and $snd and $snd eq 'define' or _is_keyword($fst)