Condition Coverage

blib/lib/Mojolicious/Plugin/Notifications.pm
Criterion Covered Total %
condition 13 20 65.0


and 3 conditions

line !l l&&!r l&&r condition
68 77 0 0 not $debug and $type eq 'debug'
101 44 0 11 $flash and ref $flash eq 'ARRAY'
122 29 17 1 $param[-1] and index($param[-1], '-') == 0

or 2 conditions

line l !l condition
25 10 0 $param ||= {}

or 3 conditions

line l !l&&r !l&&!r condition
68 0 0 77 not $type =~ /$TYPE_RE/u or not $debug and $type eq 'debug'
96 30 25 0 $c->stash->{'notify.array'} //= c()
116 42 4 9 $notes->size or @_