Branch Coverage

blib/lib/Mojolicious/Plugin/WebPush.pm
Criterion Covered Total %
branch 15 24 62.5


line true false branch
32 0 2 if $@
46 0 2 unless $decode_ok
48 1 1 if $@
81 0 3 if $schema ne 'vapid'
92 0 3 if length $receiver_key != 65 or not $receiver_key =~ /^\x04/u
122 1 1 if $tx->res->code == 404 or $tx->res->code == 410
123 0 1 if $tx->res->code > 399
134 0 4 if @config_errors
137 0 4 if $@
145 0 4 grep((!$conf->{$_}), @AUTH_CONF) ? :
163 0 11 if ref $info ne 'HASH'
166 5 6 if @errors