Condition Coverage

blib/lib/Mojo/Util/Collection.pm
Criterion Covered Total %
condition 13 29 44.8


and 3 conditions

line !l l&&!r l&&r condition
363 0 7 0 $key_field and $value_field
822 27 0 0 builtin::blessed($value) and $value->isa("Mojo::Util::Collection")

or 2 conditions

line l !l condition
492 1 1 $direction ||= "asc"
530 3 0 $page ||= 1
630 4 0 $start //= 0
649 1 1 $offset || 1

or 3 conditions

line l !l&&r !l&&!r condition
243 1 1 0 $self->find($args) || $self->newObject(%new_args)
271 1 1 0 $self->first || $self->newObject(%$args)
331 0 0 0 $key ||= $self->model->primary_key
414 0 0 0 $key ||= $self->model->primary_key
631 4 0 0 $end //= $self->count - $start