Branch Coverage

lib/Wrapper/GetoptLong.pm
Criterion Covered Total %
branch 25 38 65.7


line true false branch
113 0 3 if scalar @_ == 1
121 3 0 if $#fnd == -1
139 0 0 if defined $extra_msg
157 3 0 if ($count > 0)
159 2 1 $count == 1 ? :
165 1 2 if ($count > 0)
174 3 9 if /^$/
178 0 3 if $#ARGV == -1
193 4 1 if ($config_href->{$opt}{'opt_arg_type'} eq '') { }
205 3 0 if (scalar @no_args)
211 3 1 /^help$/i ? :
213 3 0 if defined $help
232 3 2 if ($opt =~ /^help$/i) { }
1 1 elsif ($config_href->{$opt}{'opt_arg_type'} eq '') { }
247 3 0 if $help
259 0 2 unless &GetOptions(\%opts, @opts_arr)
274 2 0 if (defined $config_href->{$opt})
279 2 0 if (not $@) { }
281 0 2 if $cmd =~ /print_usage_and_die/