blib/lib/Test/Subtest/Attribute.pm | |||
---|---|---|---|
Criterion | Covered | Total | % |
condition | 6 | 31 | 19.3 |
line | !l | l&&!r | l&&r | condition |
---|---|---|---|---|
39 | 0 | 2 | 1 | $sub_name and not $name |
140 | 0 | 0 | 0 | $package_name && $package_name ne 'main' |
147 | 0 | 0 | 0 | $subtest->{'sub_name'} and not $subref |
150 | 0 | 0 | 0 | $subref and ref $subref eq 'CODE' |
line | l | !l | condition |
---|---|---|---|
38 | 1 | 2 | $append_prepend ||= 'append' |
85 | 5 | 0 | $args{'where'} ||= 'append' |
135 | 0 | 0 | $args{'invocant'} || $subtest->{'package'} || 'main' |
136 | 0 | 0 | $subtest->{'name'} || '(unknown)' |
138 | 0 | 0 | $subtest->{'sub_name'} || '(unknown sub)' |
line | l | !l&&r | !l&&!r | condition |
---|---|---|---|---|
69 | 5 | 0 | 0 | $args{'name'} ||= $args{'sub_name'} |
132 | 0 | 0 | 0 | $args{'builder'} || 'Test::Builder'->new |
0 | 0 | 0 | $builder ||= $args{'builder'} || 'Test::Builder'->new |