blib/lib/Mojolicious/Plugin/Notifications/Humane.pm | |||
---|---|---|---|
Criterion | Covered | Total | % |
branch | 18 | 22 | 81.8 |
line | true | false | branch |
---|---|---|---|
37 | 1 | 8 | if ref $post[0] and ref $post[0] eq 'ARRAY' |
39 | 0 | 9 | unless @$notify_array or @$types |
44 | 9 | 0 | unless ($rule->{'no_include'}) |
47 | 9 | 0 | unless ($rule->{'no_css'}) |
66 | 7 | 8 | if (scalar @{$_;} == 3) |
74 | 3 | 4 | if ($param{'ok'}) { } |
79 | 2 | 1 | if (delete $param{'cancel'}) |
87 | 3 | 0 | if keys %param |
99 | 1 | 3 | if (delete $param{'cancel'}) |
102 | 3 | 1 | if keys %param |
109 | 8 | 1 | if $log |