Branch Coverage

lib/Devel/Trepan/CmdProcessor/Location.pm
Criterion Covered Total %
branch 1 70 1.4


line true false branch
50 0 0 unless defined $filename
51 0 0 unless defined $resolve
54 0 0 if ($self->{'settings'}{'basename'}) { }
0 0 elsif ($resolve) { }
56 0 0 $is_eval ? :
59 0 0 if defined $mapped_filename
61 0 0 $is_eval ? :
69 0 0 $a < $b ? :
79 0 1 unless defined $opts
92 0 0 if ('$cwd' eq $dir) { }
0 0 elsif ('$cdir' eq $dir) { }
97 0 0 unless $dir and not -d $dir
99 0 0 if -f $try_file
110 0 0 unless defined $opts
115 0 0 if (&filename_is_eval($filename)) { }
116 0 0 if ($DB::filename eq $filename)
138 0 0 unless defined $event
139 0 0 unless defined $frame
140 0 0 unless defined $frame_index
143 0 0 if (defined $self->{'event'} and 0 == $frame_index)
150 0 0 $event eq 'return' && defined $DB::_[0] ? :
161 0 0 unless defined $opts
166 0 0 if ($text)
183 0 0 if ($self->{'settings'}{'displayop'})
185 0 0 if ($DB::OP_addr and $frame_index == 0) { }
190 0 0 if defined $addr and $addr > 0
193 0 0 if $self->{'op_addr'}
194 0 0 if (&filename_is_eval($filename))
196 0 0 if ($DB::filename eq $filename)
199 0 0 if ($filename ne '-e')
201 0 0 if (@DB::dbline) { }
0 0 elsif ($filename =~ /^sub (\S+)/) { }
207 0 0 if (%SelfLoader::Cache)
212 0 0 unless (defined $string)
216 0 0 if defined $try_filename