Branch Coverage

blib/lib/Anansi/Script/XML.pm
Criterion Covered Total %
branch 0 30 0.0


line true false branch
149 0 0 unless defined $self->{'PARAMETERS'}
172 0 0 if 0 < scalar @_
203 0 0 if 0 < scalar @_
204 0 0 if (0 == scalar @_) { }
0 0 elsif (1 == scalar @_) { }
0 0 elsif (1 == scalar(@_) % 2) { }
205 0 0 unless defined $self->{'PARAMETERS'}
209 0 0 unless defined $self->{'PARAMETERS'}
210 0 0 unless defined do { $$self{'PARAMETERS'} }->{$name}
217 0 0 if (defined do { $$self{'PARAMETERS'} }->{$name}) { }
250 0 0 if 0 < scalar @_
276 0 0 if 0 < scalar @_
277 0 0 unless defined $ENV{'HTTP_HOST'}
279 0 0 unless defined $CGI->http('Content-Type')
280 0 0 unless $CGI->http('Content-Type') =~ m[^(application|text)?/xml(;.*)?$]i