Condition Coverage

lib/Devel/Trepan/DB/LineCache.pm
Criterion Covered Total %
condition 17 60 28.3


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
847 0 0 0 $range[0] >= $line and $range[-1] <= $line
902 0 0 0 not @DB::line and $script =~ /^sub (\S+)/
922 1 0 0 $opts->{'output'} and $opts->{'output'} ne 'plain'
977 0 0 1 $mark_trace and open $fh, '-|', "$cmd 2>/dev/null"
1136 4 1 0 $opts->{'output'} and $opts->{'output'} ne 'plain'
5 0 0 $opts->{'output'} and $opts->{'output'} ne 'plain' and defined $raw_lines
1168 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'
831 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
848 0 0 0 $from_file || $file
872 3 0 7 $filename =~ /^\(eval \d+\)|-e$/ || $filename =~ /^sub \S+::\S+/
1027 0 1 0 $$symname ||= $filename