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
50 10 0 3 defined $_[0] and $_[0] =~ /^(?:no_plan|skip_all|tests)$/
110 4 0 4 $error eq '' && $exit == 0 && $signal == 0 && $stderr =~ /syntax OK\s+\z/is
223 10 2 24 $error eq '' && $exit == $opt->{'exit'} && $signal == $opt->{'signal'}
482 0 0 29 ref $_[0] eq 'ARRAY' && @{$_[0];}
486 29 0 92 defined $_[0] && !ref($_[0]) && length $_[0]

or 2 conditions

line l !l condition
263 0 2 $name || 'stdout matches'
271 0 2 $name || 'stdout does not match'
279 0 4 $name || 'stdout matches'
287 0 2 $name || 'stdout does not match'
295 0 2 $name || 'stderr matches'
303 0 2 $name || 'stderr does not match'
311 0 2 $name || 'stderr matches'
319 0 2 $name || 'stderr does not match'
356 0 2 $name || 'stdout matches'
364 0 2 $name || 'stdout does not match'
372 0 4 $name || 'stdout matches'
380 0 2 $name || 'stdout does not match'
388 0 2 $name || 'stderr matches'
396 0 2 $name || 'stderr does not match'
404 0 2 $name || 'stderr matches'
412 0 2 $name || 'stderr does not match'

or 3 conditions

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