Condition Coverage

/tmp/u09XM_8B49/lib/My/Prefix/HashBase.pm
Criterion Covered Total %
condition 12 40 30.0


and 3 conditions

line !l l&&!r l&&r condition
56 0 0 1 $] >= 5.01 && require mro
91 0 0 2 defined $arg and length $arg
128 0 1 1 $add_new and my $have_new = $into->can("new")

or 2 conditions

line l !l condition
120 0 2 $My::Prefix::HashBase::ATTR_LIST{$into} ||= []
121 0 2 $My::Prefix::HashBase::ATTR_SUBS{$into} ||= {}
129 1 0 $My::Prefix::HashBase::NEW_LOOKUP //= {}
183 0 0 $My::Prefix::HashBase::ATTR_SUBS{$role} || {}
191 0 0 $My::Prefix::HashBase::ATTR_LIST{$role} || []
192 0 0 $My::Prefix::HashBase::ROLE_ATTRS{$into} ||= []
213 0 2 $class->spec->{$p} || {'reader', 1, 'writer', 1}
270 0 0 $My::Prefix::HashBase::VERSION{$pkg} || 0
275 0 0 $My::Prefix::HashBase::ROLE_ATTRS{$pkg} || []
338 1 1 $My::Prefix::HashBase::NEW_LOOKUP //= {}
383 0 0 $@ || 'unknown error'

or 3 conditions

line l !l&&r !l&&!r condition
86 2 0 0 $My::Prefix::HashBase::HB_VERSION || $VERSION
87 2 0 0 not $My::Prefix::HashBase::VERSION{$into} or $My::Prefix::HashBase::VERSION{$into} > $ver
196 0 0 0 $^H{$key} ||= "My::Prefix::HashBase::_RoleApplier"->new($into)