Branch Coverage

blib/lib/MyLibrary/Resource/Location/Type.pm
Criterion Covered Total %
branch 7 28 25.0


line true false branch
66 0 2 if ($opts{'id'}) { }
1 1 elsif ($opts{'name'}) { }
71 0 0 if (ref $rv eq 'HASH') { }
82 0 0 if (ref $rv eq 'HASH') { }
110 1 1 if ($name) { }
132 1 1 if ($description) { }
152 0 0 if ($$self{'type_id'}) { }
175 0 0 if ($self->location_type_id) { }
178 0 0 if ($return > 1 or $return eq undef)
185 0 0 if ($return != 1)
208 0 0 if ($rv != 1) { }
216 0 0 if (scalar @{$location_ids;} >= 1)
241 0 0 unless ($class eq 'MyLibrary::Resource::Location::Type')
250 0 0 if (scalar @{$type_ids;} >= 1) { }