line |
true |
false |
branch |
91
|
0 |
2 |
if $$args{'categories'} and ref $$args{'categories'} ne 'ARRAY' |
94
|
0 |
2 |
if $$args{'subjects'} and ref $$args{'subjects'} ne 'ARRAY' |
128
|
0 |
0 |
unless ref $self eq ref $target |
143
|
0 |
0 |
if ref $categories{$id2} |
144
|
0 |
0 |
if ref $subjects{$id2} |
196
|
0 |
0 |
unless ref $list eq 'ARRAY' |
231
|
0 |
0 |
if (grep((!ref($_)), @$categories)) |
240
|
0 |
0 |
unless (ref($cat_id = $$categories[$_])) |
242
|
0 |
0 |
unless ref($$categories[$_] = $class->find({'id', $cat_id})) |
276
|
0 |
0 |
unless ref $list eq 'ARRAY' |
310
|
0 |
0 |
if (grep((!ref($_)), @$subjects)) |
319
|
0 |
0 |
unless (ref($subj_id = $$subjects[$_])) |
322
|
0 |
0 |
unless ref($$subjects[$_] = $class->find({'id', $subj_id})) |
359
|
1 |
0 |
unless ref $args |
400
|
0 |
1 |
if $key eq 'api_key' |
406
|
0 |
1 |
if ($key eq 'id') |
415
|
1 |
0 |
if ($key =~ /^(:?name|person_id)$/) |