blib/lib/WebAPI/DBIC/Resource/HAL/Role/SetWritable.pm | |||
---|---|---|---|
Criterion | Covered | Total | % |
branch | 0 | 20 | 0.0 |
line | true | false | branch |
---|---|---|---|
50 | 0 | 0 | unless $self->prefetch |
0 | 0 | if grep {defined $$_{'self'};} @{[] unless $self->prefetch;} | |
52 | 0 | 0 | if $self->param('rollback') |
71 | 0 | 0 | unless my $rel_info = $result_class->relationship_info($rel) |
73 | 0 | 0 | if $$rel_info{'attrs'}{'accessor'} ne 'single' |
77 | 0 | 0 | if ref $rel_hal ne 'HASH' |
85 | 0 | 0 | unless $our_field =~ s/^self\.//x |
86 | 0 | 0 | unless $sub_field =~ s/^foreign\.//x |
89 | 0 | 0 | if defined $$hal{$our_field} |
97 | 0 | 0 | if $ENV{'WEBAPI_DBIC_DEBUG'} |