Condition Coverage

blib/lib/Mojolicious/Plugin/WebPush.pm
Criterion Covered Total %
condition 7 15 46.6


or 2 conditions

line l !l condition
61 0 4 $conf->{'claim_exp_offset'} || 86400
99 2 0 $ttl ||= 30
100 2 0 $urgency ||= 'normal'

or 3 conditions

line l !l&&r !l&&!r condition
89 0 0 3 length $receiver_key != 65 or not $receiver_key =~ /^\x04/u
119 1 0 1 $tx->res->code == 404 or $tx->res->code == 410
152 0 4 0 $conf->{'push_handler'} || $DEFAULT_PUSH_HANDLER