Condition Coverage

blib/lib/Bb/Collaborate/Ultra/DAO.pm
Criterion Covered Total %
condition 6 59 10.1


and 3 conditions

line !l l&&!r l&&r condition
61 0 0 0 $connection and $data
0 0 0 $connection and $data and $connection->can('POST')
113 0 0 0 $connection and $connection->can('GET')
207 0 0 0 ref $self && $self->id
477 161 0 34 $format and $format eq 'DATE_TIME'

or 2 conditions

line l !l condition
84 0 0 shift() || $self->connection || die('no connected')
110 0 0 shift() // {}
139 0 0 shift() || $self->connection || die('Not connected')
142 0 0 shift() || {'id', $self->id}

or 3 conditions

line l !l&&r !l&&!r condition
65 0 0 0 $opt{'path'} || $class->path
86 0 0 0 shift() || $self->_pending_updates
87 0 0 0 ref $self || $self
112 0 0 0 ref $self || $self
119 0 0 0 $path ||= $query_data->{'id'} ? $class->resource . '/' . $query_data->{'id'} : $class->resource
201 0 0 0 $parent ||= $self->parent
243 0 0 0 not defined $old_val or $self->_compare($types->{$fld}, $old_val, $new_val)
358 0 5 0 shift() || $self->_raw_data
363 0 0 0 $prop_types->{$fld} || $param_types->{$fld} || do { warn +(ref $self || $self) . ": unknown field/query-parameter: $fld"; 'Str' }
394 0 0 0 ref $self || $self
463 5 28 0 $enums{$enum_name} ||= Mouse::Util::TypeConstraints::enum($enum_name, \@enum)
472 0 0 159 $isa eq 'Object' or $isa eq 'Array'