Condition Coverage

blib/lib/Test/Pretty.pm
Criterion Covered Total %
condition 4 29 13.7


and 3 conditions

line !l l&&!r l&&r condition
153 2 0 0 not $$builder{'Have_Plan'} and $$builder{'Curr_Test'}
158 0 0 2 $$builder{'Have_Plan'} and not $$builder{'No_Plan'}
165 0 0 0 $? == 0 && $builder->is_passing
205 0 0 0 $$self{'Child_Name'} and not $$self{'In_Destroy'}
220 0 0 0 defined $name and $name =~ /^[\d\s]+$/
275 0 0 0 $sub =~ /subtest/ and $test

or 2 conditions

line l !l condition
254 0 0 $ENV{'TEST_PRETTY_COLOR_NAME'} || 'BRIGHT_BLACK'

or 3 conditions

line l !l&&r !l&&!r condition
127 1 3 0 $args[2] ||= do { my($package, $filename, $line) = caller $Test::Builder::Level; "L ${line}: " . &$get_src_line($filename, $line) }
248 0 0 0 $name ||= " L${line}: $src_line"
291 0 0 0 $test or $self->in_todo