Branch Coverage

blib/lib/MooX/Role/JSON_LD.pm
Criterion Covered Total %
branch 13 16 81.2


line true false branch
192 3 73 if (&is_ArrayRef($val))
194 6 0 &is_Object($_) && $_->can('json_ld_data') ? :
200 4 69 &is_Object($val) && $val->can('json_ld_data') ? :
220 16 48 &is_CodeRef($val) ? :
60 4 if (defined(my $res = &is_CodeRef($val) ? &$val($self) : $self->$val))
238 56 16 if (&is_Ref($field)) { }
240 56 0 if (&is_HashRef($field)) { }
250 16 0 if (defined(my $res = $self->$field))