line |
true |
false |
branch |
120
|
940 |
0 |
if (defined $server->is_master) { } |
145
|
0 |
940 |
defined $server->is_master->{'tags'} ? : |
|
16 |
924 |
$server->primary ne '' ? : |
|
299 |
641 |
defined $server->is_master->{'setName'} ? : |
|
95 |
845 |
defined $server->is_master->{'setVersion'} ? : |
|
65 |
875 |
defined $server->is_master->{'electionId'} ? : |
|
40 |
900 |
defined $server->is_master->{'logicalSessionTimeoutMinutes'} ? : |
148
|
0 |
0 |
$server->primary ne '' ? : |
193
|
291 |
183 |
if (exists $equality_fields{$key}) |
194
|
30 |
261 |
if (not exists $oldhash{$key}) { } |
|
38 |
223 |
elsif (not defined $newhash{$key} || defined $oldhash{$key}) { } |
|
106 |
117 |
elsif ($newhash{$key} ne $oldhash{$key}) { } |
207
|
136 |
10 |
unless ($equal_servers) |
223
|
146 |
72 |
if ($address) |
229
|
146 |
72 |
if ($new_server) |
255
|
308 |
128 |
$self->replica_set_name ne '' ? : |
|
71 |
365 |
defined $self->max_set_version ? : |
|
61 |
375 |
defined $self->max_election_id ? : |
|
110 |
326 |
defined $self->is_compatible ? : |
|
436 |
0 |
defined $self->compatibility_error ? : |
|
17 |
419 |
defined $self->logical_session_timeout_minutes ? : |