Branch Coverage

blib/lib/Object/Annotate.pm
Criterion Covered Total %
branch 23 36 63.8


line true false branch
35 0 0 ref $self ? :
59 0 3 if ($$arg{'noun'} xor $$arg{'verb'}) { }
3 0 elsif (not $$arg{'noun'} || $$arg{'verb'}) { }
106 2 1 if $class
119 0 1 if $$arg{'extra_setup'}
142 0 1 unless eval "require $$arg{'base_class'};"
148 1 0 if ($$arg{'dsn'})
155 1 0 unless $$arg{'columns'}
160 0 1 if $$arg{'sequence'}
176 0 3 $$arg{'columns'} ? :
187 5 4 if (ref $id_attr) { }
191 0 4 unless $id
197 46 17 unless exists $$arg{$_}
201 9 0 if $set_time
231 3 7 if (ref $id_attr) { }
5 2 elsif (ref $self) { }
235 0 5 unless $id
239 8 2 if defined $id and not exists $$arg{'object_id'}