Branch Coverage

blib/lib/EventStore/Tiny.pm
Criterion Covered Total %
branch 12 12 100.0


line true false branch
62 1 246 unless defined $template
90 23 11 if (defined $cached_sn and $cached_sn->timestamp <= $timestamp)
96 10 13 if $es->size == 0
113 2 22 unless defined $self->cache_distance
116 5 17 if not defined $self->_cached_snapshot and $es->size > 0
121 20 2 if @{$es->events;} > $self->cache_distance