Condition Coverage

blib/lib/Test/Script.pm
Criterion Covered Total %
condition 28 50 56.0


and 3 conditions

line !l l&&!r l&&r condition
49 10 0 3 defined $_[0] and $_[0] =~ /^(?:no_plan|skip_all|tests)$/
109 4 0 4 $error eq '' && $exit == 0 && $signal == 0 && $stderr =~ /syntax OK\s+\z/is
222 10 2 24 $error eq '' && $exit == $opt->{'exit'} && $signal == $opt->{'signal'}
481 0 0 29 ref $_[0] eq 'ARRAY' && @{$_[0];}
485 29 0 92 defined $_[0] && !ref($_[0]) && length $_[0]

or 2 conditions

line l !l condition
262 0 2 $name || 'stdout matches'
270 0 2 $name || 'stdout does not match'
278 0 4 $name || 'stdout matches'
286 0 2 $name || 'stdout does not match'
294 0 2 $name || 'stderr matches'
302 0 2 $name || 'stderr does not match'
310 0 2 $name || 'stderr matches'
318 0 2 $name || 'stderr does not match'
355 0 2 $name || 'stdout matches'
363 0 2 $name || 'stdout does not match'
371 0 4 $name || 'stdout matches'
379 0 2 $name || 'stdout does not match'
387 0 2 $name || 'stderr matches'
395 0 2 $name || 'stderr does not match'
403 0 2 $name || 'stderr matches'
411 0 2 $name || 'stderr does not match'

or 3 conditions

line l !l&&r !l&&!r condition
114 2 6 0 $_[0] || "Script $unix compiles"