Condition Coverage

blib/lib/Git.pm
Criterion Covered Total %
condition 0 61 0.0


and 3 conditions

line !l l&&!r l&&r condition
223 0 0 0 -d "$dir/refs" and -d "$dir/objects"
0 0 0 -d "$dir/refs" and -d "$dir/objects" and -e "$dir/HEAD"
303 0 0 0 defined $_ and chomp $_
495 0 0 0 waitpid($pid, 0) > 0 and $? >> 8 != 0
571 0 0 0 not defined $ret and exists $ENV{'SSH_ASKPASS'}
577 0 0 0 defined $isPassword and $isPassword
1010 0 0 0 $read == 1 and $newline eq "\n"
1084 0 0 0 defined $key && length $key
0 0 0 defined $value and $value =~ /[\n\0]/
1248 0 0 0 defined $$temp_fd and $$temp_fd->opened
1280 0 0 0 $trunc and $temp_fd->opened
1292 0 0 0 defined $$temp_fd and $$temp_fd->opened
1337 0 0 0 sysseek $temp_fd, 0, 0 and seek $temp_fd, 0, 0
1339 0 0 0 sysseek($temp_fd, 0, 1) == 0 and tell $temp_fd == 0
1561 0 0 0 $self->repo_path and $self->wc_path

or 2 conditions

line l !l condition
399 0 0 $ctx ||= ''
632 0 0 $_[0]{'opts'}{'WorkingSubdir'} ||= ''

or 3 conditions

line l !l&&r !l&&!r condition
186 0 0 0 defined $opts{'Repository'} or defined $opts{'WorkingCopy'}
0 0 0 defined $opts{'Repository'} or defined $opts{'WorkingCopy'} or defined $opts{'Directory'}
547 0 0 0 shift() || time
860 0 0 0 lc $type eq 'committer' or lc $type eq 'author'