Branch Coverage

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


line true false branch
20 26 14 $self->can('default_discard_policy') ? :
120 788 0 if (defined(my $key = &$discard_iterator())) { }
121 788 0 if (my $obj = $self->get_object($key))
131 0 788 if (time > $end_time)
138 0 295 if $@
144 60 235 if (ref $discard_policy eq 'CODE') { }
149 235 0 if ($self->can($discard_policy_sub)) { }