blib/lib/UR/Object/View/Default/Json.pm | |||
---|---|---|---|
Criterion | Covered | Total | % |
branch | 17 | 26 | 65.3 |
line | true | false | branch |
---|---|---|---|
23 | 13 | 1 | if defined $json |
28 | 0 | 4 | if ($@) |
31 | 0 | 4 | unless ($json) |
47 | 0 | 23 | unless $subject |
53 | 41 | 0 | if defined $val |
73 | 0 | 41 | if ($@) |
81 | 10 | 31 | unless ($aspect->delegate_view) |
87 | 41 | 0 | if (my $delegate_view = $aspect->delegate_view) { } |
89 | 9 | 34 | if (&Scalar::Util::blessed($value)) { } |
96 | 9 | 34 | if ($delegate_view->can('_jsobj')) { } |
106 | 0 | 0 | if (ref $value) { } |
114 | 2 | 39 | if ($aspect_meta and $aspect_meta->is_many) { } |
125 | 0 | 2 | unless ($self->parent_view) |