Condition Coverage

blib/lib/Backblaze/B2V2Client.pm
Criterion Covered Total %
condition 4 59 6.7


and 3 conditions

line !l l&&!r l&&r condition
27 0 0 1 $application_key_id and $application_key
106 0 1 0 $self->{'current_status'} eq 'OK' and $save_to_location
122 0 0 0 $bucket_name and $file_name
138 0 0 0 $self->{'current_status'} eq 'OK' and $save_to_location
156 0 0 0 $save_to_location and -d "$save_to_location"
162 0 0 0 $self->{'b2_response'}{'X-Bz-File-Name'} and length $self->{'b2_response'}{'file_contents'}
192 0 0 0 $args{'file_location'} and -e "$args{'file_location'}"
206 0 0 0 $args{'bucket_name'} and $args{'new_file_name'}
318 0 0 0 $bucket_name and not $self->{'buckets'}{$bucket_name}
0 0 0 $bucket_name and not $self->{'buckets'}{$bucket_name} and $auto_create_bucket
501 0 0 0 $file_name and $file_id
530 0 0 0 $args{'file_location'} and -e "$args{'file_location'}"

or 2 conditions

line l !l condition
70 1 0 $self->{'b2_response'}{'recommendedPartSize'} || 104857600
212 0 0 $args{'content_type'} ||= 'b2/x-auto'
355 0 0 $args{'prefix'} // undef
0 0 $args{'delimiter'} // undef
557 0 0 $args{'content_type'} ||= 'b2/x-auto'
769 0 0 $url ||= 'N/A'
770 0 0 $response_code ||= 'N/A'

or 3 conditions

line l !l&&r !l&&!r condition
355 0 0 0 $args{'startFileName'} // $self->{'buckets'}{$bucket_name}{'next_file_name'}
0 0 0 $args{'maxFileCount'} // $B2_MAX_FILE_COUNT
738 0 0 2 $@ or $response_code ne '200'