Branch Coverage

blib/lib/Mojolicious/Plugin/Notifications/HTML.pm
Criterion Covered Total %
branch 15 16 93.7


line true false branch
22 51 3 if &blessed($_[0]) and $_[0]->isa("Mojolicious::Controller")
24 27 27 if ref $_[0] and ref $_[0] eq "HASH"
28 2 52 &blessed($msg) && $msg->isa('Mojo::ByteStream') ? :
31 27 27 if ($param)
34 10 17 if ($param->{'ok'})
36 9 1 if $c
42 10 17 if ($param->{'cancel'})
44 10 0 if $c