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
172 0 0 113 @_ and ref $_[-1] eq 'CODE'
330 18 10 0 $type ne 'each' and $type ne 'all'
347 1 1 0 $type ne 'each' and $type ne 'all'
388 1 0 13 $contexts and %$contexts

or 2 conditions

line l !l condition
101 122 0 $_Package_Tests{$class} ||= []
109 122 14 $_Package_Tests{$class} ||= []
179 113 0 $name ||= 'behaves as expected (whatever that means)'
329 19 9 shift() || 'each'
346 2 0 shift() || 'each'

or 3 conditions

line l !l&&r !l&&!r condition
86 0 16 0 ref $invocant || $invocant
176 113 0 0 $code or $name
200 57 0 0 shift() || $package
207 11 13 0 $_Package_Contexts{$package} ||= _ixhash()
306 4 0 0 $_Shared_Example_Groups{$name} || Carp::croak(qq[unrecognized example group "$name"])
421 0 0 0 $_Package_Contexts{$package}{$name} ||= 'Test::Spec::Context'->new({'name', $name, 'class', $package, 'parent', undef})