lib/HTTP/Promise/Headers/ContentRange.pm | |||
---|---|---|---|
Criterion | Covered | Total | % |
condition | 13 | 29 | 44.8 |
line | !l | l&&!r | l&&r | condition |
---|---|---|---|---|
34 | 1 | 4 | 0 | @_ == 1 and $self->_is_a($_[0], "Module::Generic::Null") |
41 | 1 | 0 | 3 | defined $+{'start'} and length $+{'start'} |
42 | 1 | 0 | 3 | defined $+{'end'} and length $+{'end'} |
43 | 0 | 0 | 4 | defined $+{'size'} and length $+{'size'} |
66 | 4 | 0 | 0 | $start eq "*" and $end eq "*" |
line | l | !l | condition |
---|---|---|---|
59 | 5 | 0 | $self->unit || 'bytes' |
72 | 4 | 0 | $start //= "*" |
73 | 4 | 0 | $end //= "*" |
105 | 0 | 0 | shift @_ || (return $self->error('No property name was provided.')) |
line | l | !l&&r | !l&&!r | condition |
---|---|---|---|---|
64 | 4 | 0 | 1 | defined $start or defined $end |
96 | 0 | 0 | 0 | $end // $start |