Condition Coverage

blib/lib/Test/Subtest/Attribute.pm
Criterion Covered Total %
condition 2 31 6.4


and 3 conditions

line !l l&&!r l&&r condition
35 0 0 0 $sub_name and not $name
136 0 0 0 $package_name && $package_name ne 'main'
143 0 0 0 $subtest->{'sub_name'} and not $subref
146 0 0 0 $subref and ref $subref eq 'CODE'

or 2 conditions

line l !l condition
34 0 0 $append_prepend ||= 'append'
81 2 0 $args{'where'} ||= 'append'
131 0 0 $args{'invocant'} || $subtest->{'package'} || 'main'
132 0 0 $subtest->{'name'} || '(unknown)'
134 0 0 $subtest->{'sub_name'} || '(unknown sub)'

or 3 conditions

line l !l&&r !l&&!r condition
65 2 0 0 $args{'name'} ||= $args{'sub_name'}
128 0 0 0 $args{'builder'} || 'Test::Builder'->new
0 0 0 $builder ||= $args{'builder'} || 'Test::Builder'->new