Branch Coverage

blib/lib/Tree/Persist/Base.pm
Criterion Covered Total %
branch 11 20 55.0


line true false branch
31 0 10 exists $opts->{'autocommit'} ? :
34 0 10 if (exists $opts->{'class'}) { }
43 4 6 if (exists $opts->{'tree'})
58 0 7 if (@_) { }
77 0 0 if (@{$self->{'_changes'};})
94 7 0 if (@{$self->{'_changes'};})
154 1 4 if (@$params and not &blessed($params->[0]) and ref $params->[0] eq 'HASH') { }
184 4 0 if $self->autocommit
208 1 0 if $self->autocommit
231 2 0 if $self->autocommit