Condition Coverage

blib/lib/Test/Warnings.pm
Criterion Covered Total %
condition 22 26 84.6


and 3 conditions

line !l l&&!r l&&r condition
125 16 2 2 not $no_end_test || $done_testing_called and &_builder()->expected_tests || &_builder()->current_test > 0
153 8 0 2 $report_warnings || $ENV{'PERL_TEST_WARNINGS_ONLY_REPORT_WARNINGS'} and $forbidden_warnings_found

or 2 conditions

line l !l condition
151 7 2 shift() || 'no (unexpected) warnings'

or 3 conditions

line l !l&&r !l&&!r condition
47 21 17 0 $tb ||= "Test::Builder"->new
113 11 1 4 $no_end_test or $in_subtest_sub ? $builder->$in_subtest_sub : $builder->parent
125 13 3 4 $no_end_test || $done_testing_called
1 1 2 &_builder()->expected_tests || &_builder()->current_test > 0
138 2 0 1 @_ || defined $_[0]
153 2 0 8 $report_warnings || $ENV{'PERL_TEST_WARNINGS_ONLY_REPORT_WARNINGS'}