Condition Coverage

blib/lib/Stancer/Core/Iterator.pm
Criterion Covered Total %
condition 29 30 96.6


and 3 conditions

line !l l&&!r l&&r condition
96 22 2 21 scalar @elements == 0 and $more
103 1 3 1 builtin::blessed($_) and $_->isa("Stancer::Exceptions::Http::NotFound")
105 1 1 2 builtin::blessed($_) and $_->can("does")
2 1 1 builtin::blessed($_) and $_->can("does") and $_->does("Throwable")
125 6 0 28 defined $created_until and defined $item->created
6 20 8 defined $created_until and defined $item->created and $item->created->epoch > $created_until
140 20 14 2 defined $blessed and $blessed eq "DateTime"
144 20 4 12 defined $blessed and $blessed eq "DateTime::Span"
177 18 2 2 defined $blessed and $blessed eq "DateTime"

or 3 conditions

line l !l&&r !l&&!r condition
215 2 2 4 $data->{'limit'} < 1 or $data->{'limit'} > 100