lib/HTTP/Promise/Headers/Range.pm | |||
---|---|---|---|
Criterion | Covered | Total | % |
branch | 11 | 16 | 68.7 |
line | true | false | branch |
---|---|---|---|
32 | 0 | 5 | if @_ == 1 and $self->_is_a($_[0], "Module::Generic::Null") |
33 | 4 | 1 | if (@_) |
37 | 0 | 4 | if ($self->_is_array($this)) { } |
43 | 0 | 4 | if ref $this and not overload::Method($this, "\"\"") |
45 | 4 | 0 | if ($this =~ s/^([a-zA-Z][a-zA-Z\_]+)[[:blank:]\h]*=[[:blank:]\h]*//) |
55 | 1 | 7 | unless length $start |
56 | 2 | 6 | unless length $end |
63 | 0 | 5 | unless $self->SUPER::init(@_) |