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
288 0 0 6 defined $self->{'user'} and defined $self->{'password'}
362 1 1 0 $i->{'name'} eq $issuetype and exists $i->{'fields'}

or 2 conditions

line l !l condition
293 0 0 $request->decoded_content // ''
300 0 0 $response->decoded_content // ''
306 0 0 $handlers ||= {}
309 0 0 $$handlers{$response->code} || sub { return $self->_handle_error_response($response, $request); }
562 0 0 $type ||= 'Sub-task'
701 0 0 join(', ', sort(@trans2status)) || ''
830 0 0 $comment //= 'Issue closed by script'
831 0 0 $operation //= ['Close Issue', 'Close', 'Closed']
833 0 0 $update_hash ||= {}
963 0 0 $fields ||= ['*navigable']
1015 0 0 $max //= 100

or 3 conditions

line l !l&&r !l&&!r condition
193 1 0 0 defined $user || defined $password
194 0 0 1 $no_user_pwd or defined $user and $user and defined $password and $password
391 13 2 0 $self->{'custom_field_conversion_map'}{$project}{$issuetype} ||= $self->_custom_field_conversion_map($project, $issuetype)
393 2 13 0 $self->{'custom_field_conversion_map'}{$project}{$issuetype}{'english_to_customfield'}{$field_name} || $field_name
399 16 0 0 $self->{'custom_field_conversion_map'}{$project}{$issuetype} ||= $self->_custom_field_conversion_map($project, $issuetype)
440 1 0 0 $self->{'custom_field_conversion_map'}{$project}{$issuetype} ||= $self->_custom_field_conversion_map($project, $issuetype)
448 4 0 0 $self->{'custom_field_conversion_map'}{$project}{$issuetype} ||= $self->_custom_field_conversion_map($project, $issuetype)
450 4 0 0 $self->{'custom_field_conversion_map'}{$project}{$issuetype}{'customfield_to_english'}{$field_name} || $field_name
694 0 0 0 $trans_names{$_} // $status_names{$_}