Condition Coverage

blib/lib/App/GitKtti.pm
Criterion Covered Total %
condition 0 59 0.0


and 3 conditions

line !l l&&!r l&&r condition
258 0 0 0 defined $default and length $default > 0
268 0 0 0 defined $default and length $default > 0
0 0 0 defined $default and length $default > 0 and length $rep == 0
316 0 0 0 $i_rep >= 1 and $i_rep < $nb_elts
362 0 0 0 not $found and my $file = readdir $dh
363 0 0 0 -d "$path/$file" and $file =~ /^$directory$/
381 0 0 0 $$ref_ret == 0 and @remotebranch >= 1
0 0 0 $$ref_ret == 0 and @remotebranch >= 1 and $remotebranch[0] =~ m[^(\w+)/(.+)$]
466 0 0 0 $use_delete and isResponseYes("Use option [--delete] ? (WARNING: can be dangerous) !")
521 0 0 0 $use_delete and isResponseYes("Use option [--delete] ? (WARNING: can be dangerous) !")
738 0 0 0 $tracked_branch{'remote'} ne "" and $tracked_branch{'branch'} ne ""
767 0 0 0 $arg_remote ne "" and $arg_tracking_remote_branch ne ""
796 0 0 0 $arg_remote ne "" and $arg_tracking_remote_branch ne ""
837 0 0 0 $tracked_branch_into{'remote'} ne "" and $tracked_branch_into{'branch'} ne ""

or 2 conditions

line l !l condition
138 0 0 $_[1] || 'default'

or 3 conditions

line l !l&&r !l&&!r condition
143 0 0 0 $type eq "master" or $type eq "main"
0 0 0 $type eq "develop" or $type eq "dev"
238 0 0 0 $rep =~ /^y$/ or $rep =~ /^n$/
310 0 0 0 not $i_rep =~ /^\d+$/ or $i_rep < 1
0 0 0 not $i_rep =~ /^\d+$/ or $i_rep < 1 or $i_rep > $nb_elts - 1