Condition Coverage

blib/lib/Test/Spec.pm
Criterion Covered Total %
condition 20 40 50.0


and 3 conditions

line !l l&&!r l&&r condition
177 0 0 119 @_ and ref $_[-1] eq 'CODE'
351 18 10 0 $type ne 'each' and $type ne 'all'
368 1 1 0 $type ne 'each' and $type ne 'all'
409 1 0 14 $contexts and %$contexts

or 2 conditions

line l !l condition
106 128 0 $_Package_Tests{$class} ||= []
114 128 15 $_Package_Tests{$class} ||= []
184 119 0 $name ||= 'behaves as expected (whatever that means)'
350 19 9 shift() || 'each'
367 2 0 shift() || 'each'

or 3 conditions

line l !l&&r !l&&!r condition
91 0 17 0 ref $invocant || $invocant
181 119 0 0 $code or $name
205 61 0 0 shift() || $package
212 12 14 0 $_Package_Contexts{$package} ||= _ixhash()
327 4 0 0 $_Shared_Example_Groups{$name} || Carp::croak(qq[unrecognized example group "$name"])
442 0 0 0 $_Package_Contexts{$package}{$name} ||= 'Test::Spec::Context'->new({'name', $name, 'class', $package, 'parent', undef})