Branch Coverage

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


line true false branch
56 1 8 unless @_ % 2 == 0
59 6 2 if (defined $args{'targets'})
61 1 5 unless ref $args{'targets'} eq 'ARRAY'
64 1 6 if ($args{'verbose'})
99 0 7 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'}, 'configure_command=s', \$opts{'configure_command'}, 'make_command=s', \$opts{'make_command'}, 'test_command=s', \$opts{'test_command'}, 'workdir=s', \$opts{'workdir'}, 'outputdir=s', \$opts{'outputdir'}, 'short=i', \$opts{'short'}, 'repository=s', \$opts{'repository'}, 'branch=s', \$opts{'branch'}, 'verbose', \$opts{'verbose'})
101 1 6 if ($opts{'verbose'})
105 4 10 if defined $opts{$k}
115 4 94 if (defined $opts{$o})
128 7 0 unless (exists $params{'outputdir'})
129 0 7 unless $params{'outputdir'} = tempdir()
134 1 6 if defined $params{'last_before'} and defined $params{'first'}
137 1 5 unless defined $params{'last_before'} or defined $params{'first'}
152 2 47 unless defined $params{$p}