Branch Coverage

lib/Workflow/Persister/DBI/AutoGeneratedId.pm
Criterion Covered Total %
branch 7 16 43.7


line true false branch
19 1 3 if $params->{$_}
21 0 1 if (my $handle_type = $self->from_handle) { }
0 1 elsif (not $self->func_property) { }
22 0 0 unless ($handle_type =~ /^(database|statement)$/)
26 0 0 unless ($self->handle_property)
47 0 3 if (defined $from_handle and $from_handle eq 'database') { }
0 3 elsif (defined $from_handle and $from_handle eq 'statement') { }
3 0 elsif (my $func_property = $self->func_property) { }