Condition Coverage

blib/lib/JIRA/Client/Automated.pm
Criterion Covered Total %
condition 17 67 25.3


and 3 conditions

line !l l&&!r l&&r condition
190 0 0 1 defined $url and $url
194 0 0 1 defined $user and $user
0 0 1 defined $user and $user and defined $password
0 0 1 defined $user and $user and defined $password and $password
298 0 0 8 defined $self->{'user'} and defined $self->{'password'}
372 1 0 1 $i->{'name'} eq $issuetype and exists $i->{'fields'}

or 2 conditions

line l !l condition
303 0 0 $request->decoded_content // ''
310 0 0 $response->decoded_content // ''
316 0 0 $handlers ||= {}
319 0 0 $$handlers{$response->code} || sub { return $self->_handle_error_response($response, $request); }
588 0 0 $type ||= 'Sub-task'
730 0 0 join(', ', sort(@trans2status)) || ''
859 0 0 $comment //= 'Issue closed by script'
860 0 0 $operation //= ['Close Issue', 'Close', 'Closed']
862 0 0 $update_hash ||= {}
992 0 0 $fields ||= ['*navigable']
1044 0 0 $max //= 100

or 3 conditions

line l !l&&r !l&&!r condition
193 1 0 0 defined $user || defined $password
194 0 1 0 $no_user_pwd or defined $user and $user and defined $password and $password
401 16 2 0 $self->{'custom_field_conversion_map'}{$project}{$issuetype} ||= $self->_custom_field_conversion_map($project, $issuetype)
403 4 14 0 $self->{'custom_field_conversion_map'}{$project}{$issuetype}{'english_to_customfield'}{$field_name} || $field_name
409 17 0 0 $self->{'custom_field_conversion_map'}{$project}{$issuetype} ||= $self->_custom_field_conversion_map($project, $issuetype)
464 2 0 0 $self->{'custom_field_conversion_map'}{$project}{$issuetype} ||= $self->_custom_field_conversion_map($project, $issuetype)
472 8 0 0 $self->{'custom_field_conversion_map'}{$project}{$issuetype} ||= $self->_custom_field_conversion_map($project, $issuetype)
474 8 0 0 $self->{'custom_field_conversion_map'}{$project}{$issuetype}{'customfield_to_english'}{$field_name} || $field_name
723 0 0 0 $trans_names{$_} // $status_names{$_}