line |
true |
false |
branch |
48
|
4 |
40 |
if ($self->{'_except_function_calls'})
|
50
|
3 |
0 |
if ($prev = $elem->sprevious_sibling and $prev->isa('PPI::Token::Word') and is_function_call($prev) || is_method_call($prev))
|
60
|
36 |
67 |
$_->isa('PPI::Statement') ? :
|
63
|
9 |
32 |
if (_is_list_single_expression($elem))
|
71
|
56 |
28 |
if ($child->isa('PPI::Token::Whitespace') or $child->isa('PPI::Token::Comment')) { }
|
78
|
18 |
10 |
if ($newline and not elem_is_comma_operator($child))
|
99
|
6 |
35 |
unless $elem->isa('PPI::Structure::List')
|
110
|
30 |
0 |
$_->isa('PPI::Statement::Expression') ? :
|
112
|
13 |
22 |
if (&List::Util::first(sub {
|
118
|
22 |
0 |
if (my $prev = $elem->sprevious_sibling)
|
119
|
9 |
13 |
if ($prev->isa('PPI::Token::Word')) { }
|
|
10 |
3 |
elsif ($prev->isa('PPI::Token::Operator') and $prev eq '=' and _is_preceded_by_array($prev)) { }
|
120
|
2 |
7 |
if ($prev eq 'return')
|
124
|
7 |
0 |
if (is_function_call($prev) or is_method_call($prev))
|
127
|
2 |
5 |
if ($children[-1] and $children[-1]->isa('PPI::Token::HereDoc'))
|
137
|
2 |
8 |
if ($children[-1] and $children[-1]->isa('PPI::Token::HereDoc'))
|
159
|
12 |
1 |
if ($prev->isa('PPI::Token::Symbol'))
|
161
|
1 |
11 |
if ($cast = $prev->sprevious_sibling and $cast->isa('PPI::Token::Cast'))
|
168
|
1 |
0 |
if ($prev->isa('PPI::Token::Cast'))
|