Branch Coverage

blib/lib/DBIx/DataModel/Source.pm
Criterion Covered Total %
branch 22 30 73.3


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 141 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 33 unless my $path = $self->metadm->path($first_role)
129 15 18 @other_roles ? :
143 23 8 unless ($self->_is_called_as_class_method)
145 0 23 unless my $left_cols = $statement->{'args'}{'-_left_cols'}
149 2 21 if $missing
186 37 105 unless my $handler = $handlers->{$handler_name}
191 33 72 exists $obj->{$column_name} ? :
193 0 105 if ($objects) { }
211 151 143 unless ref $self