| blib/lib/WebService/ISBNDB/API/Publishers.pm | |||
|---|---|---|---|
| Criterion | Covered | Total | % | 
| branch | 5 | 22 | 22.7 | 
| line | true | false | branch | 
|---|---|---|---|
| 85 | 0 | 2 | if $$args{'categories'} and ref $$args{'categories'} ne 'ARRAY' | 
| 115 | 0 | 0 | unless ref $self eq ref $target | 
| 127 | 0 | 0 | if ref $categories{$id2} | 
| 179 | 0 | 0 | unless ref $list eq 'ARRAY' | 
| 213 | 0 | 0 | if (grep((!ref($_)), @$categories)) | 
| 222 | 0 | 0 | unless (ref($cat_id = $$categories[$_])) | 
| 224 | 0 | 0 | unless ref($$categories[$_] = $class->find({'id', $cat_id})) | 
| 259 | 1 | 0 | unless ref $args | 
| 300 | 0 | 1 | if $key eq 'api_key' | 
| 306 | 0 | 1 | if ($key eq 'id') | 
| 315 | 1 | 0 | if ($key =~ /^(:?name|publisher_id)$/) |