Branch Coverage

blib/lib/PONAPI/DAO/Request/Role/HasFields.pm
Criterion Covered Total %
branch 11 12 91.6


line true false branch
18 0 14 unless $self->has_fields
24 2 16 if (not $repo->has_type($fields_type)) { }
32 11 5 if $ok
41 2 4 if ($repo->has_relationship($fields_type, $maybe_rel)) { }
50 4 1 @real_fields ? :
53 3 2 unless ($ok)