blib/lib/WebService/BitbucketServer.pm | |||
---|---|---|---|
Criterion | Covered | Total | % |
condition | 6 | 28 | 21.4 |
line | !l | l&&!r | l&&r | condition |
---|---|---|---|---|
119 | 4 | 0 | 0 | @_ == 1 and ref $_[0] eq 'HASH' |
143 | 0 | 0 | 0 | $data_type eq 'application/json' and ref $data |
184 | 0 | 0 | 4 | $self->username and $self->password |
201 | 0 | 0 | 0 | @_ == 1 and ref $_[0] eq 'HASH' |
line | l | !l | condition |
---|---|---|---|
125 | 4 | 0 | $args->{'method'} || 'GET' |
135 | 0 | 4 | $args->{'data_type'} || 'application/json' |
line | l | !l&&r | !l&&!r | condition |
---|---|---|---|---|
119 | 0 | 4 | 0 | @_ == 1 and ref $_[0] eq 'HASH' or @_ % 2 == 0 |
137 | 0 | 0 | 0 | $method eq 'GET' or $method eq 'HEAD' |
186 | 0 | 4 | 0 | $self->no_security_warning or $url =~ /^https/ |
201 | 0 | 0 | 0 | @_ == 1 and ref $_[0] eq 'HASH' or @_ % 2 == 0 |