Condition Coverage

blib/lib/Plack/Middleware/WOVN/Store.pm
Criterion Covered Total %
condition 0 35 0.0


or 2 conditions

line l !l condition
31 0 0 shift() || {}
32 0 0 $args->{'settings'} || {}
42 0 0 $settings->{'user_token'} || ''
142 0 0 eval { do { &JSON::decode_json(scalar $res->content) } } || {}

or 3 conditions

line l !l&&r !l&&!r condition
53 0 0 0 length $user_token < 5 or length $user_token > 6
57 0 0 0 not defined $secret_key or $secret_key eq ''
62 0 0 0 not defined $url_pattern or $url_pattern eq ''
67 0 0 0 not $query or ref $query ne 'ARRAY'
72 0 0 0 not defined $api_url or $api_url eq ''
76 0 0 0 not defined $default_lang or $default_lang eq ''
81 0 0 0 not $supported_langs or ref $supported_langs ne 'ARRAY'
0 0 0 not $supported_langs or ref $supported_langs ne 'ARRAY' or @$supported_langs < 1
117 0 0 0 not $settings->{'test_mode'} or $settings->{'test_mode'} ne 'on'