Branch Coverage

blib/lib/Test/Requires/Git.pm
Criterion Covered Total %
branch 32 32 100.0


line true false branch
40 5 10 if @_ == 1 and $_[0] eq '-nocheck'
44 1 9 if exists $args->{'git'}
57 6 532 if @args == 1
60 258 280 if ($key =~ /^(?:git|skip)/) { }
2 278 elsif (not exists $check{$key}) { }
61 1 257 if exists $args{$key}
65 1 1 if (@args % 2)
75 284 10 wantarray ? :
83 2 282 if exists $args->{'git'}
93 279 5 if (defined $version and Git::Version::Compare::looks_like_git($version)) { }
95 150 122 unless ($check{$spec}->($version, $arg))
109 155 127 if (not $ok)
113 146 9 if ($skip) { }
3 6 elsif (not defined $builder->has_plan) { }
1 5 elsif ($builder->has_plan eq 'no_plan') { }
121 1 2 if ($builder->summary) { }