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
296 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
318 0 0 0 $major == 5 and $minor >= 6
333 0 0 0 $operation_dir =~ m[/node\d/data$] and -d '../../master'
342 0 0 0 $server_id >= 100 and $server_id < 109
483 0 0 0 $is_valid_json and $is_valid_json == -1
516 0 0 0 $mode eq '>' and $contents =~ m[\#!/bin/sh]
629 0 0 0 -f $params->{'opt'}{'pid_file'} and -e $params->{'opt'}{'socket'}
673 0 0 0 $sboptions->{'opt'} and $sboptions->{'opt'}{'pid_file'}
0 0 0 $sboptions->{'opt'} and $sboptions->{'opt'}{'pid_file'} and $sboptions->{'opt'}{'socket'}
679 0 0 0 -f $sboptions->{'opt'}{'pid_file'} and -e $sboptions->{'opt'}{'socket'}

or 2 conditions

line l !l condition
39 0 24 $ENV{'SBDEBUG'} || $ENV{'SBVERBOSE'} || 0
220 0 0 $ENV{'SBDEBUG'} || 0
0 0 $ENV{'SBVERBOSE'} || 0
226 0 0 $ENV{'NODE_OPTIONS'} || ''
235 0 0 $ENV{'MASTER_OPTIONS'} || ''
0 0 $ENV{'SLAVE_OPTIONS'} || ''

or 3 conditions

line l !l&&r !l&&!r condition
70 0 0 0 $ENV{'SANDBOX_HOME'} || "$ENV{'HOME'}/sandboxes"
147 0 0 0 is_port_open($chosen_port) or exists $ports->{$chosen_port}
318 0 0 0 $major == 8 or $major == 5 and $minor >= 6
645 0 0 0 $search_path || $options->{'search_path'}
709 0 0 0 exists $ports->{$i} or $i >= $maximum_port
754 0 0 0 $MySQL::Sandbox::REAL_USER_ID == 0 or $MySQL::Sandbox::EFFECTIVE_USER_ID == 0