blib/lib/WebService/Pixela.pm | |||
---|---|---|---|
Criterion | Covered | Total | % |
condition | 10 | 20 | 50.0 |
line | !l | l&&!r | l&&r | condition |
---|---|---|---|---|
97 | 0 | 0 | 1 | defined $content and %$content |
111 | 0 | 0 | 1 | defined $content and %$content |
line | l | !l | condition |
---|---|---|---|
38 | 1 | 42 | $args{'base_url'} // 'https://pixe.la/' |
39 | 1 | 42 | $args{'decode'} // 1 |
121 | 0 | 0 | $length //= 0 |
133 | 0 | 0 | $length //= 0 |
line | l | !l&&r | !l&&!r | condition |
---|---|---|---|---|
36 | 43 | 1 | 0 | $args{'username'} // croak('require username') |
37 | 42 | 0 | 1 | $args{'token'} // (carp('not input token'), undef) |