| line |
true |
false |
branch |
|
150
|
7029 |
50018 |
if ($line =~ /^\s*$/) { } |
|
|
4353 |
45665 |
elsif ($line =~ /^\s*#/) { } |
|
|
762 |
44903 |
elsif ($line =~ /^=(\w+)/) { } |
|
|
2 |
44901 |
elsif ($line =~ /^use v6\-alpha\;/) { } |
|
164
|
0 |
762 |
if ($1 eq 'cut') { } |
|
180
|
2 |
691 |
unless defined $line6 |
|
200
|
139181 |
470069 |
if $COMMITMAP{$char} |
|
203
|
442935 |
27134 |
if $CLASSMAP{$char} |
|
205
|
12214 |
14920 |
if ($char == 40) { } |
|
|
2070 |
12850 |
elsif ($char == 60) { } |
|
|
1038 |
11812 |
elsif ($char == 47) { } |
|
|
863 |
10949 |
elsif ($char == 120) { } |
|
|
10943 |
6 |
elsif ($char == 45) { } |
|
|
6 |
0 |
elsif ($char >= 128) { } |
|
207
|
3116 |
9098 |
if $t->{'token'} |
|
215
|
3818 |
8396 |
if $t->_current_token_has_signatures_active |
|
222
|
3 |
0 |
if ($tokens[0] and $tokens[0]->isa("PPI::Token::Word") and $p1 and $p1->isa("PPI::Token::Word") and $p1->content eq "sub" and !$p2 || $p2->isa('PPI::Token::Structure') || $p2->isa('PPI::Token::Whitespace') && $p2->content eq '' || $p2->isa('PPI::Token::Word') && $p2->content =~ /^(?:my|our|state)$/) |
|
255
|
42 |
6440 |
if ($p0 and $p0->isa("PPI::Token::Word") and $p0->content eq "sub" and not $p1 && $p1->isa('PPI::Token::Operator') && $p1->content eq '->') |
|
267
|
553 |
1517 |
if $t->{'token'} |
|
277
|
314 |
1756 |
if $prev and $prev->isa("PPI::Token::Symbol") |
|
278
|
0 |
1756 |
if $prev and $prev->isa("PPI::Token::Magic") |
|
279
|
33 |
1723 |
if $prev and $prev->isa("PPI::Token::Number") |
|
280
|
1 |
1722 |
if $prev and $prev->isa("PPI::Token::ArrayIndex") |
|
284
|
825 |
897 |
if $next_char =~ /<[^>]/ |
|
286
|
89 |
808 |
unless $prev |
|
292
|
46 |
703 |
if $prev->isa("PPI::Token::Structure") and $prec eq "(" or $prev->isa("PPI::Token::Structure") and $prec eq ";" or $prev->isa("PPI::Token::Word") and $prec eq "while" or $prev->isa("PPI::Token::Operator") and $prec eq "=" or $prev->isa("PPI::Token::Operator") and $prec eq "," |
|
299
|
11 |
692 |
if ($prev->isa("PPI::Token::Structure") and $prec eq "}") |
|
304
|
3 |
8 |
if ($t->{'line'} =~ /\G<(?!\d)\w+>/cg) |
|
316
|
360 |
678 |
if $t->{'token'} |
|
324
|
97 |
941 |
unless $prev |
|
334
|
431 |
510 |
if $prev->isa("PPI::Token::Operator") |
|
337
|
70 |
440 |
if $prev->isa("PPI::Token::Symbol") |
|
338
|
9 |
431 |
if ($prec eq "]" and $prev->isa("PPI::Token::Structure")) |
|
343
|
42 |
389 |
if $prev->isa("PPI::Token::Number") |
|
346
|
35 |
39 |
if ($prev->isa("PPI::Token::Structure") and $prec eq '(' || $prec eq '{' || $prec eq ';') |
|
360
|
73 |
263 |
if ($MATCHWORD{$prec} and $prev->isa("PPI::Token::Word")) |
|
371
|
263 |
0 |
if (defined $next_char and length $next_char) |
|
372
|
6 |
257 |
if ($next_char =~ /(?:\^|\[|\\)/) |
|
389
|
201 |
662 |
if ($t->_current_x_is_operator) |
|
391
|
113 |
88 |
if $t->{'line'} =~ /\G(?:
\d # x op with no whitespace e.g. 'x3'
|
(?!( # negative lookahead
=> # not on left of fat comma
|
\w # not a word like "xyzzy"
|
\s # not x op plus whitespace
))
)/cgx |
|
411
|
9009 |
1934 |
if ($context eq 'operator') { } |
|
419
|
5 |
1 |
if $c =~ /\w/ |
|
420
|
0 |
1 |
if $c =~ /\s/ |
|
430
|
42483 |
2034 |
if $_[1]{'token'} |