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
157 2 0 0 not $builder->{'Have_Plan'} and $builder->{'Curr_Test'}
162 0 0 2 $builder->{'Have_Plan'} and not $builder->{'No_Plan'}
169 0 0 0 $? == 0 && $builder->is_passing
209 0 0 0 $self->{'Child_Name'} and not $self->{'In_Destroy'}
224 0 0 0 defined $name and $name =~ /^[\d\s]+$/
279 0 0 0 $sub =~ /subtest/ and $test

or 2 conditions

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

or 3 conditions

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