blib/lib/WebService/Geograph/API.pm | |||
---|---|---|---|
Criterion | Covered | Total | % |
branch | 6 | 18 | 33.3 |
line | true | false | branch |
---|---|---|---|
20 | 1 | 1 | unless (defined $$rh_options{'key'} and $$rh_options{'key'}) |
42 | 1 | 1 | unless defined $mode and defined $args |
43 | 0 | 1 | unless ref $args eq 'HASH' |
48 | 0 | 1 | if (defined $request) { } |
62 | 0 | 0 | unless ($$response{'_rc'} = 200) |
74 | 0 | 0 | if ($$request{'mode'} eq 'csv') { } |
0 | 0 | elsif ($$request{'mode'} eq 'search') { } | |
75 | 0 | 0 | if (defined $$response{'_content'}) |
83 | 0 | 0 | if (defined $$response{'_previous'}{'_headers'}{'location'}) |