blib/lib/JIRA/REST.pm | |||
---|---|---|---|
Criterion | Covered | Total | % |
condition | 0 | 48 | 0.0 |
line | !l | l&&!r | l&&r | condition |
---|---|---|---|---|
25 | 0 | 0 | 0 | @_ == 1 and ref $_[0] |
0 | 0 | 0 | @_ == 1 and ref $_[0] and ref $_[0] eq 'HASH' | |
58 | 0 | 0 | 0 | defined $args{'username'} and defined $args{'password'} |
71 | 0 | 0 | 0 | defined $_ and ref $_ |
0 | 0 | 0 | defined $_ and ref $_ and ref $_ eq 'HASH' | |
140 | 0 | 0 | 0 | defined $username and defined $password |
146 | 0 | 0 | 0 | defined $username and defined $password |
198 | 0 | 0 | 0 | $type =~ m[text/html]iu and eval { do { require HTML::TreeBuilder } } |
269 | 0 | 0 | 0 | ref $query and ref $query eq 'HASH' |
line | l | !l | condition |
---|---|---|---|
70 | 0 | 0 | $_ //= {} |
143 | 0 | 0 | $ENV{'JIRA_REST_IDENTITY'} || 'jira' |
301 | 0 | 0 | $headers ||= {} |
302 | 0 | 0 | $headers->{'Content-Type'} //= 'application/json;charset=UTF-8' |
317 | 0 | 0 | $headers ||= {} |
318 | 0 | 0 | $headers->{'Content-Type'} //= 'application/json;charset=UTF-8' |
line | l | !l&&r | !l&&!r | condition |
---|---|---|---|---|
65 | 0 | 0 | 0 | not defined $args{$_} or ref $args{$_} |
0 | 0 | 0 | not defined $args{$_} or ref $args{$_} or length $args{$_} == 0 | |
79 | 0 | 0 | 0 | $args{'proxy'} //= $proxy |