Branch Coverage

blib/lib/Test/Snapshots.pm
Criterion Covered Total %
branch 24 38 63.1


line true false branch
348 0 4 unless defined $dir
355 1 3 if ($multiple)
367 1 3 $combine ? :
374 1 3 if ($multiple)
381 0 7 if ($$skip{$file})
382 0 0 $multiple ? :
386 1 6 if ($multiple) { }
414 2 6 $accessories_dir ? :
423 2 6 if ($combine) { }
428 8 0 if (-e $in_file)
431 0 8 if ($debug)
435 2 6 $combine ? :
447 0 8 unless (eval { do { system $cmd; $exit = $?; 1 } })
449 0 0 if ($@ eq "TIMEOUT\n") { }
462 14 0 if (-e $expected) { }
464 0 14 unless $T->ok(!$diff, "$ext of $file")
467 0 0 unless $T->ok($data eq '', "$ext of $file")
475 3 5 if (-e $expected_file)
489 0 3 unless open my $fh, '<', $file