blib/lib/CloudApp/REST.pm | |||
---|---|---|---|
Criterion | Covered | Total | % |
condition | 0 | 23 | 0.0 |
line | !l | l&&!r | l&&r | condition |
---|---|---|---|---|
272 | 0 | 0 | 0 | $params->{'name'} and $params->{'uri'} |
657 | 0 | 0 | 0 | defined $method and $method |
line | l | !l | condition |
---|---|---|---|
204 | 0 | 0 | $params->{'per_page'} || $params->{'limit'} || 5 |
402 | 0 | 0 | $params->{'username'} || $params->{'user'} || $self->username || die('You have to provide a username') |
403 | 0 | 0 | $params->{'password'} || $params->{'pass'} || $self->password || die('You have to provide a password') |
635 | 0 | 0 | $params->{'uri'} || die('No URI given!') |
line | l | !l&&r | !l&&!r | condition |
---|---|---|---|---|
137 | 0 | 0 | 0 | $params->{'uri'} || ($params->{'slug'} ? $self->public_base_url . $params->{'slug'} : die(q[No 'uri' or 'slug' given])) |
205 | 0 | 0 | 0 | $params->{'page'} || ($params->{'offset'} ? int $params->{'offset'} / $per_page : 1) |
670 | 0 | 0 | 0 | $res->code == 303 or $res->code == 302 |