Branch Coverage

blib/lib/GenOO/Data/File/BED.pm
Criterion Covered Total %
branch 32 44 72.7


line true false branch
108 9 45 if ($self->record_cache_not_empty) { }
115 49 5 if (defined $record)
165 60 20 if ($self->line_looks_like_header($line)) { }
20 0 elsif ($self->line_looks_like_record($line)) { }
200 41 0 if ($self->line_looks_like_record($line)) { }
204 0 0 if ($self->line_looks_like_header($line)) { }
221 10 0 if (defined $record) { }
244 35 27 if $self->redirect_score_to_copy_number
245 62 0 if defined $thick_start
246 62 0 if defined $thick_stop
247 62 0 if defined $rgb
248 1 61 if defined $block_count
249 1 61 if defined $block_sizes
250 1 61 if defined $block_starts
257 1 0 $line =~ /^#/u ? :
262 62 21 $line =~ /^(track|browser)/u ? :
267 63 2 !($line =~ /^(#|track|browser)/u) ? :
272 10 46 $self->record_cache_size > 0 ? :
277 1 1 $self->record_cache_size == 0 ? :
299 0 20 if (not defined $self->file) { }
20 0 elsif ($self->file =~ /\.gz$/u) { }
303 0 20 unless -e $self->file