Branch Coverage

lib/Net/Travis/API/UA/Response.pm
Criterion Covered Total %
branch 0 24 0.0


line true false branch
88 0 0 unless exists $self->headers->{'content-type'}
90 0 0 unless my($type) = $self->headers->{'content-type'} =~ qr" \A ( [^/]+ / [^;]+ ) "msx
111 0 0 unless exists $self->headers->{'content-type'}
112 0 0 unless my(@params) = $self->headers->{'content-type'} =~ qr/ (?:;([^;]+))+ /msx
135 0 0 unless ($force_encoding)
136 0 0 unless my $type = $self->content_type
137 0 0 unless $type =~ qr" \Atext/ "msx
139 0 0 if ($param =~ qr/ \Acharset=(.+)\z /msx)
143 0 0 unless $force_encoding
170 0 0 unless $has_force or exists $whitelist{$self->content_type}
172 0 0 if ($has_force and defined $force) { }
177 0 0 unless $param =~ /\Acharset=(.+)\z/msx