Branch Coverage

blib/lib/App/GitKtti.pm
Criterion Covered Total %
branch 0 134 0.0


line true false branch
143 0 0 if ($type eq 'master' or $type eq 'main') { }
0 0 elsif ($type eq 'develop' or $type eq 'dev') { }
0 0 elsif ($type eq 'feature') { }
0 0 elsif ($type eq 'hotfix') { }
0 0 elsif ($type eq 'release') { }
181 0 0 if (length $command == 0)
188 0 0 unless open my $cmd_fh, "-|", "$command 2>&1"
199 0 0 if (@lines > 0)
213 0 0 if ($$ref_state ne 0) { }
215 0 0 if (@lines > 0) { }
222 0 0 if (@lines > 0) { }
243 0 0 if ($rep eq 'y') { }
258 0 0 if (defined $default and length $default > 0)
268 0 0 if (defined $default and length $default > 0 and length $rep == 0)
282 0 0 if ($nb_elts <= 1)
294 0 0 if ($len > $max_len_rep)
303 0 0 if (scalar @list > 1)
316 0 0 if ($i_rep >= 1 and $i_rep < $nb_elts)
338 0 0 unless defined $chr
351 0 0 unless defined $chr
360 0 0 unless opendir my $dh, $path
363 0 0 if (-d "$path/$file" and $file =~ /^$directory$/)
381 0 0 if ($$ref_ret == 0 and @remotebranch >= 1 and $remotebranch[0] =~ m[^(\w+)/(.+)$])
397 0 0 if ($ret ne 0)
411 0 0 if (@files > 0)
436 0 0 if (isResponseYes("Synchronize [SRC] to [DEST] ? (with 'scp')"))
442 0 0 if ($ret ne 0)
463 0 0 if (isResponseYes("Synchronize [SRC] to [DEST] ? (with 'rsync')"))
466 0 0 if ($use_delete and isResponseYes("Use option [--delete] ? (WARNING: can be dangerous) !"))
473 0 0 if ($ret ne 0)
504 0 0 if ($use_fakesuper)
511 0 0 if ($skip_confirm) { }
518 0 0 if ($go)
521 0 0 if ($use_delete and isResponseYes("Use option [--delete] ? (WARNING: can be dangerous) !"))
529 0 0 if ($ret ne 0)
540 0 0 if (isResponseYes("Checkout branch \e[1m" . $arg_branch . "\e[0m" . "?"))
545 0 0 if ($ret ne 0)
559 0 0 if ($ret ne 0)
570 0 0 if (isResponseYes("Delete local branch \e[1m" . $arg_branch . "\e[0m" . "?"))
576 0 0 if ($ret ne 0)
603 0 0 if ($arg_remote ne "")
637 0 0 if (@out > 0) { }
649 0 0 if (@out > 0) { }
704 0 0 if ($tagname eq "")
709 0 0 if ($lasttag ne "")
714 0 0 unless (git_getCurrentBranch(\$ret) =~ /^$branch$/)
721 0 0 if (isResponseYes($question)) { }
726 0 0 if ($ret ne 0) { }
738 0 0 if ($tracked_branch{'remote'} ne '' and $tracked_branch{'branch'} ne '') { }
739 0 0 if (isResponseYes("Push tag \e[1m" . $tagname . "\e[0m" . "?"))
744 0 0 if ($ret ne 0)
767 0 0 if ($arg_remote ne "" and $arg_tracking_remote_branch ne "")
773 0 0 if ($ret ne 0)
790 0 0 if (isResponseYes("Delete branch \e[1m" . $arg_current_branch . "\e[0m" . "?"))
796 0 0 if ($arg_remote ne "" and $arg_tracking_remote_branch ne "")
797 0 0 if (isResponseYes("Delete tracking remote branch \e[1m" . $arg_remote . '/' . $arg_tracking_remote_branch . "\e[0m" . "?"))
811 0 0 if (isResponseYes("Merge branch \e[1m" . $arg_branch_to_merge . "\e[0m" . " into " . "\e[1m" . $arg_branch_into . "\e[0m" . "?"))
815 0 0 if ($ret ne 0)
829 0 0 if ($ret ne 0) { }
837 0 0 if ($tracked_branch_into{'remote'} ne "" and $tracked_branch_into{'branch'} ne "")
838 0 0 if (isResponseYes("Push \e[1m" . $arg_branch_into . "\e[0m" . "?"))
842 0 0 if ($ret ne 0)
860 0 0 if ($old_repository eq "")
865 0 0 if ($new_repository eq "")
875 0 0 if ($ret ne 0)
886 0 0 if ($ret ne 0)
897 0 0 if ($ret ne 0)