Branch Coverage

blib/lib/DiaColloDB/WWW/Handler/cgi.pm
Criterion Covered Total %
branch 0 22 0.0


line true false branch
46 0 0 if (-r ($rcfile = "$srv->{'wwwdir'}/dstar.rc"))
47 0 0 unless do "$rcfile"
49 0 0 if (-r ($rcfile = "$srv->{'wwwdir'}/local.rc"))
50 0 0 unless do "$rcfile"
56 0 0 unless my $dbcgi = 'DiaColloDB::WWW::CGI'->new(%{$srv->{'cgiArgs'} // {};})
61 0 0 unless $dbcgi->fromRequest($hreq, $csock)
69 0 0 $israw ? :
74 0 0 if ($@) { }
0 0 elsif (not $content) { }
81 0 0 if utf8::is_utf8($content)
83 0 0 if ($content =~ s/^(.*?)(?:\x{0d}\x{0a}){2}//s)