Branch Coverage

blib/lib/DBIx/DataModel/Source.pm
Criterion Covered Total %
branch 21 28 75.0


line true false branch
40 0 34 unless $self->_is_called_as_class_method
43 34 0 if (wantarray) { }
47 0 0 unless @primary_key == 1
63 0 159 unless $self->_is_called_as_class_method
77 0 10 unless $self->_is_called_as_class_method
84 2 8 if (&does($_[-1], "HASH"))
115 2 35 unless my $path = $self->metadm->path($first_role)
129 17 18 @other_roles ? :
140 24 9 unless ($self->_is_called_as_class_method)
143 2 22 if $missing
179 37 105 unless my $handler = $handlers->{$handler_name}
184 33 72 exists $obj->{$column_name} ? :
186 0 105 if ($objects) { }
204 153 161 unless ref $self