Branch Coverage

blib/lib/Testcontainers/Container.pm
Criterion Covered Total %
branch 0 34 0.0


line true false branch
98 0 0 if ($network_settings and ref $network_settings eq "HASH")
102 0 0 if ($bindings and ref $bindings eq "ARRAY" and @$bindings)
128 0 0 if ($docker_host =~ m[^tcp://([^:]+)])
144 0 0 unless $port
147 0 0 unless $port =~ m[/]
150 0 0 unless $mapping
167 0 0 unless $port
169 0 0 unless $port =~ m[/]
172 0 0 unless $mapping
185 0 0 unless $port
230 0 0 if ref $state eq "HASH"
243 0 0 $state->{'Running'} ? :
0 0 if ref $state eq "HASH" and exists $state->{'Running'}
244 0 0 lc($state->{'Status'} // '') eq 'running' ? :
307 0 0 if $self->_terminated
326 0 0 if $in_global_destruction
328 0 0 unless $self->_terminated