Branch Coverage

blib/lib/App/Midgen/Role/Eval.pm
Criterion Covered Total %
branch 0 82 0.0


line true false branch
64 0 0 if ($chunk->find(sub { $_[1]->content =~ /\A(?:sub)\z/ if $_[1]->isa('PPI::Token::Word'); } ))
67 0 0 if $_[1]->isa('PPI::Token::Word')
76 0 0 if ($chunk->{'children'}[$_]->isa('PPI::Structure::Block'))
78 0 0 if $chunk->{'children'}[$_]->isa('PPI::Structure::Block')
80 0 0 if ($ppi_sb->{'children'}[$_]->isa('PPI::Statement'))
82 0 0 if $ppi_sb->{'children'}[$_]->isa('PPI::Statement')
84 0 0 if (&any(sub { $_->content =~ /\A(?:eval|try)\z/ if $_->isa('PPI::Token::Word'); } , @{$$ppi_s{'children'};}))
86 0 0 if $_->isa('PPI::Token::Word')
102 0 0 if $self->debug
106 0 0 if (version::is_lax($version_string))
109 0 0 version::is_lax($version_string) ? :
148 0 0 if ($chunk->find(sub { $_[1]->content =~ /\A(?:eval|try)\z/ if $_[1]->isa('PPI::Token::Word'); } ))
151 0 0 if $_[1]->isa('PPI::Token::Word')
162 0 0 if ($chunk->{'children'}[$_]->isa('PPI::Structure::Block'))
165 0 0 if $chunk->{'children'}[$_]->isa('PPI::Structure::Block')
168 0 0 if $self->debug
170 0 0 if (version::is_lax($version_string))
173 0 0 version::is_lax($version_string) ? :
195 0 0 if ($chunk->find(sub { $_[1]->content =~ /\A(?:eval|try)\z/ if $_[1]->isa('PPI::Token::Word'); } ))
198 0 0 if $_[1]->isa('PPI::Token::Word')
207 0 0 if $chunk->{'children'}[$_]->content eq 'sub'
209 0 0 if ($chunk->{'children'}[$_]->isa('PPI::Token::Quote::Double') or $chunk->{'children'}[$_]->isa('PPI::Token::Quote::Single'))
223 0 0 if ($chunk->{'children'}[$_]->isa('PPI::Structure::Block'))
227 0 0 if ($child_element->isa('PPI::Statement::Include'))
243 0 0 if $self->debug
244 0 0 if $self->debug
246 0 0 if (scalar @modules > 0)
248 0 0 if $self->verbose == 2
269 0 0 if ($eval_include =~ /^\s*(?:use|require|no)/)
283 0 0 if $self->{'found_version'}{$module_name}
286 0 0 if $module_name =~ /\A(?:[a-zA-Z])/
294 0 0 version::is_lax($version_string) ? :
297 0 0 if $self->debug
313 0 0 if ($ppi_sb->{'children'}[$_]->isa('PPI::Statement::Include'))
315 0 0 if $ppi_sb->{'children'}[$_]->isa('PPI::Statement::Include')
316 0 0 if ($ppi_si->{'children'}[0]->isa('PPI::Token::Word') and $ppi_si->{'children'}[0]->content eq 'require')
320 0 0 if $ppi_si->{'children'}[2]->isa('PPI::Token::Word')
325 0 0 if ($ppi_sb->{'children'}[$_]->isa('PPI::Statement'))
327 0 0 if $ppi_sb->{'children'}[$_]->isa('PPI::Statement')
328 0 0 if ($ppi_s->{'children'}[0]->isa('PPI::Token::Word') and $ppi_s->{'children'}[0]->content eq ${$mn_ref;} and ($ppi_s->{'children'}[2]->isa('PPI::Token::Word') and $ppi_s->{'children'}[2]->content eq 'VERSION'))
338 0 0 if $ppi_s->{'children'}[3]->isa('PPI::Structure::List')