Condition Coverage

blib/lib/Code/DRY.pm
Criterion Covered Total %
condition 34 51 66.6


and 3 conditions

line !l l&&!r l&&r condition
246 1632 5311 6848 $file > 0 && $fileoffsets[$file - 1] < $offset || $file == 0 and $offset <= $fileoffsets[$file]
254 0 5311 1632 $file > 0 and $fileoffsets[$file - 1] >= $offset
290 15664 17891 6684 $line > 0 && $$lineoffsets[$line - 1] < $offset || $line == 0 and $offset <= $$lineoffsets[$line]
312 0 17891 15664 $line > 0 and $$lineoffsets[$line - 1] >= $offset
401 13937 426 3116 $res && $lcp != $last_lcp
405 14363 3116 0 $res and defined $ignoreContentFilter
410 14363 1 3115 $res and 0 <= $minlength
460 1 0 0 defined $regexAccept and ref $regexAccept ne 'Regexp'
463 0 1 0 defined $regexIgnore and ref $regexIgnore ne 'Regexp'
466 1 0 0 defined $ignoreContentFilter and ref $ignoreContentFilter ne 'Regexp'
471 0 1 0 1 == scalar @dirs and not -d $dirs[0]
479 1 0 4 -f $_ and -s $_
1 4 0 -f $_ and -s $_ and !defined($regexAccept) || $_ =~ /$regexAccept/o
482 0 4 0 defined $regexIgnore && $_ =~ /$regexIgnore/o

or 3 conditions

line l !l&&r !l&&!r condition
246 10715 1444 1632 $file > 0 && $fileoffsets[$file - 1] < $offset || $file == 0
290 24524 51 15664 $line > 0 && $$lineoffsets[$line - 1] < $offset || $line == 0
479 4 0 0 !defined($regexAccept) || $_ =~ /$regexAccept/o