Condition Coverage

blib/lib/Mojolicious/Plugin/Notifications/HTML.pm
Criterion Covered Total %
condition 11 13 84.6


and 3 conditions

line !l l&&!r l&&r condition
22 3 0 51 &blessed($_[0]) and $_[0]->isa('Mojolicious::Controller')
24 26 1 27 ref $_[0] and ref $_[0] eq 'HASH'
28 52 0 2 &blessed($msg) && $msg->isa('Mojo::ByteStream')

or 2 conditions

line l !l condition
37 5 5 $param->{'ok_label'} // 'OK'
45 4 6 $param->{'cancel_label'} // 'Cancel'