line |
true |
false |
branch |
58
|
0 |
1 |
unless $dsn |
60
|
0 |
1 |
if ref $class |
65
|
0 |
1 |
unless $constructor_params->{'dbh'} = 'DBI'->connect($dsn, $user, $pass, $attrs) |
75
|
231 |
7 |
if exists $self->_types->{$value} |
80
|
3 |
3 |
if (not $type and my $entity_class = $self->_resolve_entity_class($value)) |
85
|
2 |
4 |
unless $type |
95
|
44 |
3 |
if exists $self->_types_by_id->{$value} |
97
|
0 |
3 |
unless $self->_load_type('id', $value) |
105
|
6 |
4 |
unless $type_row |
121
|
4 |
1 |
if $is_loaded |
124
|
1 |
0 |
if $error =~ /^Can't locate .* in \@INC/ |
138
|
2 |
0 |
if $is_loaded |
171
|
2 |
39 |
if exists $self->_types->{$name} |
184
|
89 |
34 |
unless defined $spec->{$reltype} |
188
|
13 |
21 |
unless ref $spec->{$reltype} eq 'ARRAY' |
205
|
5 |
36 |
if ($spec->{'extends'}) |
207
|
2 |
3 |
unless ($parent_type = $self->_types->{$spec->{'extends'}}) |
210
|
0 |
2 |
unless exists $$schema{$spec->{'extends'}} |
221
|
0 |
41 |
if (defined $type) { } |
232
|
0 |
41 |
unless $type |
234
|
5 |
36 |
if ($parent_type) |
249
|
5 |
36 |
$parent_type ? : |
255
|
45 |
67 |
unless (ref $attr_spec) |
264
|
0 |
112 |
if exists $static_attributes{$attr_spec->{'name'}} |
267
|
0 |
112 |
if $inherited_attributes{$attr_spec->{'name'}} |
274
|
0 |
112 |
if (defined $attr) { } |
286
|
0 |
112 |
unless $self->schema->has_data_type($data{'data_type'}) |
290
|
0 |
112 |
unless $attr |