Condition Coverage

lib/Net/Google/Drive.pm
Criterion Covered Total %
condition 19 54 35.1


and 3 conditions

line !l l&&!r l&&r condition
360 0 0 9 exists $token_info->{'expires_in'} and $token_info->{'expires_in'} > 5

or 3 conditions

line l !l&&r !l&&!r condition
30 1 0 0 $opt{'-client_id'} // croak(q[You must specify '-client_id' param])
31 1 0 0 $opt{'-client_secret'} // croak(q[You must specify '-client_secret' param])
32 1 0 0 $opt{'-access_token'} // croak(q[You must specify '-access_token' param])
33 1 0 0 $opt{'-refresh_token'} // croak(q[You must specify '-refresh_token' param])
46 2 0 0 $opt{'-filename'} || croak(q[You must specify '-filename' param])
55 1 0 0 $opt{'-filename'} || croak(q[You must specify '-filename' param])
65 1 0 0 $opt{'-file_id'} || croak(q[You must specify '-file_id' param])
66 1 0 0 $opt{'-dest_file'} || croak(q[You must specify '-dest_file' param])
106 1 0 0 $opt{'-file_id'} || croak(q[You must specify '-file_id' param])
130 1 0 0 $opt{'-source_file'} || croak(q[You must specify '-source_file' param])
156 1 0 3 $response_code == 200 or $response_code == 201
174 3 0 0 $opt{'-file_id'} || croak(q[You must specify '-file_id' param])
175 3 0 0 $opt{'-type'} || croak(q[You must specify '-type' param])
176 3 0 0 $opt{'-role'} || croak(q[You must specify '-role' param])
226 2 0 0 $opt{'-file_id'} || croak(q[You must specify '-file_id' param])
247 1 0 0 $opt{'-file_id'} || croak(q[You must specify '-file_id' param])
255 0 0 1 not exists $permission->{'type'} or $permission->{'type'} ne 'anyone'