Branch Coverage

blib/lib/Bio/Das/Segment.pm
Criterion Covered Total %
branch 11 98 11.2


line true false branch
53 1 0 if (not defined $_[0] && $_[0] =~ /^-/) { }
54 0 1 if (@_) { }
59 0 1 if $types
60 0 1 if $categories
83 0 1 if @_
90 0 1 if @_
114 0 0 unless my $das = $self->das
115 0 0 unless my $dsn = $self->dsn
124 0 1 if @_
130 0 0 if @_
136 0 0 if @_
150 0 0 if @_
156 0 0 if @_
163 0 0 if @_
169 0 0 if @_
175 0 0 if @_
181 1 216 unless $string
182 216 0 if defined $$self{'start'}
183 216 0 if defined $$self{'end'}
197 0 0 if @_
198 0 0 unless $d
209 0 0 if @_
237 0 0 unless defined $max_bump
238 0 0 unless defined $max_label
239 0 0 unless defined $options
240 0 0 if $panel->key_style eq 'bottom'
247 0 0 $options && CORE::ref $options eq 'HASH' ? :
260 0 0 if $label
263 0 0 if (my $track = $tracks{$type})
278 0 0 if (defined $position_to_insert) { }
286 0 0 if $@
292 0 0 $options == 5 ? :
0 0 $options == 4 ? :
0 0 $options == 3 ? :
0 0 $options == 2 ? :
0 0 $options == 1 ? :
0 0 $options == 0 ? :
0 0 defined $track_configs{$type}{-'bump'} ? :
302 0 0 defined $track_configs{$type}{-'label'} ? :
306 0 0 $options == 5 ? :
0 0 $options == 3 ? :
0 0 $options == 0 ? :
315 0 0 unless $do_bump
320 0 0 wantarray ? :
334 0 0 unless -d $dir
343 0 0 if ($mtime and (time - $mtime) / 60 < 5) { }
344 0 0 unless open my $f, '<', $path
350 0 0 if $@
358 0 0 unless open my $f, '>', $path