Condition Coverage

blib/lib/Class/Simple/Cached.pm
Criterion Covered Total %
condition 13 25 52.0


and 3 conditions

line !l l&&!r l&&r condition
83 0 0 3 $params->{'cache'}->can("get") and $params->{'cache'}->can("set")
0 0 3 $params->{'cache'}->can("get") and $params->{'cache'}->can("set") and $params->{'cache'}->can("purge")
173 0 0 0 defined $^V and $^V ge "v5.14.0"

or 2 conditions

line l !l condition
69 0 1 Params::Get::get_params(undef, @_) || {}
74 11 0 Params::Get::get_params('cache', @_) || {}

or 3 conditions

line l !l&&r !l&&!r condition
77 3 8 0 $params->{'object'} ||= "Class::Simple"->new(%{$params;})
105 2 0 2 $method eq 'new' || $self->{'object'}->can($method) || $self->SUPER::can($method)
118 8 0 3 $class eq ref $self or $class eq __PACKAGE__
8 1 2 $class eq ref $self or $class eq __PACKAGE__ or $self->SUPER::isa($class)