Condition Coverage

blib/lib/RT/Client/REST/Object.pm
Criterion Covered Total %
condition 23 62 37.1


and 3 conditions

line !l l&&!r l&&r condition
69 3 0 21 $settings->{'validation'} and $caller ne "RT::Client::REST::Object::from_form"
91 18 0 4 $self->autosync and $self->can("store")
18 2 2 $self->autosync and $self->can("store") and "id" ne $method
2 0 2 $self->autosync and $self->can("store") and "id" ne $method and "parent_id" ne $method
2 0 2 $self->autosync and $self->can("store") and "id" ne $method and "parent_id" ne $method and $caller ne "RT::Client::REST::Object::from_form"
287 0 0 0 defined $value and $value =~ /,/
302 0 0 0 $settings->{'is_datetime'} and $value eq "Not set"
383 0 0 0 $_->blessed and $_->can("rethrow")
412 0 0 0 $_->blessed and $_->can("rethrow")
434 0 0 2 $_->blessed and $_->can("rethrow")
586 38 0 0 $self->autostore and $self->can("store")

or 2 conditions

line l !l condition
106 10 0 $$self{'_' . $method} || []
374 0 2 delete $opts{'limits'} || []
395 0 0 $limit->{'aggregator'} || 'and'
409 0 2 delete $opts{'orderby'} || 'id'

or 3 conditions

line l !l&&r !l&&!r condition
27 0 20 0 ref $class || $class
475 21 9 0 shift() || (&CORE::GLOBAL::caller(1))[3]
492 0 7 0 shift() || (&CORE::GLOBAL::caller(1))[3]
569 0 1 0 ref $class || $class
580 0 0 0 ref $class || $class
597 0 2 0 ref $class || $class
608 0 2 0 ref $class || $class