line |
true |
false |
branch |
131
|
11 |
22 |
if ($mockified) |
132
|
8 |
3 |
if ($class eq 'Net::LDAP') { } |
|
1 |
2 |
elsif (not $class->isa('Test::Net::LDAP::Mock')) { } |
180
|
23 |
10 |
if @_ % 2 |
183
|
12 |
21 |
if ($mock_target) |
186
|
4 |
8 |
if (ref $mock_target eq 'CODE') { } |
|
4 |
4 |
elsif (ref $mock_target eq 'ARRAY') { } |
|
0 |
4 |
elsif (ref $mock_target eq 'HASH') { } |
196
|
12 |
0 |
if defined $new_host |
197
|
8 |
4 |
if defined $new_arg |
205
|
1 |
32 |
if (ref $host) |
209
|
23 |
10 |
if (length $host) { } |
210
|
21 |
2 |
if ($scheme ne 'ldapi') |
211
|
10 |
11 |
if ($$arg{'port'}) { } |
|
11 |
0 |
elsif (not $host =~ /:\d+$/) { } |
263
|
0 |
4 |
if ($mockified) { } |
272
|
0 |
4 |
if $error |
417
|
3 |
3 |
if (@_) { } |
421
|
1 |
2 |
if (@_ >= 2) { } |
|
0 |
2 |
elsif (@_ == 1) { } |