Condition Coverage

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


and 3 conditions

line !l l&&!r l&&r condition
1846 0 0 0 exists $kv_record->{'domain'} and exists $kv_record->{'entry'}
3489 0 0 0 exists $kv_record->{'branches'} and defined $kv_record->{'branches'}
3617 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
3624 0 0 0 $i < 3 and $wait_status == 0
0 0 0 $wait_status < 0 and $! == 10
3727 0 0 0 defined $this->{'db_name'} and $this->{'db_name'} eq ':memory:'
3878 0 0 0 $this->{'honour_suspend_certs'} and $ignore
4184 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'
4298 0 0 0 int $this->{'mtn_aif_version'} == 9 and $mtn_version == 0.43
4479 0 0 0 $this->{'cd_to_ws_root'} and not $switch
0 0 0 not $this->{'cd_to_ws_root'} and $switch
4668 0 0 0 $i < scalar @$list and $list->[$i] =~ /$io_stanza_re/
4683 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_]+ ?$/
5026 0 0 0 $read_ok and $in_as_utf8
5168 0 0 0 $colons < 4 and $this->{'mtn_out'}->sysread($header, 1, $i)
5179 0 0 0 $char ne 'm' and $char ne 'l'
5233 0 0 0 $size == 0 and $last eq 'm'
5367 0 0 0 $colons < 3 and $this->{'mtn_out'}->sysread($header, 1, $i)
5450 0 0 0 $stream =~ /^[pt]$/ and defined $details{$stream}{'handle'}
5596 0 0 0 defined $this->{'db_name'} and not defined $this->{'network_service'}
5627 0 0 0 $this->{'cd_to_ws_root'} and defined $this->{'ws_path'}
5717 0 0 0 $i < 10 and ($poll_result = $this->{'poll_out'}->poll($io_wait_handler_timeout)) == 0
5768 0 0 0 $self->interface_version(\$version) and $version =~ /^(\d+\.\d+)$/
5798 0 0 0 not $startup and defined $header_err

or 3 conditions

line l !l&&r !l&&!r condition
1934 0 0 0 exists $kv_record->{'dir'} or exists $kv_record->{'file'}
2162 0 0 0 exists $kv_record->{'file'} or exists $kv_record->{'dir'}
3238 0 0 0 scalar @_ < 2 or scalar @_ > 5
3878 0 0 0 $this->{'honour_suspend_certs'} || $ignore
4112 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
4231 0 0 0 $feature == 4 or $feature == 10
0 0 0 $feature == 4 or $feature == 10 or $feature == 35
0 0 0 $feature == 19 or $feature == 20
0 0 0 $feature == 19 or $feature == 20 or $feature == 27
0 0 0 $feature == 5 or $feature == 12
0 0 0 $feature == 5 or $feature == 12 or $feature == 13
0 0 0 $feature == 5 or $feature == 12 or $feature == 13 or $feature == 21
0 0 0 $feature == 5 or $feature == 12 or $feature == 13 or $feature == 21 or $feature == 36
0 0 0 $feature == 17 or $feature == 22
0 0 0 $feature == 17 or $feature == 22 or $feature == 37
0 0 0 $feature == 2 or $feature == 8
0 0 0 $feature == 2 or $feature == 8 or $feature == 25
0 0 0 $feature == 2 or $feature == 8 or $feature == 25 or $feature == 29
0 0 0 $feature == 26 or $feature == 41
0 0 0 $feature == 1 or $feature == 43
0 0 0 $feature == 30 or $feature == 38
0 0 0 $feature == 30 or $feature == 38 or $feature == 39
0 0 0 $feature == 0 or $feature == 6
0 0 0 $feature == 0 or $feature == 6 or $feature == 9
0 0 0 $feature == 0 or $feature == 6 or $feature == 9 or $feature == 14
0 0 0 $feature == 0 or $feature == 6 or $feature == 9 or $feature == 14 or $feature == 15
0 0 0 $feature == 0 or $feature == 6 or $feature == 9 or $feature == 14 or $feature == 15 or $feature == 16
0 0 0 $feature == 0 or $feature == 6 or $feature == 9 or $feature == 14 or $feature == 15 or $feature == 16 or $feature == 23
0 0 0 $feature == 0 or $feature == 6 or $feature == 9 or $feature == 14 or $feature == 15 or $feature == 16 or $feature == 23 or $feature == 28
0 0 0 $feature == 0 or $feature == 6 or $feature == 9 or $feature == 14 or $feature == 15 or $feature == 16 or $feature == 23 or $feature == 28 or $feature == 31
0 0 0 $feature == 0 or $feature == 6 or $feature == 9 or $feature == 14 or $feature == 15 or $feature == 16 or $feature == 23 or $feature == 28 or $feature == 31 or $feature == 34
0 0 0 $feature == 0 or $feature == 6 or $feature == 9 or $feature == 14 or $feature == 15 or $feature == 16 or $feature == 23 or $feature == 28 or $feature == 31 or $feature == 34 or $feature == 40
0 0 0 $feature == 7 or $feature == 11
0 0 0 $feature == 7 or $feature == 11 or $feature == 32
0 0 0 $feature == 7 or $feature == 11 or $feature == 32 or $feature == 33
4298 0 0 0 $this->{'mtn_aif_version'} >= 10 or int $this->{'mtn_aif_version'} == 9 and $mtn_version == 0.43
5039 0 0 0 $db_locked_exception or $this->{'error_msg'} =~ /$database_locked_re/
5149 0 0 0 $size > 0 or $last eq 'm'
5348 0 0 0 $size > 0 or $stream ne 'l'
5627 0 0 0 defined $this->{'db_name'} or defined $this->{'network_service'}
5737 0 0 0 $char ne "\n" or $last_char ne "\n"
5898 0 0 0 $db->sysread($buffer, 15) != 15 or $buffer ne 'SQLite format 3'
5903 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'