Condition Coverage

lib/Mojolicious/Plugin/BootstrapAlerts.pm
Criterion Covered Total %
condition 14 24 58.3


and 3 conditions

line !l l&&!r l&&r condition
17 6 0 1 $config && exists $$config{'dismissable'} && $$config{'dismissable'} == 0
34 2 3 12 not exists $$config{'dismissable'} and $dismissable
39 11 0 6 ref $message and ref $message eq 'ARRAY'
59 0 5 2 $config and $$config{'auto_inject'}
5 2 0 $config and $$config{'auto_inject'} and $$config{'before'} || $$config{'after'}

or 3 conditions

line l !l&&r !l&&!r condition
34 0 0 17 $$config{'dismissable'} or not exists $$config{'dismissable'} and $dismissable
59 0 2 0 $$config{'before'} || $$config{'after'}
70 0 4 0 $$config{'before'} || $$config{'after'}