| lib/HTTP/Promise/Headers/ContentType.pm | |||
|---|---|---|---|
| Criterion | Covered | Total | % |
| branch | 7 | 10 | 70.0 |
| line | true | false | branch |
|---|---|---|---|
| 30 | 0 | 44 | if @_ == 1 and $self->_is_a($_[0], "Module::Generic::Null") |
| 31 | 42 | 2 | if (@_) |
| 34 | 0 | 42 | unless defined $str and length "$str" |
| 41 | 0 | 44 | unless $self->SUPER::init(@_) |
| 61 | 1 | 32 | if (@_) { } |