| line |
true |
false |
branch |
|
150
|
6867 |
45993 |
if ($line =~ /^\s*$/) { } |
|
|
4341 |
41652 |
elsif ($line =~ /^\s*#/) { } |
|
|
762 |
40890 |
elsif ($line =~ /^=(\w+)/) { } |
|
|
2 |
40888 |
elsif ($line =~ /^use v6\-alpha\;/) { } |
|
164
|
0 |
762 |
if ($1 eq 'cut') { } |
|
180
|
2 |
691 |
unless defined $line6 |
|
200
|
120468 |
276421 |
if $COMMITMAP{$char} |
|
203
|
256747 |
19674 |
if $CLASSMAP{$char} |
|
205
|
8430 |
11244 |
if ($char == 40) { } |
|
|
2052 |
9192 |
elsif ($char == 60) { } |
|
|
1038 |
8154 |
elsif ($char == 47) { } |
|
|
843 |
7311 |
elsif ($char == 120) { } |
|
|
7305 |
6 |
elsif ($char == 45) { } |
|
|
6 |
0 |
elsif ($char >= 128) { } |
|
207
|
3118 |
5312 |
if $t->{'token'} |
|
216
|
36 |
8394 |
if $has_sig |
|
223
|
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)$/) |
|
256
|
42 |
6433 |
if ($p0 and $p0->isa("PPI::Token::Word") and $p0->content eq "sub" and not $p1 && $p1->isa('PPI::Token::Operator') && $p1->content eq '->') |
|
268
|
561 |
1491 |
if $t->{'token'} |
|
278
|
323 |
1729 |
if $prev and $prev->isa("PPI::Token::Symbol") |
|
279
|
0 |
1729 |
if $prev and $prev->isa("PPI::Token::Magic") |
|
280
|
32 |
1697 |
if $prev and $prev->isa("PPI::Token::Number") |
|
281
|
0 |
1697 |
if $prev and $prev->isa("PPI::Token::ArrayIndex") |
|
285
|
824 |
873 |
if $next_char =~ /<[^>]/ |
|
287
|
81 |
792 |
unless $prev |
|
293
|
40 |
696 |
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 "," |
|
300
|
17 |
679 |
if ($prev->isa("PPI::Token::Structure") and $prec eq "}") |
|
305
|
3 |
14 |
if ($t->{'line'} =~ /\G<(?!\d)\w+>/cg) |
|
317
|
365 |
673 |
if $t->{'token'} |
|
325
|
100 |
938 |
unless $prev |
|
335
|
439 |
499 |
if $prev->isa("PPI::Token::Operator") |
|
338
|
58 |
441 |
if $prev->isa("PPI::Token::Symbol") |
|
339
|
14 |
427 |
if ($prec eq "]" and $prev->isa("PPI::Token::Structure")) |
|
344
|
36 |
391 |
if $prev->isa("PPI::Token::Number") |
|
347
|
40 |
38 |
if ($prev->isa("PPI::Token::Structure") and $prec eq '(' || $prec eq '{' || $prec eq ';') |
|
361
|
73 |
264 |
if ($MATCHWORD{$prec} and $prev->isa("PPI::Token::Word")) |
|
372
|
264 |
0 |
if (defined $next_char and length $next_char) |
|
373
|
16 |
248 |
if ($next_char =~ /(?:\^|\[|\\)/) |
|
390
|
222 |
621 |
if ($t->_current_x_is_operator) |
|
392
|
128 |
94 |
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 |
|
412
|
5334 |
1971 |
if ($context eq 'operator') { } |
|
420
|
5 |
1 |
if $c =~ /\w/ |
|
421
|
0 |
1 |
if $c =~ /\s/ |
|
431
|
38462 |
2057 |
if $_[1]{'token'} |