Branch Coverage

blib/lib/Test/JSON/RPC/Autodoc/Request.pm
Criterion Covered Total %
branch 16 22 72.7


line true false branch
26 3 0 unless $name
33 3 0 unless $content
42 4 4 unless ref $p eq 'HASH'
44 3 9 if ($key eq 'required')
57 18 3 if $self->{'validator'}
66 0 5 if $self->validator->has_errors
73 0 5 if $res->code != 200
96 2 0 if $self->validator->has_errors
103 2 0 if $res->code == 200
120 1 7 if ($headers and ref $headers eq 'ARRAY')
135 11 2 if $self->{'response'}