Branch Coverage

blib/lib/Workflow/Persister/DBI/AutoGeneratedId.pm
Criterion Covered Total %
branch 12 16 75.0


line true false branch
21 5 7 if $params->{$_}
23 2 1 if (my $handle_type = $self->from_handle) { }
0 1 elsif (not $self->func_property) { }
24 0 2 unless ($handle_type =~ /^(database|statement)$/u)
28 0 2 unless ($self->handle_property)
51 1 2 if (defined $from_handle and $from_handle eq 'database') { }
1 1 elsif (defined $from_handle and $from_handle eq 'statement') { }
1 0 elsif (my $func_property = $self->func_property) { }