blib/lib/Devel/Git/MultiBisect/Opts.pm | |||
---|---|---|---|
Criterion | Covered | Total | % |
branch | 23 | 26 | 88.4 |
line | true | false | branch |
---|---|---|---|
53 | 1 | 8 | unless @_ % 2 == 0 |
56 | 6 | 2 | if (defined $args{'targets'}) |
58 | 1 | 5 | unless ref $args{'targets'} eq 'ARRAY' |
61 | 1 | 6 | if ($args{'verbose'}) |
94 | 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'}, 'outputdir=s', \$opts{'outputdir'}, 'short=i', \$opts{'short'}, 'repository=s', \$opts{'repository'}, 'branch=s', \$opts{'branch'}, 'verbose', \$opts{'verbose'}) |
96 | 1 | 6 | if ($opts{'verbose'}) |
100 | 4 | 9 | if defined $opts{$k} |
110 | 4 | 87 | if (defined $opts{$o}) |
123 | 7 | 0 | unless (exists $params{'outputdir'}) |
124 | 0 | 7 | unless $params{'outputdir'} = tempdir() |
129 | 1 | 6 | if defined $params{'last_before'} and defined $params{'first'} |
132 | 1 | 5 | unless defined $params{'last_before'} or defined $params{'first'} |
146 | 2 | 42 | unless defined $params{$p} |