line |
true |
false |
branch |
42
|
0 |
74 |
unless @_
|
43
|
0 |
74 |
if (@_ > 1) { }
|
47
|
0 |
74 |
unless my $name = shift()
|
56
|
0 |
0 |
unless defined $name
|
57
|
0 |
0 |
$self->_model->{$name} ? :
|
68
|
0 |
0 |
unless $model->searchable
|
70
|
0 |
0 |
unless $index->exists
|
72
|
0 |
0 |
if (not $valid and $options{'fatal'})
|
83
|
1 |
1 |
unless $model->searchable
|
86
|
0 |
1 |
unless $index->exists
|
87
|
0 |
1 |
if $index->same
|
94
|
0 |
40 |
unless my $name = shift()
|
95
|
0 |
40 |
unless my $operation = shift()
|
150
|
2 |
0 |
unless ($connection)
|
152
|
0 |
2 |
unless ($database)
|
169
|
6 |
7 |
unless (&blessed($self))
|
173
|
0 |
7 |
if $self->_has_schema
|
182
|
1 |
14 |
if (ref $connection eq 'ARRAY') { }
|
|
1 |
13 |
elsif (ref $connection eq '' and $connection =~ /^dbi:/i) { }
|
|
9 |
4 |
elsif (&blessed($connection) and $connection->isa('Path::Class::File')) { }
|
|
4 |
0 |
elsif (ref $connection eq '') { }
|
198
|
9 |
0 |
if ($self->_is_likely_file_connection($connection))
|
205
|
9 |
0 |
unless ref $connection eq 'ARRAY'
|
211
|
8 |
1 |
unless ($self->storage->table_exists('__Store__'))
|