Branch Coverage

blib/lib/CGI/Ajax.pm
Criterion Covered Total %
branch 5 110 4.5


line true false branch
465 0 0 if $self->cgi->isa('CGI')
466 0 0 if not defined $v and $self->cgi->isa('CGI::Application')
475 0 0 if $self->cgi->isa('CGI')
476 0 0 if not defined $v and $self->cgi->isa('CGI::Application')
486 0 0 if (@v == 1 and not defined $v[0])
488 0 0 if defined $query
490 0 0 if (wantarray)
499 0 0 if $self->skip_header
502 0 0 if $cgi->isa('CGI::Application')
509 0 0 if (ref($cgi) =~ /CGI.*/ or $$self{'canQuery'})
510 0 0 if ($self->DEBUG)
516 0 0 if (defined $cgi_header_extra)
517 0 0 if ($self->DEBUG)
519 0 0 if (ref $cgi_header_extra eq 'HASH') { }
534 0 0 if (defined $fnameParam) { }
543 0 0 if (not defined $html and $self->skip_header == 0)
554 0 0 if (ref $html_source eq 'CODE') { }
555 0 0 if ($self->DEBUG)
560 0 0 if ($@)
565 0 0 if (not defined $html and $self->skip_header == 0)
584 0 0 if ($self->DEBUG)
661 0 1 if (@_ < 2)
669 0 1 if ($function_name eq 'skip_header')
674 0 1 if (ref $code eq 'CODE') { }
0 1 elsif (ref $code) { }
675 0 0 if ($self->DEBUG)
686 0 1 if ($self->DEBUG)
713 0 0 if (@_)
719 0 0 if (ref($cgi) =~ /CGI.*/ or $cgi->isa('CGI::Application') and $cgi->query =~ /CGI/) { }
722 0 0 if ($self->DEBUG)
739 0 0 if (@_) { }
790 0 0 if ($self->DEBUG)
1022 0 0 if ($self->JSDEBUG <= 1)
1041 0 0 unless defined $js
1042 0 0 if $js eq ''
1067 0 0 if ($self->JSDEBUG)
1077 0 0 if (@shtml) { }
0 0 elsif (@shtml = $mhtml =~ /(.*)(<\s*html[^>]*>?)(.*)/is) { }
1122 0 0 unless defined $self->cgi
1125 0 0 if (not defined $rv and $self->skip_header == 0)
1139 0 0 if (defined $self->coderef_list->{$func_name}) { }
1143 0 0 if (ref $code eq 'CODE')
1147 0 0 if ($@)
1154 0 0 if (@other) { }
1156 0 0 if ($self->DEBUG)
1161 0 0 if (defined $result)
1177 0 0 unless (defined $header)
1201 0 0 unless defined $func_name
1202 0 0 if $func_name eq ''
1207 0 0 defined $outside_url ? :
1208 0 0 if ($url =~ /\?/) { }
1213 0 0 if ($self->JSDEBUG)
1238 0 0 unless ($self->JSDEBUG)
1259 0 0 if (ref $coderef eq 'CODE') { }
0 0 elsif (ref $coderef) { }