Branch Coverage

blib/lib/Apache/Sling/Request.pm
Criterion Covered Total %
branch 33 40 82.5


line true false branch
25 1 12 unless (defined $string)
27 1 11 unless (defined $lwp)
34 9 2 defined $action ? :
36 2 9 if ($action eq 'post')
40 1 1 unless (defined $success)
45 2 8 if ($action eq 'data')
51 1 1 unless (defined $success)
57 2 7 if ($action eq 'fileupload')
66 1 1 unless (defined $success)
73 1 7 if ($action eq 'put')
76 1 7 if ($action eq 'delete')
79 3 5 unless (defined $request)
80 1 2 if (defined $target) { }
87 0 6 if (defined $${$authn;}{'Type'})
88 0 0 if ($${$authn;}{'Type'} eq 'basic')
91 0 0 if (defined $username and defined $password)
100 0 6 if (defined $verbose and $verbose >= 2)
116 1 2 unless (defined $object)
119 1 1 unless (defined $string)
121 0 1 unless (defined $authn)