Branch Coverage

blib/lib/MooseX/Runnable/Util/ArgParser.pm
Criterion Covered Total %
branch 32 44 72.7


line true false branch
77 20 107 if ($next_is_it)
81 20 87 if ($arg eq '--')
86 32 55 if $arg =~ /^-[A-Za-z]/
88 20 35 if ($arg =~ /^[+]/)
93 14 21 unless $need_dash_dash
96 0 0 if ($next_is_it)
99 0 0 if ($need_dash_dash)
155 19 46 if (defined $in_plugin) { }
156 8 11 if ($arg eq '--') { }
4 7 elsif ($arg =~ /^[+](.+)$/) { }
172 3 43 if ($arg eq '--') { }
8 35 elsif ($arg =~ /^[+](.+)$/) { }
182 0 10 if ($in_plugin)
203 0 13 if $self->is_help
215 0 4 if $idx == -1
220 5 8 if ($args[0] eq '--')
224 13 0 if ($args[0] eq $self->class_name) { }
239 0 1 if $self->is_help
241 0 1 unless $opts{'perl_flags'}
242 0 1 unless $opts{'without_plugins'}
257 1 1 if $without eq $plugin
259 0 1 unless $self->plugins->{$plugin}