Branch Coverage

blib/lib/CHI/Driver/Role/IsSizeAware.pm
Criterion Covered Total %
branch 9 14 64.2


line true false branch
20 29 17 $self->can('default_discard_policy') ? :
120 909 0 if (defined(my $key = &$discard_iterator())) { }
121 909 0 if (my $obj = $self->get_object($key))
131 0 909 if (time > $end_time)
138 0 339 if $@
144 70 269 if (ref $discard_policy eq 'CODE') { }
149 269 0 if ($self->can($discard_policy_sub)) { }