blib/lib/JIRA/REST.pm | |||
---|---|---|---|
Criterion | Covered | Total | % |
condition | 0 | 60 | 0.0 |
line | !l | l&&!r | l&&r | condition |
---|---|---|---|---|
34 | 0 | 0 | 0 | defined $args{'username'} and defined $args{'password'} |
100 | 0 | 0 | 0 | @args == 1 and ref $args[0] |
0 | 0 | 0 | @args == 1 and ref $args[0] and ref $args[0] eq "HASH" | |
125 | 0 | 0 | 0 | defined $_ and ref $_ |
0 | 0 | 0 | defined $_ and ref $_ and ref $_ eq "HASH" | |
142 | 0 | 0 | 0 | @args == 1 and ref $args[0] |
0 | 0 | 0 | @args == 1 and ref $args[0] and ref $args[0] eq "HASH" | |
164 | 0 | 0 | 0 | defined $username and defined $password |
170 | 0 | 0 | 0 | defined $username and defined $password |
222 | 0 | 0 | 0 | $type =~ m[text/html]iu and eval { do { require HTML::TreeBuilder } } |
293 | 0 | 0 | 0 | ref $query and ref $query eq "HASH" |
line | l | !l | condition |
---|---|---|---|
124 | 0 | 0 | $_ //= {} |
167 | 0 | 0 | $ENV{'JIRA_REST_IDENTITY'} || 'jira' |
325 | 0 | 0 | $headers ||= {} |
326 | 0 | 0 | $headers->{'Content-Type'} //= "application/json;charset=UTF-8" |
341 | 0 | 0 | $headers ||= {} |
342 | 0 | 0 | $headers->{'Content-Type'} //= "application/json;charset=UTF-8" |
line | l | !l&&r | !l&&!r | condition |
---|---|---|---|---|
32 | 0 | 0 | 0 | $args{'anonymous'} or $args{'pat'} |
41 | 0 | 0 | 0 | not defined $args{$_} or ref $args{$_} |
0 | 0 | 0 | not defined $args{$_} or ref $args{$_} or length $args{$_} == 0 | |
53 | 0 | 0 | 0 | $args{'anonymous'} or $args{'session'} |
133 | 0 | 0 | 0 | $args{'proxy'} //= $proxy |