blib/lib/Mojolicious/Plugin/WebPush.pm | |||
---|---|---|---|
Criterion | Covered | Total | % |
condition | 7 | 15 | 46.6 |
line | l | !l | condition |
---|---|---|---|
60 | 0 | 4 | $conf->{'claim_exp_offset'} || 86400 |
102 | 2 | 0 | $ttl ||= 30 |
103 | 2 | 0 | $urgency ||= 'normal' |
line | l | !l&&r | !l&&!r | condition |
---|---|---|---|---|
92 | 0 | 0 | 3 | length $receiver_key != 65 or not $receiver_key =~ /^\x04/u |
122 | 1 | 0 | 1 | $tx->res->code == 404 or $tx->res->code == 410 |
156 | 0 | 4 | 0 | $conf->{'push_handler'} || $DEFAULT_PUSH_HANDLER |