Condition Coverage

blib/lib/WebService/Dropbox.pm
Criterion Covered Total %
condition 7 43 16.2


and 3 conditions

line !l l&&!r l&&r condition
96 0 0 0 $self->access_token and $args->{'url'} ne 'https://notify.dropboxapi.com/2/files/list_folder/longpoll'
148 0 0 0 not $res_json and $res->header('Content-Type') =~ qr" \A (?:application/json|text/javascript) "msx
152 0 0 0 $res_json and $res_json ne 'null'
177 0 0 0 $args->{'content'} && $params
219 0 0 0 $args->{'content'} and UNIVERSAL::can($args->{'content'}, 'read')
240 0 0 0 $args->{'content'} and ref $args->{'content'} eq 'HASH'

or 2 conditions

line l !l condition
69 0 2 $args->{'timeout'} || 86400
0 2 $args->{'key'} || ''
0 2 $args->{'secret'} || ''
0 2 $args->{'access_token'} || ''
1 1 $args->{'env_proxy'} || 0
94 0 0 $args->{'headers'} ||= []
177 0 0 $req->protocol || ''
204 0 0 $res_data || {}

or 3 conditions

line l !l&&r !l&&!r condition
41 0 0 8 $@ or $Furl::VERSION < 3.08
156 0 0 0 $WebService::Dropbox::DEBUG or not $is_success
184 0 0 0 $res_json || $decoded_content