line |
true |
false |
branch |
53
|
0 |
5 |
if $elem->isa("PPI::Statement::Scheduled")
|
56
|
0 |
5 |
if (@blocks > 1) { }
|
|
0 |
5 |
elsif (@blocks == 0) { }
|
68
|
4 |
1 |
if ($self->_block_is_empty($block) or $self->_block_has_return($block))
|
74
|
1 |
0 |
if (my $name = $elem->name) { }
|
97
|
0 |
5 |
unless $final
|
108
|
1 |
4 |
if $self->_is_conditional_stmnt($final)
|
118
|
1 |
0 |
unless ($final->isa("PPI::Statement::Compound"))
|
123
|
0 |
0 |
unless $begin
|
126
|
0 |
0 |
unless ($begin->isa("PPI::Token::Word") and $$is_if_or_unless{$begin->content})
|
133
|
0 |
0 |
if (&any(sub {
|
138
|
0 |
0 |
if &any(sub {
|
148
|
1 |
0 |
unless ($final->isa("PPI::Statement::Given"))
|
153
|
0 |
0 |
unless $begin
|
154
|
0 |
0 |
unless ($begin->isa("PPI::Token::Word") and $begin->content eq "given")
|
162
|
0 |
0 |
if (&any(sub {
|
166
|
0 |
0 |
if (@blocks > 1)
|
170
|
0 |
0 |
unless @blocks
|
176
|
0 |
0 |
if ($stmnt->isa('PPI::Statement::When')) { }
|
180
|
0 |
0 |
if $first_token = $stmnt->schild(0) and "default" eq $first_token->content
|
184
|
0 |
0 |
unless $self->_is_when_stmnt_with_return($stmnt)
|
189
|
0 |
0 |
unless $self->_is_suffix_when_with_return($stmnt)
|
203
|
0 |
4 |
unless $stmnt->isa("PPI::Statement::Break")
|
214
|
0 |
0 |
unless $stmnt->isa("PPI::Statement")
|
217
|
0 |
0 |
if exists $self->{'_terminal_funcs'}{$first_token}
|
220
|
0 |
0 |
unless $second_token->isa("PPI::Token::Operator") and $second_token eq "->"
|
230
|
0 |
5 |
unless $stmnt->isa("PPI::Statement")
|
232
|
1 |
14 |
if exists $CONDITIONALS{$_}
|
243
|
0 |
0 |
if (&any(sub {
|
246
|
0 |
0 |
if @inner > 1
|
248
|
0 |
0 |
unless @inner
|
250
|
0 |
0 |
if &any(sub {
|
259
|
0 |
0 |
unless $stmnt->isa("PPI::Statement")
|
261
|
0 |
0 |
if $elem->isa("PPI::Token::Word") and "when" eq $elem->content
|