Branch Coverage

blib/lib/SIAM/Object.pm
Criterion Covered Total %
branch 17 30 56.6


line true false branch
54 114 1 unless ($self->is_root)
56 0 114 unless ($driver->fetch_attributes($$self{'_attr'}))
63 114 0 unless (defined $$self{'_attr'}{'siam.object.complete'})
69 110 4 unless (defined $$self{'_attr'}{'siam.object.has_reports'})
75 114 0 if ($self->can('_mandatory_attributes'))
79 0 254 unless (defined $$self{'_attr'}{$attr})
107 0 6 if ($@)
157 0 100 if ($@) { }
100 0 elsif (defined $obj) { }
198 0 0 if ($@) { }
0 0 elsif (defined $obj) { }
250 2 5 if ($obect_class eq $classname)
403 1 1 if ($$attr{'siam.object.id'} eq 'SIAM.ROOT')
424 1 0 if ($self->attr('siam.object.has_reports')) { }
457 0 9 unless ($driver->can($m))