Branch Coverage

lib/Workflow/Persister/File.pm
Criterion Covered Total %
branch 11 22 50.0


line true false branch
22 2 0 unless ($self->use_uuid eq "yes" or $self->use_random eq "yes")
26 0 2 unless ($params->{'path'})
30 0 2 unless (-d $params->{'path'})
49 0 2 unless mkdir $full_history_path, 511
59 0 4 unless (-f $full_path)
65 0 4 if ($Workflow::Persister::File::EVAL_ERROR)
83 0 3 if ($history->is_saved)
101 0 2 unless opendir HISTORY, $history_dir
138 0 9 unless open THINGY, ">", $path
142 0 9 unless close THINGY
153 0 9 if $EVAL_ERROR