Condition Coverage

blib/lib/Getopt/Mixed.pm
Criterion Covered Total %
condition 11 32 34.3


and 3 conditions

line !l l&&!r l&&r condition
195 3 0 0 not $type and defined $value
205 0 2 0 $type =~ /^[=:]/ and ref $Getopt::Mixed::checkType
206 0 0 0 defined $value and not $value =~ /$Getopt::Mixed::intRegexp/o
210 0 1 0 defined $value and not $value =~ /$Getopt::Mixed::floatRegexp/o
217 3 0 0 not defined $value and $type =~ /^:/
308 0 0 1 defined $Getopt::Mixed::options{$opt} and length $opt > 1

or 2 conditions

line l !l condition
88 10 3 $2 || ''

or 3 conditions

line l !l&&r !l&&!r condition
91 0 0 4 not defined $Getopt::Mixed::options{$type} or $Getopt::Mixed::options{$type} =~ /^[^:=]/
249 0 0 0 $_ eq $opt or $Getopt::Mixed::options{$_} eq $opt
281 0 1 3 length $ARGV[$i] < 2 or index($Getopt::Mixed::optionStart, substr($ARGV[$i], 0, 1)) < 0
328 0 2 0 length $option == 2 or $optType