blib/lib/MooX/JSON_LD.pm | |||
---|---|---|---|
Criterion | Covered | Total | % |
branch | 8 | 14 | 57.1 |
line | true | false | branch |
---|---|---|---|
137 | 8 | 0 | $target->isa('Moo::Object') ? : |
142 | 8 | 0 | if (my $has = $target->can('has')) |
149 | 8 | 0 | if (defined $type) |
162 | 0 | 25 | unless $Attributes{$target} |
171 | 8 | 0 | unless (&all(sub { $target->can($_); } , 'json_ld_encoder', 'json_ld_data', 'json_ld')) |
185 | 16 | 0 | if ($opts{'json_ld'} or $opts{'json_ld_serializer'}) |
193 | 5 | 11 | $label eq '1' ? : |