line |
true |
false |
branch |
103
|
0 |
0 |
if ($opts{'id'}) { } |
|
0 |
0 |
elsif ($opts{'location'}) { } |
109
|
0 |
0 |
if (ref $rv eq 'HASH') { } |
119
|
0 |
0 |
if (ref $rv eq 'HASH') { } |
121
|
0 |
0 |
if (wantarray) { } |
157
|
0 |
0 |
if ($self->id) { } |
159
|
0 |
0 |
if ($return > 1 or not $return) |
165
|
0 |
0 |
if ($return != 1) |
186
|
0 |
0 |
if ($$self{'resource_location_id'}) { } |
209
|
0 |
0 |
if ($location) { } |
232
|
0 |
0 |
if ($note) { } |
262
|
0 |
0 |
if ($type) { } |
267
|
0 |
0 |
if ($resource_location_type_id == $type) |
271
|
0 |
0 |
if (not !$found) { } |
303
|
0 |
0 |
if ($resource_id and not $resource_id =~ /^\d+$/) |
306
|
0 |
0 |
if ($resource_id) { } |
307
|
0 |
0 |
if (not $opts{'strict'} && $opts{'strict'} eq 'off') { } |
312
|
0 |
0 |
if ($database_resource_id == $resource_id) |
316
|
0 |
0 |
if (not !$found) { } |
364
|
0 |
0 |
if ($resource_id) { } |
412
|
0 |
0 |
if ($rv != 1) { } |
455
|
0 |
1 |
if (not $opts{'action'}) { } |
|
1 |
0 |
elsif ($opts{'action'}) { } |
465
|
1 |
0 |
if ($action_type eq 'set') { } |
|
0 |
0 |
elsif ($action_type eq 'get_name') { } |
|
0 |
0 |
elsif ($action_type eq 'get_desc') { } |
|
0 |
0 |
elsif ($action_type eq 'get_id') { } |
|
0 |
0 |
elsif ($action_type eq 'get_all') { } |
|
0 |
0 |
elsif ($action_type eq 'delete') { } |
470
|
1 |
0 |
if (defined $opts{'name'}) { } |
480
|
1 |
0 |
if (defined $opts{'description'}) { } |
490
|
0 |
0 |
if (not $found_type) { } |
510
|
0 |
0 |
if (defined $opts{'id'}) { } |
521
|
0 |
0 |
if ($location_type and $location_type->isa('MyLibrary::Resource::Location::Type')) { } |
537
|
0 |
0 |
if (defined $opts{'id'}) { } |
|
0 |
0 |
elsif (defined $opts{'name'}) { } |
551
|
0 |
0 |
if ($id) { } |
|
0 |
0 |
elsif ($type_name) { } |
555
|
0 |
0 |
if ($location_type and $location_type->isa('MyLibrary::Resource::Location::Type')) { } |
570
|
0 |
0 |
if ($location_type and $location_type->isa('MyLibrary::Resource::Location::Type')) { } |
586
|
0 |
0 |
if (defined $opts{'name'}) { } |
597
|
0 |
0 |
if ($location_type and $location_type->isa('MyLibrary::Resource::Location::Type')) { } |
616
|
0 |
0 |
if (defined $opts{'id'}) { } |
630
|
0 |
0 |
if (not $location_type && $location_type->isa('MyLibrary::Resource::Location::Type')) { } |