blib/lib/EventStore/Tiny/EventStream.pm | |||
---|---|---|---|
Criterion | Covered | Total | % |
branch | 18 | 18 | 100.0 |
line | true | false | branch |
---|---|---|---|
27 | 1 | 41 | unless @{$self->events;} |
33 | 3 | 118 | unless @{$self->events;} |
41 | 12 | 25 | unless defined $state |
54 | 1 | 3 | unless defined $selector |
67 | 2 | 39 | if $self->size == 0 |
70 | 1 | 38 | if $self->first_timestamp > $timestamp |
74 | 31 | 7 | if $timestamp == $self->last_timestamp |
89 | 1 | 25 | if $self->size == 0 |
92 | 11 | 14 | if $self->last_timestamp <= $timestamp |