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 6 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); }
574 0 0 $type ||= 'Sub-task'
712 0 0 join(', ', sort(@trans2status)) || ''
841 0 0 $comment //= 'Issue closed by script'
842 0 0 $operation //= ['Close Issue', 'Close', 'Closed']
844 0 0 $update_hash ||= {}
974 0 0 $fields ||= ['*navigable']
1026 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 13 2 0 $self->{'custom_field_conversion_map'}{$project}{$issuetype} ||= $self->_custom_field_conversion_map($project, $issuetype)
403 2 13 0 $self->{'custom_field_conversion_map'}{$project}{$issuetype}{'english_to_customfield'}{$field_name} || $field_name
409 16 0 0 $self->{'custom_field_conversion_map'}{$project}{$issuetype} ||= $self->_custom_field_conversion_map($project, $issuetype)
450 1 0 0 $self->{'custom_field_conversion_map'}{$project}{$issuetype} ||= $self->_custom_field_conversion_map($project, $issuetype)
458 4 0 0 $self->{'custom_field_conversion_map'}{$project}{$issuetype} ||= $self->_custom_field_conversion_map($project, $issuetype)
460 4 0 0 $self->{'custom_field_conversion_map'}{$project}{$issuetype}{'customfield_to_english'}{$field_name} || $field_name
705 0 0 0 $trans_names{$_} // $status_names{$_}