Condition Coverage

blib/lib/MySQL/Sandbox.pm
Criterion Covered Total %
condition 1 66 1.5


and 3 conditions

line !l l&&!r l&&r condition
283 0 0 0 $v1_major == $v2_major and $v1_minor > $v2_minor
0 0 0 $v1_major == $v2_major and $v1_minor == $v2_minor
0 0 0 $v1_major == $v2_major and $v1_minor == $v2_minor and $v1_rev > $v2_rev
305 0 0 0 $major == 5 and $minor >= 6
320 0 0 0 $operation_dir =~ m[/node\d/data$] and -d '../../master'
329 0 0 0 $server_id >= 100 and $server_id < 109
470 0 0 0 $is_valid_json and $is_valid_json == -1
503 0 0 0 $mode eq '>' and $contents =~ m[\#!/bin/sh]
616 0 0 0 -f $params->{'opt'}{'pid_file'} and -e $params->{'opt'}{'socket'}
660 0 0 0 $sboptions->{'opt'} and $sboptions->{'opt'}{'pid_file'}
0 0 0 $sboptions->{'opt'} and $sboptions->{'opt'}{'pid_file'} and $sboptions->{'opt'}{'socket'}
666 0 0 0 -f $sboptions->{'opt'}{'pid_file'} and -e $sboptions->{'opt'}{'socket'}

or 2 conditions

line l !l condition
38 0 24 $ENV{'SBDEBUG'} || $ENV{'SBVERBOSE'} || 0
208 0 0 $ENV{'SBDEBUG'} || 0
0 0 $ENV{'SBVERBOSE'} || 0
214 0 0 $ENV{'NODE_OPTIONS'} || ''
223 0 0 $ENV{'MASTER_OPTIONS'} || ''
0 0 $ENV{'SLAVE_OPTIONS'} || ''

or 3 conditions

line l !l&&r !l&&!r condition
69 0 0 0 $ENV{'SANDBOX_HOME'} || "$ENV{'HOME'}/sandboxes"
146 0 0 0 is_port_open($chosen_port) or exists $ports->{$chosen_port}
305 0 0 0 $major == 8 or $major == 5 and $minor >= 6
632 0 0 0 $search_path || $options->{'search_path'}
696 0 0 0 exists $ports->{$i} or $i >= $maximum_port
741 0 0 0 $MySQL::Sandbox::REAL_USER_ID == 0 or $MySQL::Sandbox::EFFECTIVE_USER_ID == 0