Branch Coverage

blib/lib/Devel/Git/MultiBisect/Opts.pm
Criterion Covered Total %
branch 23 26 88.4


line true false branch
53 1 9 unless @_ % 2 == 0
56 6 3 if (defined $args{'targets'})
58 1 5 unless ref $args{'targets'} eq "ARRAY"
61 1 7 if ($args{'verbose'})
97 0 8 unless &GetOptions("gitdir=s", \$opts{'gitdir'}, "target=s\@", \$opts{'targets'}, "last_before=s", \$opts{'last_before'}, "last-before=s", \$opts{'last_before'}, "first=s", \$opts{'first'}, "last=s", \$opts{'last'}, "compiler=s", \$opts{'compiler'}, "configure_command=s", \$opts{'configure_command'}, "make_command=s", \$opts{'make_command'}, "test_command=s", \$opts{'test_command'}, "outputdir=s", \$opts{'outputdir'}, "short=i", \$opts{'short'}, "repository=s", \$opts{'repository'}, "branch=s", \$opts{'branch'}, "probe=s", \$opts{'probe'}, "verbose", \$opts{'verbose'})
99 1 7 if ($opts{'verbose'})
103 4 11 if defined $opts{$k}
113 4 116 if (defined $opts{$o})
126 8 0 unless (exists $params{'outputdir'})
127 0 8 unless $params{'outputdir'} = tempdir()
132 1 7 if defined $params{'last_before'} and defined $params{'first'}
135 1 6 unless defined $params{'last_before'} or defined $params{'first'}
149 2 51 unless defined $params{$p}