Condition Coverage

blib/lib/Test/EOL.pm
Criterion Covered Total %
condition 19 40 47.5


and 3 conditions

line !l l&&!r l&&r condition
38 3 0 0 $_[0] and $_[0] eq 'no_plan'
57 10 16 1 -d $File::Find::name and $chunks[-1] eq 'CVS' || $chunks[-1] eq '.svn' || $chunks[-2] eq 'blib' && $chunks[-1] eq 'libdoc' || $chunks[-2] eq 'blib' && $chunks[-1] =~ /^man[0-9]$/ || $chunks[-1] eq 'inc'
65 12 0 9 -f $File::Find::name and -r _
121 13 950 0 not $options->{'trailing_whitespace'} and /(\r+)$/
125 950 13 0 $options->{'trailing_whitespace'} and /([ \t]*\r+|[ \t]+)$/
131 963 0 0 @fails > 0 and not $options->{'all_reasons'}
169 0 0 0 defined $first and $first =~ /$PERL_PATTERN/
180 0 0 0 -e $candidate and -f _
0 0 0 -e $candidate and -f _ and -r _

or 2 conditions

line l !l condition
108 5 2 $options ||= {'trailing_whitespace', 0, 'all_reasons', 0}
135 0 0 $options->{'all_reasons'} or 1

or 3 conditions

line l !l&&r !l&&!r condition
47 2 0 0 _is_perl_module($_) or _is_perl_script($_)
57 1 1 12 $chunks[-1] eq 'CVS' || $chunks[-1] eq '.svn' || $chunks[-2] eq 'blib' && $chunks[-1] eq 'libdoc' || $chunks[-2] eq 'blib' && $chunks[-1] =~ /^man[0-9]$/ || $chunks[-1] eq 'inc'
106 1 6 0 $test_txt ||= "No incorrect line endings in '${file}'"