| line |
true |
false |
branch |
|
62
|
1 |
5 |
if (ref $object eq "ARRAY") |
|
70
|
3 |
2 |
if (ref $object eq 'HASH') { } |
|
|
2 |
0 |
elsif (builtin::blessed($object)) { } |
|
73
|
1 |
1 |
if ($object->isa('Mojo::Util::Collection')) { } |
|
|
1 |
0 |
elsif ($object->isa('Mojo::Util::Model')) { } |
|
212
|
3 |
5 |
if (ref $args eq "HASH") |
|
241
|
0 |
2 |
unless $args |
|
|
2 |
0 |
unless $extra |
|
304
|
1 |
3 |
if (ref $object ne ref $self->model) |
|
309
|
4 |
2 |
if ($objects[$i]->pk eq $object->pk) |
|
363
|
0 |
7 |
if ($key_field and $value_field) |
|
433
|
6 |
133 |
if (ref $self->model eq "CODE") |
|
458
|
1 |
4 |
unless ($object) |
|
493
|
2 |
0 |
unless defined $string |
|
498
|
1 |
1 |
if ($direction eq 'asc') { } |
|
499
|
1 |
0 |
if ($string) { } |
|
506
|
1 |
0 |
if ($string) { } |
|
539
|
2 |
1 |
$page > 1 ? : |
|
|
1 |
2 |
$page < $last_page ? : |
|
567
|
0 |
1 |
if (ref $object eq "ARRAY") |
|
576
|
1 |
0 |
if ($self->indexOf($object) >= 0) |
|
648
|
2 |
2 |
unless ($length) |
|
822
|
0 |
27 |
if (builtin::blessed($value) and $value->isa("Mojo::Util::Collection")) |