Branch Coverage

blib/lib/Video/DVDRip/Depend.pm
Criterion Covered Total %
branch 31 64 48.4


line true false branch
306 0 45 if $ver =~ /cvs|svn/i
309 0 45 if $6
320 0 1 if $OBJECT
332 15 0 if ($convert eq 'default') { }
0 0 elsif ($convert eq 'none') { }
339 0 15 if $DEBUG
344 14 1 if ($version ne '') { }
345 0 14 if $DEBUG
348 0 14 if $DEBUG
351 0 1 if $DEBUG
355 1 14 if defined $$def{'max'}
359 0 15 if defined $$def{'max'} and $$def{'installed_num'} > $$def{'max_num'}
362 2 1 unless $$def{'optional'} or $$def{'installed_ok'}
380 0 1 unless -f $filename
382 0 1 unless open IN, $filename
385 0 16 if (/LD_ASSUME_KERNEL=(.*)/ and $1 ne $ENV{'LD_ASSUME_KERNEL'})
411 0 1 unless -d $dir
413 0 1 unless open OUT, ">$filename"
431 1 14 if $$tool_def{'dont_cache'}
436 0 14 if ($path ne $$tool_def{'path'})
444 0 14 if ($size != $$tool_def{'size'})
450 0 14 if ($mtime != $$tool_def{'mtime'})
461 0 14 if -x $path and $version eq 'missing'
469 0 21 if $file =~ m[^/]
471 21 0 unless (-x $file)
473 0 147 if -x "$p/$file"
477 0 21 if -x $file
487 0 0 unless exists $TOOLS{$command}
494 0 0 unless exists $TOOLS{$command}
501 0 1 unless exists $TOOLS{$command}
524 0 0 if $tool eq 'dvd::rip'
527 0 0 !$$def{'optional'} ? :