Branch Coverage

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


line true false branch
89 0 0 unless exists $self->headers->{'content-type'}
91 0 0 unless my($type) = $self->headers->{'content-type'} =~ qr" \A ( [^/]+ / [^;]+ ) "msx
112 0 0 unless exists $self->headers->{'content-type'}
114 0 0 unless my(@params) = $self->headers->{'content-type'} =~ qr/ (?:;([^;]+))+ /msx
136 0 0 unless ($force_encoding)
137 0 0 unless my $type = $self->content_type
138 0 0 unless $type =~ qr" \Atext/ "msx
140 0 0 if ($param =~ qr/ \Acharset=(.+)\z /msx)
144 0 0 unless $force_encoding
171 0 0 unless $has_force or exists $whitelist{$self->content_type}
173 0 0 if ($has_force and defined $force) { }
178 0 0 unless $param =~ /\Acharset=(.+)\z/msx