Condition Coverage

blib/lib/Test/Script.pm
Criterion Covered Total %
condition 29 50 58.0


and 3 conditions

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

or 2 conditions

line l !l condition
267 0 2 $name || 'stdout matches'
275 0 2 $name || 'stdout does not match'
283 0 4 $name || 'stdout matches'
291 0 2 $name || 'stdout does not match'
299 0 2 $name || 'stderr matches'
307 0 2 $name || 'stderr does not match'
315 0 2 $name || 'stderr matches'
323 0 2 $name || 'stderr does not match'
360 0 2 $name || 'stdout matches'
368 0 2 $name || 'stdout does not match'
376 0 4 $name || 'stdout matches'
384 0 2 $name || 'stdout does not match'
392 0 2 $name || 'stderr matches'
400 0 2 $name || 'stderr does not match'
408 0 2 $name || 'stderr matches'
416 0 2 $name || 'stderr does not match'

or 3 conditions

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