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