Branch Coverage

blib/lib/Linux/DVB/DVBT/Ffmpeg.pm
Criterion Covered Total %
branch 65 168 38.6


line true false branch
304 0 0 if $DEBUG
312 0 0 if (not $src) { }
315 0 0 unless (-s "$destfile")
322 0 0 if ($file_duration < $multiplex_info_href->{'duration'} - $DURATION_MARGIN)
332 0 0 unless (-s "$src")
339 0 0 if ($file_duration < $multiplex_info_href->{'duration'} - $DURATION_MARGIN)
352 0 0 if ($src)
360 0 0 if $error
365 0 0 if $ext
369 0 0 if (exists $$written_files_href{"$dest.$ext"})
396 0 0 if $DEBUG
398 0 0 if $DEBUG >= 5
402 0 0 ref $cmds_ref ? :
407 0 0 if ($multiplex_info_href->{'title'})
420 0 0 ref $cmd ? :
424 0 0 if $DEBUG
428 0 0 if $DEBUG
434 0 0 if $DEBUG
443 0 0 if $DEBUG
446 0 0 if $rc
451 0 0 if ($rc) { }
458 0 0 if (not -s "$dest.$ext") { }
465 0 0 if ($file_duration < $multiplex_info_href->{'duration'} - $DURATION_MARGIN) { }
477 0 0 if ($pass_failed)
480 0 0 if ($idx + 1 < scalar @cmds) { }
554 0 53 if $DEBUG
558 46 7 if $ext
561 0 53 if $DEBUG
564 19 34 unless ($$out_ref)
570 0 19 if $DEBUG
573 0 19 if $DEBUG
576 2 17 if (not $ext) { }
578 0 2 if $DEBUG
586 16 1 if (exists $ALIASES{$ext}) { }
591 0 16 if $DEBUG
595 0 16 if $DEBUG
599 0 1 if $DEBUG
612 6 47 if ($orig_lang and $$lang_ref ne $orig_lang)
688 0 0 if ($line =~ /Stream #(\d+)\.(\d+)\[(0x[\da-f]+)\]\((\S+)\): (\S+): /i) { }
0 0 elsif ($line =~ /Stream #(\d+)\.(\d+)\[(0x[\da-f]+)\]: (\S+): /i) { }
0 0 elsif ($line =~ /Duration: (\d+):(\d+):(\d+).(\d+)/i) { }
0 0 elsif ($line =~ /Input #(\d+),/i) { }
749 0 0 if ($NICE)
775 0 0 if ($lines_aref->[-1] =~ /RC=(\d+)/)
780 0 0 if ($DEBUG_FFMPEG)
810 0 53 if $DEBUG
814 46 7 if $ext
817 0 53 if $DEBUG
820 53 0 if ($$output_spec_ref)
827 0 53 if $DEBUG
830 7 46 if (not $ext) { }
833 7 0 if (@supported_types)
843 32 14 if (exists $ALIASES{$ext} and exists $valid_types{$ALIASES{$ext}}) { }
852 14 0 if (@supported_types)
869 0 53 if (not $$output_spec_ref) { }
0 53 elsif (not $ext) { }
883 0 53 if ($error)
903 0 88 if $DEBUG
905 69 19 if ($out)
909 38 31 if $num_audio >= 1
911 0 69 if $DEBUG
919 120 87 if ($out =~ /$type_ch/) { }
923 0 120 if $DEBUG
925 58 62 if ($type eq 'audio')
930 0 58 if $DEBUG
936 11 76 if ($type eq 'audio')
941 0 11 if $DEBUG
947 0 88 if $DEBUG
960 0 53 if $DEBUG
966 0 689 if $DEBUG
967 241 448 if ($out =~ /^$regexp$/)
969 0 241 if $DEBUG
992 0 35 if $DEBUG
995 0 35 if $DEBUG
997 0 35 if $DEBUG
999 0 35 if $DEBUG
1004 0 35 if $DEBUG
1006 16 19 wantarray ? :
1019 38 31 if ($language_spec)
1022 17 21 if ($language_spec =~ s/\+//g)
1042 0 0 if $DEBUG >= 10
1051 0 0 if $DEBUG >= 10
1052 0 0 if ($pid_href->{'pidtype'} eq $type)
1055 0 0 if $DEBUG >= 10