Condition Coverage

blib/lib/EntityModel/Definition.pm
Criterion Covered Total %
condition 5 27 18.5


and 3 conditions

line !l l&&!r l&&r condition
53 2 0 0 $k eq 'file' and defined $v
54 0 0 2 $k eq 'string' and defined $v
58 2 0 0 ref $k and not $v
91 0 0 0 $k eq 'file' and defined $v

or 3 conditions

line l !l&&r !l&&!r condition
53 0 0 0 $structure ||= $self->load_file($v)
54 0 2 0 $structure ||= $self->load_string($v)
57 0 0 0 $structure ||= $self->load_file($k)
0 0 2 ref $k or $v
58 0 0 0 $structure ||= $self->load_string($$k)