Condition Coverage

lib/Devel/Trepan/DB/LineCache.pm
Criterion Covered Total %
condition 17 63 26.9


and 3 conditions

line !l l&&!r l&&r condition
270 0 0 0 $stat and $cache_info->{'size'} != $stat->size || $cache_info->{'mtime'} != $stat->mtime
419 0 0 4 defined $lines and @$lines
0 0 4 defined $lines and @$lines and $index >= 0
0 0 4 defined $lines and @$lines and $index >= 0 and $index <= $max_index
428 0 0 0 --$max_continue and not &eval_ok($plain_line)
475 0 0 0 $opts->{'output'} and not defined $lines_aref
492 0 0 0 $opts->{'output'} and not defined $lines_aref
803 0 0 0 defined $testpath and -r $testpath
851 0 0 0 $range[0] >= $line and $range[-1] <= $line
906 0 0 0 not @DB::line and $script =~ /^sub (\S+)/
926 1 0 0 $opts->{'output'} and $opts->{'output'} ne 'plain'
981 0 0 1 $mark_trace and open $fh, '-|', "$cmd 2>/dev/null"
1140 4 1 0 $opts->{'output'} and $opts->{'output'} ne 'plain'
5 0 0 $opts->{'output'} and $opts->{'output'} ne 'plain' and defined $raw_lines
1172 4 1 0 $opts->{'output'} and $opts->{'output'} ne 'plain'

or 2 conditions

line l !l condition
420 0 4 $opts->{'maxlines'} || 1
470 2 5 $opts->{'output'} || 'plain'
835 0 1 $opts ||= {}

or 3 conditions

line l !l&&r !l&&!r condition
270 0 0 0 $cache_info->{'size'} != $stat->size || $cache_info->{'mtime'} != $stat->mtime
852 0 0 0 $from_file || $file
876 3 0 7 $filename =~ /^\(eval \d+\)|-e$/ || $filename =~ /^sub \S+::\S+/
1031 0 1 0 $$symname ||= $filename