Condition Coverage

blib/lib/Perl/MinimumVersion/Fast.pm
Criterion Covered Total %
condition 82 95 86.3


and 3 conditions

line !l l&&!r l&&r condition
81 1 1 10 @tokens > $i + 2 and $tokens[$i + 1]->name eq 'Class'
87 4 0 3 @tokens > $i + 3 and $tokens[$i + 3]{'name'} eq 'LeftBrace'
128 0 0 4 $token->{'data'} eq '//' and $i >= 1
130 3 1 0 $prev_token->name eq 'BuiltinFunc' and $prev_token->data =~ /\A(?:split|grep|map)\z/
159 1 1 4 $tokens[$i - 1]{'name'} ne 'SemiColon' and $tokens[$i - 1]{'name'} ne 'RightBrace'
2 1 3 $tokens[$i - 1]{'name'} ne 'SemiColon' and $tokens[$i - 1]{'name'} ne 'RightBrace' and $tokens[$i - 1]{'name'} ne 'LeftBrace'
2 3 3 $i >= 1 and ($tokens[$i - 1]{'name'} ne 'SemiColon' and $tokens[$i - 1]{'name'} ne 'RightBrace' and $tokens[$i - 1]{'name'} ne 'LeftBrace')
198 0 0 1 @tokens >= $i + 1 and my $next_token = $tokens[$i + 1]
199 0 0 1 $next_token->{'name'} eq 'String' and $next_token->data =~ /[<>]/

or 2 conditions

line l !l condition
56 0 7 $explicit_version || 0

or 3 conditions

line l !l&&r !l&&!r condition
52 24 6 855 $tokens[$i]{'name'} eq 'UseDecl' or $tokens[$i]{'name'} eq 'RequireDecl'
55 6 1 23 $next_token->{'name'} eq 'Double' or $next_token->{'name'} eq 'VersionString'
77 24 6 840 $token->{'name'} eq 'UseDecl' or $token->{'name'} eq 'RequireDecl'
0 0 728 $token->{'name'} eq 'PostDeref' or $token->{'name'} eq 'PostDerefStar'
83 2 3 5 $number->{'name'} eq 'Int' or $number->{'name'} eq 'Double'
5 2 3 $number->{'name'} eq 'Int' or $number->{'name'} eq 'Double' or $number->{'name'} eq 'VersionString'
104 1 1 6 $arg eq 'fc' or $arg eq 'unicode_eval'
2 1 5 $arg eq 'fc' or $arg eq 'unicode_eval' or $arg eq 'current_sub'
130 0 2 2 $prev_token->name eq 'BuiltinFunc' and $prev_token->data =~ /\A(?:split|grep|map)\z/ or $prev_token->name eq 'LeftParenthesis'
145 1 1 1 $token->{'data'} eq '%-' or $token->{'data'} eq '%+'
151 1 1 2 $token->{'data'} eq '$-' or $token->{'data'} eq '$+'
155 1 1 8 $token->{'data'} eq '@-' or $token->{'data'} eq '@+'
169 7 4 70 $token->data eq 'each' or $token->data eq 'keys'
11 4 66 $token->data eq 'each' or $token->data eq 'keys' or $token->data eq 'values'
173 3 3 9 $next_token->name eq 'GlobalVar' or $next_token->name eq 'Var'
3 4 2 $next_token->name eq 'GlobalArrayVar' or $next_token->name eq 'ArrayVar'
182 7 6 68 $token->data eq 'push' or $token->data eq 'unshift'
13 6 62 $token->data eq 'push' or $token->data eq 'unshift' or $token->data eq 'pop'
12 10 52 $token->data eq 'push' or $token->data eq 'unshift' or $token->data eq 'pop' or $token->data eq 'shift'
16 6 46 $token->data eq 'push' or $token->data eq 'unshift' or $token->data eq 'pop' or $token->data eq 'shift' or $token->data eq 'splice'
190 11 10 14 $next_token->name eq 'GlobalVar' or $next_token->name eq 'Var'
197 1 0 80 $token->data eq 'pack' or $token->data eq 'unpack'