Branch Coverage

blib/lib/Apache/Voodoo/Debug/Handler.pm
Criterion Covered Total %
branch 0 46 0.0


line true false branch
73 0 0 if (defined $$self{'static_files'}{$uri}) { }
0 0 elsif (defined $$self{'handlers'}{$uri}) { }
84 0 0 unless $rc == $$self{'mp'}->ok
101 0 0 unless (ref $params)
108 0 0 unless ($dbh)
118 0 0 if ($@)
122 0 0 if (ref $return eq 'HASH') { }
157 0 0 if (ref $data) { }
0 0 elsif (not $data =~ /^\s*[\[\{\"]/) { }
176 0 0 if (ref $errors eq 'HASH') { }
196 0 0 unless ($$id{'request_id'} =~ /^\d+(\.\d*)?$/)
200 0 0 unless ($$id{'app_id'} =~ /^[a-z]\w*$/i)
204 0 0 unless ($$id{'session_id'} =~ /^[0-9a-z]+$/i)
220 0 0 unless ($$res[0] > 0)
253 0 0 unless ($id =~ /^\d+$/)
297 0 0 if ($app_id =~ /^[a-z]\w+/i and $session_id =~ /^[a-f0-9]+$/i and $request_id =~ /^\d+\.\d+$/)
327 0 0 unless ($id =~ /^\d+$/)
360 0 0 unless ($id =~ /^\d+$/)
366 0 0 if ($$params{$_} eq '1')
381 0 0 if (scalar @levels)
404 0 0 if ($$row[2] =~ /^[\[\{\"]/) { }
425 0 0 unless ($id =~ /^\d+$/)
445 0 0 if ($last > 0)