| line |
true |
false |
branch |
|
190
|
0 |
1 |
unless (defined $url and $url) |
|
194
|
0 |
1 |
unless ($no_user_pwd or defined $user and $user and defined $password and $password) |
|
198
|
1 |
0 |
unless ($url =~ m[/$]) |
|
204
|
1 |
0 |
unless ($auth_url =~ m[/rest/api/]) |
|
207
|
0 |
1 |
unless ($auth_url =~ m[/$]) |
|
213
|
0 |
1 |
unless ($auth_url =~ m[https?://]) |
|
247
|
0 |
0 |
if @_ |
|
264
|
0 |
16 |
if @_ |
|
273
|
0 |
0 |
if ($response->decoded_content) |
|
274
|
0 |
0 |
if ($response->content_type eq 'application/json') { } |
|
282
|
0 |
0 |
if ($request->decoded_content) |
|
283
|
0 |
0 |
if ($request->content_type eq 'application/json') { } |
|
298
|
8 |
0 |
if (defined $self->{'user'} and defined $self->{'password'}) |
|
302
|
0 |
8 |
if ($self->trace) |
|
309
|
0 |
8 |
if ($self->trace) |
|
314
|
8 |
0 |
if $response->is_success |
|
370
|
2 |
0 |
if ($p->{'key'} eq $project) |
|
372
|
1 |
0 |
if $i->{'name'} eq $issuetype and exists $i->{'fields'} |
|
387
|
4 |
9 |
if ($cf =~ /^customfield_/) |
|
412
|
4 |
13 |
if ($custom_field_name) { } |
|
416
|
4 |
0 |
if (exists $custom_field_defn->{'allowedValues'}) { } |
|
418
|
0 |
4 |
unless my $custom_field_id = $custom_values{$field_value}{'id'} |
|
436
|
2 |
14 |
if (ref $value eq 'ARRAY') { } |
|
451
|
1 |
0 |
if ($update) |
|
482
|
10 |
14 |
if (not $_ =~ /^customfield_/) { } |
|
495
|
8 |
0 |
if (exists $fields->{$cfname}) { } |
|
498
|
2 |
6 |
if (ref $value eq 'ARRAY') { } |
|
|
4 |
2 |
elsif (ref $value eq 'HASH') { } |
|
499
|
6 |
0 |
ref $_ eq 'HASH' ? : |
|
559
|
0 |
3 |
unless $fields |
|
587
|
0 |
0 |
unless $parent_key |
|
640
|
1 |
0 |
if $field_update_hash |
|
641
|
1 |
0 |
if $update_verb_hash |
|
722
|
0 |
0 |
ref $t_name ? : |
|
726
|
0 |
0 |
unless (defined $tran) |
|
734
|
0 |
0 |
unless wantarray |
|
868
|
0 |
0 |
if $resolve |
|
1014
|
0 |
0 |
if ($response->code == 400) |
|
1050
|
0 |
0 |
if ($results->{'errors'}) |
|
1128
|
0 |
0 |
unless $url =~ m[/$] |
|
1182
|
0 |
0 |
if ($response->code != 201) |
|
1231
|
0 |
0 |
if ($response->code != 204) |
|
1306
|
0 |
0 |
if ($response->code != 201) |