| line |
true |
false |
branch |
|
35
|
0 |
7 |
unless $sib |
|
37
|
2 |
5 |
if ($sib->isa('PPI::Structure::List')) |
|
40
|
1 |
1 |
unless $expr |
|
41
|
1 |
0 |
$expr->isa('PPI::Statement') ? : |
|
50
|
0 |
11 |
unless $sib |
|
52
|
3 |
8 |
if ($sib->isa('PPI::Structure::List')) { } |
|
56
|
0 |
3 |
unless @list_contents |
|
60
|
3 |
1 |
if (is_ppi_expression_or_generic_statement($item)) { } |
|
81
|
8 |
11 |
if $iter->isa('PPI::Token::Structure') and $iter eq ';' |
|
82
|
0 |
11 |
if $iter->isa('PPI::Token::Operator') and $MIN_PRECEDENCE_TO_TERMINATE_PARENLESS_ARG_LIST <= precedence_of($iter) |
|
97
|
8 |
17 |
if ($node->isa('PPI::Token::Operator') and $node eq ',' || $node eq '=>') { } |
|
|
7 |
10 |
elsif ($node->isa('PPI::Token::QuoteLike::Words')) { } |
|
101
|
7 |
1 |
if (@node_stacks) |
|
123
|
0 |
0 |
unless my $element = shift() |
|
130
|
0 |
0 |
if $next = $element->snext_sibling |
|
138
|
0 |
0 |
unless my $element = shift() |
|
140
|
0 |
0 |
unless $element->location |
|
143
|
0 |
0 |
unless $element = $element->parent |
|
147
|
0 |
0 |
unless $element->location |
|
|
0 |
0 |
unless (@{[] unless $element->location;})[0] == $line |
|
148
|
0 |
0 |
if $element->isa('PPI::Statement::Include') |
|
162
|
0 |
0 |
unless $element |
|
163
|
0 |
0 |
unless $element->isa('PPI::Statement') |
|
165
|
0 |
0 |
if ($element->isa('PPI::Statement::Include')) { } |
|
|
0 |
0 |
elsif (not $element->specialized and $element->schildren > 2) { } |
|
167
|
0 |
0 |
if ($pragma = $element->pragma and $pragma eq 'constant') |
|
174
|
0 |
0 |
if ($supposed_constant_function eq 'const' || $supposed_constant_function =~ / \A Readonly \b /x and $declaring_scope eq 'our' || $declaring_scope eq 'my') |
|
191
|
0 |
0 |
unless my(@arguments) = $include->arguments |
|
194
|
0 |
0 |
unless defined $follower |
|
201
|
0 |
0 |
if ($follower->isa('PPI::Structure::Constructor') or $follower->isa('PPI::Structure::Block')) { } |
|
205
|
0 |
0 |
unless my $statement = $follower->schild(0) |
|
206
|
0 |
0 |
unless $statement->isa('PPI::Statement') |
|
211
|
0 |
0 |
unless ($inx % 2) |
|
215
|
0 |
0 |
if ($IS_COMMA{$child->content}) |
|
224
|
0 |
0 |
$_ && @{$_;} == 2 && '=>' eq $_->[1]->content && $_->[0]->isa('PPI::Token::Word') ? : |
|
251
|
2 |
8 |
if (my $single_namespace = _split_ppi_node_by_namespace_single($node)) |
|
269
|
1 |
9 |
unless ($package_statements and @{$package_statements;}) |
|
273
|
6 |
3 |
if (@{$package_statements;} == 1) |
|
279
|
1 |
5 |
if ($package_address == &refaddr($node) or $first_child and $package_address == &refaddr($first_child)) |
|
301
|
10 |
8 |
if ($initial_fragment) |
|
306
|
20 |
131 |
if ($child->isa('PPI::Statement::Package')) { } |
|
|
10 |
121 |
elsif ($child->isa('PPI::Statement::Compound') or $child->isa('PPI::Statement::Given') or $child->isa('PPI::Statement::When')) { } |
|
307
|
19 |
1 |
if ($fragment) |
|
322
|
10 |
34 |
if ($component->isa('PPI::Structure::Block')) |
|
327
|
10 |
0 |
if ($block) |
|
328
|
1 |
9 |
unless ($fragment) |
|
346
|
125 |
26 |
if ($initial_fragment_address != &refaddr($fragment)) |
|
349
|
0 |
125 |
unless $child->remove |
|
350
|
0 |
125 |
unless $fragment->add_element($child) |
|
361
|
22 |
130 |
unless ($fragment = $scope_fragments_by_namespace->{$namespace}) |
|
378
|
22 |
19 |
if (not @{$nodes;} or &refaddr($nodes->[-1]) != &refaddr($fragment)) |