Condition Coverage

blib/lib/File/CodeSearch.pm
Criterion Covered Total %
condition 25 58 43.1


and 2 conditions

line l !l condition
164 0 0 $self->_message("file", $file, $File::CodeSearch::OS_ERROR) and return

and 3 conditions

line !l l&&!r l&&r condition
97 1 0 10 -d $dir and -r $dir
0 0 10 -d $dir and -r $dir and -x $dir
117 30 0 0 $self->limit and $self->found >= $self->limit
150 1 3 0 -f $a && -d $b
3 0 1 -d $a && -f $b
156 1 3 0 -f $a && -d $b
3 0 1 -d $a && -f $b
194 4508 0 0 @{$self->regex->sub_not_matches;} and $self->regex->sub_not_match
199 23 0 3289 $args{'last_line_no'} and $fh->input_line_number - $args{'last_line_no'} > $after_max - 1
207 3312 0 0 $self->limit and $self->found >= $self->limit
215 24 0 0 @{$self->regex->sub_matches;} and $self->regex->sub_match
220 0 0 0 $self->limit and $self->found >= $self->limit
225 13 0 0 @after and !@{$self->regex->sub_matches;} || $self->regex->sub_match
235 0 0 11 $args{'last_line_no'} and $fh->input_line_number - $args{'last_line_no'} > $after_max - 1

or 2 conditions

line l !l condition
124 0 0 $self->links->{$real} ||= 0

or 3 conditions

line l !l&&r !l&&!r condition
130 3 3 0 $parent || $dir
134 12 12 0 $parent || $dir
225 0 0 0 !@{$self->regex->sub_matches;} || $self->regex->sub_match
11 0 13 $post or @after and !@{$self->regex->sub_matches;} || $self->regex->sub_match