Condition Coverage

blib/lib/Test/EOL.pm
Criterion Covered Total %
condition 22 43 51.1


and 3 conditions

line !l l&&!r l&&r condition
38 3 0 0 $_[0] and $_[0] eq 'no_plan'
57 27 2 1 $chunks[-2] eq 'blib' and $chunks[-1] eq 'libdoc'
58 27 1 1 $chunks[-2] eq 'blib' and $chunks[-1] =~ /^man[0-9]$/
62 17 0 9 -f $File::Find::name and -r _
116 13 940 0 not $options->{'trailing_whitespace'} and /(\r+)$/
120 940 13 0 $options->{'trailing_whitespace'} and /([ \t]*\r+|[ \t]+)$/
126 953 0 0 @fails > 0 and not $options->{'all_reasons'}
164 0 0 0 defined $first and $first =~ /$PERL_PATTERN/
175 0 0 0 -e $candidate and -f _
0 0 0 -e $candidate and -f _ and -r _

or 2 conditions

line l !l condition
103 5 2 $options ||= {'trailing_whitespace', 0, 'all_reasons', 0}
130 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($_)
56 1 1 30 $chunks[-1] eq 'CVS' or $chunks[-1] eq '.svn'
101 1 6 0 $test_txt ||= "No incorrect line endings in '${file}'"