line |
true |
false |
branch |
160
|
0 |
0 |
if (defined $args[0]) |
161
|
0 |
0 |
if ($#args % 2 != 1) { } |
163
|
0 |
0 |
unless $#args == 0 |
170
|
0 |
0 |
unless (defined $opts{'Repository'} or defined $opts{'WorkingCopy'} or defined $opts{'Directory'}) |
175
|
0 |
0 |
if (defined $opts{'Directory'}) |
176
|
0 |
0 |
unless -d $opts{'Directory'} |
187
|
0 |
0 |
if ($dir) { } |
188
|
0 |
0 |
unless $dir =~ m[^/] |
194
|
0 |
0 |
if ($prefix) |
195
|
0 |
0 |
if (substr($dir, -length($prefix)) ne $prefix) |
207
|
0 |
0 |
unless (-d "$dir/refs" and -d "$dir/objects" and -e "$dir/HEAD") |
268
|
0 |
0 |
if (not defined wantarray) { } |
|
0 |
0 |
elsif (not wantarray) { } |
314
|
0 |
0 |
if defined $line |
402
|
0 |
0 |
if ($self) |
408
|
0 |
0 |
if $cwd_save |
435
|
0 |
0 |
unless (close $fh) |
436
|
0 |
0 |
if ($!) { } |
|
0 |
0 |
elsif ($? >> 8) { } |
446
|
0 |
0 |
if ($? >> 8) |
471
|
0 |
0 |
if (not defined $pid) { } |
|
0 |
0 |
elsif ($pid == 0) { } |
476
|
0 |
0 |
if (waitpid($pid, 0) > 0 and $? >> 8 != 0) |
554
|
0 |
0 |
unless $self->wc_path |
557
|
0 |
0 |
unless -d $self->wc_path . '/' . $subdir |
582
|
0 |
0 |
if $self |
583
|
0 |
0 |
if (wantarray) { } |
590
|
0 |
0 |
if ($E->value == 1) { } |
615
|
0 |
0 |
if $self |
617
|
0 |
0 |
unless defined $val |
621
|
0 |
0 |
if ($E->value == 1) { } |
645
|
0 |
0 |
if $self |
646
|
0 |
0 |
if (wantarray) { } |
653
|
0 |
0 |
if ($E->value == 1) { } |
679
|
0 |
0 |
if $self |
683
|
0 |
0 |
if ($E->value == 1) { } |
701
|
0 |
0 |
-t STDOUT ? : |
721
|
0 |
0 |
unless (defined $color) |
750
|
0 |
0 |
if (ref $groups eq 'ARRAY') |
752
|
0 |
0 |
if ($_ eq 'heads') { } |
|
0 |
0 |
elsif ($_ eq 'tags') { } |
763
|
0 |
0 |
if (ref $refglobs eq 'ARRAY') |
767
|
0 |
0 |
$self ? : |
808
|
0 |
0 |
if (lc $type eq 'committer' or lc $type eq 'author') { } |
810
|
0 |
0 |
if $self |
815
|
0 |
0 |
if (wantarray) { } |
824
|
0 |
0 |
$self ? : |
|
0 |
0 |
if $#ident == 0 |
861
|
0 |
0 |
if $filename =~ /[\r\n]/ |
866
|
0 |
0 |
unless (print $out $filename, "\n") |
872
|
0 |
0 |
unless (defined $hash) |
883
|
0 |
0 |
if defined $$self{'hash_object_pid'} |
893
|
0 |
0 |
unless defined $$self{'hash_object_pid'} |
914
|
0 |
0 |
unless (print $out $sha1, "\n") |
920
|
0 |
0 |
if ($description =~ / missing$/) |
925
|
0 |
0 |
unless ($description =~ /^[0-9a-fA-F]{40} \S+ (\d+)$/) |
937
|
0 |
0 |
unless $bytesLeft |
939
|
0 |
0 |
$bytesLeft < 1024 ? : |
941
|
0 |
0 |
unless (defined $read) |
952
|
0 |
0 |
unless (defined $read) |
956
|
0 |
0 |
unless ($read == 1 and $newline eq "\n") |
961
|
0 |
0 |
unless (print $fh $blob) |
972
|
0 |
0 |
if defined $$self{'cat_blob_pid'} |
982
|
0 |
0 |
unless defined $$self{'cat_blob_pid'} |
1045
|
0 |
0 |
if (exists $TEMP_FILEMAP{$temp_fd}) |
1048
|
0 |
0 |
unless ($TEMP_FILES{$temp_fd}{'locked'}) |
1052
|
0 |
0 |
if $trunc and $temp_fd->opened |
1064
|
0 |
0 |
if (defined $$temp_fd and $$temp_fd->opened) { } |
1065
|
0 |
0 |
if ($TEMP_FILES{$$temp_fd}{'locked'}) |
1070
|
0 |
0 |
if (defined $$temp_fd) |
1078
|
0 |
0 |
if (defined $self) |
1082
|
0 |
0 |
unless ($$temp_fd, $fname) = 'File::Temp'->tempfile('Git_XXXXXX', 'UNLINK', 1, 'DIR', $tmpdir) |
1095
|
0 |
0 |
if $@ |
1107
|
0 |
0 |
unless truncate $temp_fd, 0 |
1109
|
0 |
0 |
unless sysseek $temp_fd, 0, 0 and seek $temp_fd, 0, 0 |
1111
|
0 |
0 |
unless sysseek($temp_fd, 0, 1) == 0 and tell $temp_fd == 0 |
1126
|
0 |
0 |
if (exists $TEMP_FILEMAP{$temp_fd}) |
1133
|
0 |
2 |
if %TEMP_FILEMAP |
1198
|
0 |
0 |
unless defined $ref |
1199
|
0 |
0 |
if (ref $ref eq 'ARRAY') { } |
1229
|
0 |
0 |
if ($array) { } |
1242
|
0 |
0 |
if $err |
1243
|
0 |
0 |
$array ? : |
1264
|
0 |
0 |
UNIVERSAL::isa($_[0], 'App::gh::Git') ? : |
1270
|
0 |
0 |
unless $cmd =~ /^[a-z0-9A-Z_-]+$/ |
1278
|
0 |
0 |
if (ref $p[0]) { } |
1280
|
0 |
0 |
ref $p[0] ? : |
1287
|
0 |
0 |
if ($^O eq 'MSWin32') { } |
1291
|
0 |
0 |
unless $direction eq '-|' |
1303
|
0 |
0 |
if (not defined $pid) { } |
|
0 |
0 |
elsif ($pid == 0) { } |
1306
|
0 |
0 |
if (defined $opts{'STDERR'}) |
1309
|
0 |
0 |
if ($opts{'STDERR'}) |
1310
|
0 |
0 |
unless open STDERR, '>&', $opts{'STDERR'} |
1316
|
0 |
0 |
wantarray ? : |
1331
|
0 |
0 |
if ($self) |
1332
|
0 |
0 |
if $self->repo_path |
1333
|
0 |
0 |
if $self->repo_path and $self->wc_path |
1335
|
0 |
0 |
if $self->wc_path |
1336
|
0 |
0 |
if $self->wc_subdir |
1347
|
0 |
0 |
if (not close $fh) |
1348
|
0 |
0 |
if ($!) { } |
|
0 |
0 |
elsif ($? >> 8) { } |
1386
|
0 |
0 |
if ($$self{'i'} >= scalar @{$$self{'data'};}) |
1390
|
0 |
0 |
if (wantarray) |