Condition Coverage

blib/lib/Mojar/Mysql/Replication.pm
Criterion Covered Total %
condition 0 83 0.0


and 2 conditions

line l !l condition
299 0 0 $required_index = $i and last

and 3 conditions

line !l l&&!r l&&r condition
121 0 0 0 $t->{'state'} and $t->{'state'} =~ /^(?:Slave has|Has) read all relay log/
134 0 0 0 $status->{'master_log_file'} eq $status->{'relay_master_log_file'} && $status->{'read_master_log_pos'} == $status->{'exec_master_log_pos'}
191 0 0 0 not $self->sql_thread_waiting and $waited++ < $self->stop_sql_max_wait
227 0 0 0 $_->{'user'} eq 'system user' and push @candidates, $_
268 0 0 0 $_->{'user'} and $_->{'user'} ne 'system user'
0 0 0 $_->{'user'} and $_->{'user'} ne 'system user' and $_->{'state'}
0 0 0 $_->{'user'} and $_->{'user'} ne 'system user' and $_->{'state'} and $_->{'state'} ne 'Sleep'
0 0 0 $_->{'user'} and $_->{'user'} ne 'system user' and $_->{'state'} and $_->{'state'} ne 'Sleep' and push @candidates, $_
275 0 0 0 defined $c and ref $c
0 0 0 defined $c and ref $c and $c->can('connection')
305 0 0 0 $keep and $#{$logs;} - $keep < $required_index
340 0 0 0 not as_bool($status->{'slave_sql_running'}) and $status->{'last_errno'}

or 2 conditions

line l !l condition
32 0 0 $@ // 'unknown failure'
52 0 0 $@ // 'unknown failure'
73 0 0 $@ // ''
93 0 0 $@ // ''
114 0 0 $@ // 'unknown failure'
141 0 0 $self->connector->connection->selectrow_hashref('SHOW SLAVE STATUS') || {}
145 0 0 $@ // 'unknown failure'
312 0 0 $count //= 1
318 0 0 $where //= '1'

or 3 conditions

line l !l&&r !l&&!r condition
154 0 0 0 $safety //= $self->safety
161 0 0 0 $safety eq 'no_safety' or $safety eq 'emergency'
0 0 0 $safety eq 'max_safety' or $safety eq 'outside_transaction'
0 0 0 $safety eq 'medium_safety' or $safety eq 'trust_transaction'
0 0 0 $safety eq 'low_safety' or $safety eq 'time_limited'
227 0 0 0 $threads // $self->connector->connection->threads
264 0 0 0 $threads //= $self->connector->connection->threads
338 0 0 0 $status //= $self->status
340 0 0 0 $status->{'last_error'} // sprintf('Error: %u', $status->{'last_errno'})