Branch Coverage

lib/HTTP/Promise/Status.pm
Criterion Covered Total %
branch 6 14 42.8


line true false branch
666 0 2 unless $self->SUPER::init(@_)
675 0 0 if $lang =~ /^[a-z]{2}_[A-Z]{2}$/
676 0 0 if exists $$HTTP::Promise::Status::CODES_LANG_SHORT{lc $lang}
684 0 18 unless defined $code and $code =~ /^\d{3}$/
721 0 25 if (scalar @_ == 2) { }
730 0 25 unless exists $HTTP::Promise::Status::CODES_LOCALE->{$lang}
745 10 25 unless defined $code and $code =~ /^\d{3}$/