Branch Coverage

blib/lib/Couchbase/Test/Common.pm
Criterion Covered Total %
branch 0 36 0.0


line true false branch
22 0 0 if (defined $msg)
23 0 0 ref $cls ? :
37 0 0 unless ($Mock)
45 0 0 unless ($have_confua)
68 0 0 if ($RealServer)
74 0 0 if (not $bucket_type) { }
0 0 elsif ($bucket_type =~ /mem/) { }
0 0 elsif ($bucket_type =~ /couch/) { }
85 0 0 unless my $bucket = $self->mock->buckets->[0]
86 0 0 if ($bucket_type == 1) { }
0 0 elsif ($bucket == 2) { }
90 0 0 unless not $$_{'type'}
93 0 0 unless ($bucket)
97 0 0 if ($$bucket{'password'})
107 0 0 unless ($MemdPort)
130 0 0 if ($RealServer and not ref $RealServer) { }
135 0 0 if $k =~ /server|bucket|username|password|memd_port/
145 0 0 if ($@ || !$Mock and $$ == $init_pid)