Condition Coverage

lib/App/gh/Git.pm
Criterion Covered Total %
condition 0 43 0.0


and 3 conditions

line !l l&&!r l&&r condition
207 0 0 0 -d "$dir/refs" and -d "$dir/objects"
0 0 0 -d "$dir/refs" and -d "$dir/objects" and -e "$dir/HEAD"
287 0 0 0 defined $_ and chomp $_
476 0 0 0 waitpid($pid, 0) > 0 and $? >> 8 != 0
956 0 0 0 $read == 1 and $newline eq "\n"
1052 0 0 0 $trunc and $temp_fd->opened
1064 0 0 0 defined $$temp_fd and $$temp_fd->opened
1109 0 0 0 sysseek $temp_fd, 0, 0 and seek $temp_fd, 0, 0
1111 0 0 0 sysseek($temp_fd, 0, 1) == 0 and tell $temp_fd == 0
1333 0 0 0 $self->repo_path and $self->wc_path

or 2 conditions

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

or 3 conditions

line l !l&&r !l&&!r condition
170 0 0 0 defined $opts{'Repository'} or defined $opts{'WorkingCopy'}
0 0 0 defined $opts{'Repository'} or defined $opts{'WorkingCopy'} or defined $opts{'Directory'}
808 0 0 0 lc $type eq 'committer' or lc $type eq 'author'