Condition Coverage

blib/lib/Monotone/AutomateStdio.pm
Criterion Covered Total %
condition 0 231 0.0


and 3 conditions

line !l l&&!r l&&r condition
1789 0 0 0 exists $$kv_record{'domain'} and exists $$kv_record{'entry'}
3430 0 0 0 exists $$kv_record{'branches'} and defined $$kv_record{'branches'}
3560 0 0 0 $@ eq 'Monotone::AutomateStdio::waitpid-interrupt' and $wait_status < 0
0 0 0 $@ eq 'Monotone::AutomateStdio::waitpid-interrupt' and $wait_status < 0 and $! == 4
3567 0 0 0 $i < 3 and $wait_status == 0
0 0 0 $wait_status < 0 and $! == 10
3670 0 0 0 defined $$this{'db_name'} and $$this{'db_name'} eq ':memory:'
3821 0 0 0 $$this{'honour_suspend_certs'} and $ignore
4127 0 0 0 defined $handle and not ref($handle) =~ /^IO::[^:]+/
0 0 0 defined $handle and not ref($handle) =~ /^IO::[^:]+/ and ref $handle ne 'GLOB'
0 0 0 defined $handle and not ref($handle) =~ /^IO::[^:]+/ and ref $handle ne 'GLOB' and ref \$handle ne 'GLOB'
4240 0 0 0 int $$this{'mtn_aif_version'} == 9 and $mtn_version == 0.43
4411 0 0 0 $$this{'cd_to_ws_root'} and not $switch
0 0 0 not $$this{'cd_to_ws_root'} and $switch
4600 0 0 0 $i < scalar @$list and $$list[$i] =~ /$io_stanza_re/
4615 0 0 0 $type & 1 and $$list[$i] =~ /^ *[a-z_]+ ([a-z_]+)$/
0 0 0 $type & 2 and $$list[$i] =~ /^ *[a-z_]+ \[([0-9a-f]+)\]$/
0 0 0 $type & 16 and $$list[$i] =~ /^ *[a-z_]+ \[([0-9a-f]*)\]$/
0 0 0 $type & 32 and $$list[$i] =~ /^ *[a-z_]+ \"/
0 0 0 $type & 64 and $$list[$i] =~ /^ *[a-z_]+ \"(.*)\" \[([0-9a-f]+)\]$/
0 0 0 $type & 128 and $$list[$i] =~ /^ *[a-z_]+ \"([^\"]+)\"$/
0 0 0 $type & 256 and $$list[$i] =~ /^ *[a-z_]+ \"([^\"]+)\" (\".*)$/
0 0 0 $type & 512 and $$list[$i] =~ /^ *[a-z_]+ \"(.+)\"$/
0 0 0 $type & 8 and $$list[$i] =~ /^ *[a-z_]+ ?$/
4958 0 0 0 $read_ok and $in_as_utf8
5100 0 0 0 $colons < 4 and $$this{'mtn_out'}->sysread($header, 1, $i)
5111 0 0 0 $char ne 'm' and $char ne 'l'
5165 0 0 0 $size == 0 and $last eq 'm'
5299 0 0 0 $colons < 3 and $$this{'mtn_out'}->sysread($header, 1, $i)
5382 0 0 0 $stream =~ /^[pt]$/ and defined $details{$stream}{'handle'}
5526 0 0 0 defined $$this{'db_name'} and not defined $$this{'network_service'}
5559 0 0 0 $$this{'cd_to_ws_root'} and defined $$this{'ws_path'}
5649 0 0 0 $i < 10 and ($poll_result = $$this{'poll_out'}->poll($io_wait_handler_timeout)) == 0
5700 0 0 0 $self->interface_version(\$version) and $version =~ /^(\d+)\.(\d+)$/
5730 0 0 0 not $startup and defined $header_err

or 3 conditions

line l !l&&r !l&&!r condition
1877 0 0 0 exists $$kv_record{'dir'} or exists $$kv_record{'file'}
2105 0 0 0 exists $$kv_record{'file'} or exists $$kv_record{'dir'}
3181 0 0 0 scalar @_ < 2 or scalar @_ > 5
3821 0 0 0 $$this{'honour_suspend_certs'} || $ignore
4055 0 0 0 not $timeout =~ /^\d*\.{0,1}\d+$/ or $timeout < 0
0 0 0 not $timeout =~ /^\d*\.{0,1}\d+$/ or $timeout < 0 or $timeout > 20
4174 0 0 0 $feature == 4 or $feature == 9
0 0 0 $feature == 4 or $feature == 9 or $feature == 31
0 0 0 $feature == 17 or $feature == 18
0 0 0 $feature == 17 or $feature == 18 or $feature == 25
0 0 0 $feature == 5 or $feature == 10
0 0 0 $feature == 5 or $feature == 10 or $feature == 11
0 0 0 $feature == 5 or $feature == 10 or $feature == 11 or $feature == 19
0 0 0 $feature == 5 or $feature == 10 or $feature == 11 or $feature == 19 or $feature == 32
0 0 0 $feature == 15 or $feature == 20
0 0 0 $feature == 15 or $feature == 20 or $feature == 33
0 0 0 $feature == 2 or $feature == 7
0 0 0 $feature == 2 or $feature == 7 or $feature == 23
0 0 0 $feature == 2 or $feature == 7 or $feature == 23 or $feature == 27
0 0 0 $feature == 24 or $feature == 37
0 0 0 $feature == 1 or $feature == 39
0 0 0 $feature == 28 or $feature == 34
0 0 0 $feature == 28 or $feature == 34 or $feature == 35
0 0 0 $feature == 0 or $feature == 6
0 0 0 $feature == 0 or $feature == 6 or $feature == 8
0 0 0 $feature == 0 or $feature == 6 or $feature == 8 or $feature == 12
0 0 0 $feature == 0 or $feature == 6 or $feature == 8 or $feature == 12 or $feature == 13
0 0 0 $feature == 0 or $feature == 6 or $feature == 8 or $feature == 12 or $feature == 13 or $feature == 14
0 0 0 $feature == 0 or $feature == 6 or $feature == 8 or $feature == 12 or $feature == 13 or $feature == 14 or $feature == 21
0 0 0 $feature == 0 or $feature == 6 or $feature == 8 or $feature == 12 or $feature == 13 or $feature == 14 or $feature == 21 or $feature == 26
0 0 0 $feature == 0 or $feature == 6 or $feature == 8 or $feature == 12 or $feature == 13 or $feature == 14 or $feature == 21 or $feature == 26 or $feature == 29
0 0 0 $feature == 0 or $feature == 6 or $feature == 8 or $feature == 12 or $feature == 13 or $feature == 14 or $feature == 21 or $feature == 26 or $feature == 29 or $feature == 30
0 0 0 $feature == 0 or $feature == 6 or $feature == 8 or $feature == 12 or $feature == 13 or $feature == 14 or $feature == 21 or $feature == 26 or $feature == 29 or $feature == 30 or $feature == 36
4240 0 0 0 $$this{'mtn_aif_version'} >= 10 or int $$this{'mtn_aif_version'} == 9 and $mtn_version == 0.43
4971 0 0 0 $db_locked_exception or $$this{'error_msg'} =~ /$database_locked_re/
5081 0 0 0 $size > 0 or $last eq 'm'
5280 0 0 0 $size > 0 or $stream ne 'l'
5559 0 0 0 defined $$this{'db_name'} or defined $$this{'network_service'}
5669 0 0 0 $char ne "\n" or $last_char ne "\n"
5830 0 0 0 $db->sysread($buffer, 15) != 15 or $buffer ne 'SQLite format 3'
5835 0 0 0 not $db->sysseek(60, 0) or $db->sysread($buffer, 4) != 4
0 0 0 not $db->sysseek(60, 0) or $db->sysread($buffer, 4) != 4 or $buffer ne '_MTN'