Condition Coverage

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


and 3 conditions

line !l l&&!r l&&r condition
225 0 0 0 -d "$dir/refs" and -d "$dir/objects"
0 0 0 -d "$dir/refs" and -d "$dir/objects" and -e "$dir/HEAD"
305 0 0 0 defined $_ and chomp $_
497 0 0 0 waitpid($pid, 0) > 0 and $? >> 8 != 0
573 0 0 0 not defined $ret and exists $ENV{'SSH_ASKPASS'}
579 0 0 0 defined $isPassword and $isPassword
1012 0 0 0 $read == 1 and $newline eq "\n"
1086 0 0 0 defined $key && length $key
0 0 0 defined $value and $value =~ /[\n\0]/
1250 0 0 0 defined $$temp_fd and $$temp_fd->opened
1282 0 0 0 $trunc and $temp_fd->opened
1294 0 0 0 defined $$temp_fd and $$temp_fd->opened
1342 0 0 0 sysseek $temp_fd, 0, 0 and seek $temp_fd, 0, 0
1344 0 0 0 sysseek($temp_fd, 0, 1) == 0 and tell $temp_fd == 0
1566 0 0 0 $self->repo_path and $self->wc_path

or 2 conditions

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

or 3 conditions

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