Condition Coverage

blib/lib/Mojolicious/Plugin/ClosedRedirect.pm
Criterion Covered Total %
condition 9 14 64.2


and 3 conditions

line !l l&&!r l&&r condition
27 5 0 2 $param->{'secrets'} and ref $param->{'secrets'} eq 'ARRAY'
82 0 0 2 $redirect_parts->[0] and $_ eq $redirect_parts->[0]

or 2 conditions

line l !l condition
18 7 0 $param ||= {}
100 21 6 $method //= ''
175 1 9 $err //= 'Redirect is invalid'
201 2 0 $self->{'secrets'} // []