Branch Coverage

blib/lib/PPI/Statement/Include.pm
Criterion Covered Total %
branch 26 36 72.2


line true false branch
68 0 7 unless my $keyword = $self->schild(0)
69 7 0 if $keyword->isa("PPI::Token::Word")
101 0 2 unless my $module = $self->schild(1)
102 2 0 if $module->isa("PPI::Token::Word")
117 1 8 if ($argument and $argument->isa("PPI::Token::Operator"))
121 0 8 unless my $version = $self->schild(2)
122 3 5 unless $version->isa("PPI::Token::Number")
153 0 2 unless my $module = $self->module
154 2 0 $module =~ /^[a-z][a-z\d]*$/ ? :
178 0 11 unless my $version = $self->schild(1)
179 10 1 $version->isa('PPI::Token::Number') ? :
194 0 11 unless my $version = $self->schild(1)
195 10 1 $version->isa('PPI::Token::Number') ? :
218 6 1 if ($args[-1]->isa("PPI::Token::Structure") and $args[-1]->content eq ";")
229 2 5 unless @args
231 2 3 if ($args[0]->isa("PPI::Token::Number"))
232 1 1 unless my $after = $args[1]
233 1 0 unless $after->isa("PPI::Token::Operator")