lib/CPAN/Testers/WWW/Reports/Query/Report.pm | |||
---|---|---|---|
Criterion | Covered | Total | % |
branch | 15 | 18 | 83.3 |
line | true | false | branch |
---|---|---|---|
101 | 0 | 14 | if ($@ or not $mech->success) |
107 | 0 | 14 | unless ($self->{'content'}) |
117 | 0 | 14 | if ($@ or not $data) |
122 | 1 | 13 | unless ($data->{'success'}) |
127 | 7 | 6 | $hash{'as_json'} || !defined($hash{'as_json'}) && $self->{'as_json'} ? : |
128 | 3 | 3 | $hash{'as_hash'} || !defined($hash{'as_hash'}) && $self->{'as_hash'} ? : |
130 | 7 | 6 | if $as eq 'json' |
131 | 3 | 3 | if $as eq 'hash' |
140 | 1 | 3 | unless ($data) |