Branch Coverage

blib/lib/Workflow/Persister/File.pm
Criterion Covered Total %
branch 10 20 50.0


line true false branch
23 3 0 unless ($self->use_uuid eq "yes" or $self->use_random eq "yes")
27 0 3 unless ($params->{'path'})
31 0 3 unless (-d $params->{'path'})
50 0 6 unless mkdir $full_history_path, 511
60 0 4 unless (-f $full_path)
87 0 7 if ($history->is_saved)
107 0 2 unless opendir my $hist, $history_dir
142 0 17 unless open THINGY, ">", $path
146 0 17 unless close THINGY
164 0 9 unless ($success)