Condition Coverage

blib/lib/Mite/Trait/HasAttributes.pm
Criterion Covered Total %
condition 6 18 33.3


and 3 conditions

line !l l&&!r l&&r condition
150 1 0 0 defined $spec{'init_arg'} and not $spec{'init_arg'} =~ /^_/

or 3 conditions

line l !l&&r !l&&!r condition
93 2 0 0 $spec{'definition_context'} ||= &$ctxt(1, "file", "$file", "type", $kind, "context", "has declaration")
137 0 1 0 $spec{'definition_context'} ||= &$ctxt(1, "file", "$file", "type", $kind, "context", "param declaration")
148 1 0 0 $spec{'builder'} || exists $spec{'default'}
0 1 0 $spec{'is'} ||= $spec{'builder'} || exists $spec{'default'} ? "lazy" : "rwp"
153 0 1 0 $spec{'definition_context'} ||= &$ctxt(1, "file", "$file", "type", $kind, "context", "field declaration")