Branch Coverage

blib/lib/Getopt/Module.pm
Criterion Covered Total %
branch 25 34 73.5


line true false branch
26 0 230 &Scalar::Util::blessed(ref $_) ? :
45 72 0 if (@_ == 1) { }
0 0 elsif (@_ % 2 == 0) { }
48 0 72 unless (_isa $params, 'HASH')
58 2 70 defined $$params{'separator'} ? :
64 0 72 unless defined $value and @_ == 0
66 0 72 unless $value =~ /$MODULE_RE/
72 31 41 if ($hyphen) { }
80 31 41 if ($args_start) { }
81 0 31 unless defined $args
83 23 8 if ($args_start eq '=') { }
89 11 30 if ($no_import) { }
106 24 48 if (_isa $target, 'ARRAY') { }
20 28 elsif (_isa $target, 'SCALAR') { }
18 10 elsif (_isa $target, 'HASH') { }
10 0 elsif (_isa $target, 'CODE') { }
109 4 16 if (defined $$target and length $$target) { }