Branch Coverage

blib/lib/Video/DVDRip/FilterList.pm
Criterion Covered Total %
branch 0 114 0.0


line true false branch
117 0 0 if $FILTER_LIST
122 0 0 unless -d $dir
127 0 0 if $DEBUG
130 0 0 unless $transcode_modpath
145 0 0 if (not -f $filename or $filter_mtime < $transcode_mtime or $filter_mtime < $FilterList_mtime)
171 0 0 unless open $fh, $filename
177 0 0 if $@
191 0 0 unless open $fh, "> $filename"
229 0 0 unless $filter and $filter->capabilities
243 0 0 unless ref $self
245 0 0 unless exists $self->filters->{$filter_name}
274 0 0 if $_[0]->is_pre
281 0 0 if $DEBUG
291 0 0 if ($@)
292 0 0 if $DEBUG
296 0 0 if $DEBUG
306 0 0 unless ($in_config)
307 0 0 unless $line =~ /^START/
310 0 0 unless $line =~ /^"/
311 0 0 unless ($desc)
326 0 0 unless $option->option_name =~ /^\w+$/
331 0 0 if $filter_name eq 'logoaway'
352 0 0 unless exists $self->options_by_name->{$option_name}
371 0 0 if $self->can_video
372 0 0 if $self->can_audio
378 0 0 if $self->can_rgb
379 0 0 if $self->can_yuv
385 0 0 if $self->is_pre
386 0 0 if $self->is_post
391 0 0 $self->can_multiple ? :
400 0 0 if $self->can_video
401 0 0 if $self->can_audio
410 0 0 unless $self->can_video
413 0 0 if $self->can_rgb
414 0 0 if $self->can_yuv
424 0 0 if $self->is_pre
425 0 0 if $self->is_post
434 0 0 $self->can_multiple ? :
476 0 0 if ($format eq '') { }
0 0 elsif ($format eq '%s') { }
488 0 0 if $format eq '%c'
518 0 0 if @default_values
575 0 0 if $range_to eq 'oo' or $range_to < $range_from
579 0 0 if $range_from eq '' or $range_from =~ /\D/
583 0 0 if $range_to eq '' or $range_to =~ /\D/
587 0 0 unless ($fractional or $range_from =~ /\D/ or $range_to =~ /\D/)
588 0 0 if ($range_from == 0 and $range_to == 1) { }
0 0 elsif ($range_to ne '' and $range_from ne '' and $range_to - $range_from < 20) { }
615 0 0 $self->default ? :
0 0 if $self->checkbox or $self->switch
618 0 0 if $self->text
620 0 0 $self->fractional ? :
626 0 0 if $range eq 'W' or $range eq 'width'
627 0 0 if $range eq 'H' or $range eq 'height'
630 0 0 if $range_from == -99999999
631 0 0 if $range_to == 99999999
634 0 0 if $default eq ''