Branch Coverage

blib/lib/MooseX/App/ParsedArgv.pm
Criterion Covered Total %
branch 31 34 91.1


line true false branch
86 0 63 if defined $SINGLETON and $SINGLETON == $self
95 3 417 unless (defined $SINGLETON)
127 4 241 if ($stopprocessing) { }
142 7 1 unless (defined $options{$flag})
165 1 1 unless (defined $options{$key})
183 105 11 unless (defined $options{$key})
192 32 84 if ($key ~~ $self->hints_novalue) { }
215 82 35 if (defined $lastkey) { }
217 0 82 if ($lastkey->key ~~ $self->hints_novalue) { }
18 64 elsif ($lastkey->key ~~ $self->hints_permute) { }
247 3 67 if (defined $lastkey and $expecting)
262 242 479 if $element->consumed
264 169 310 if defined $type and $element->type ne $type
276 52 24 if $element->consumed
278 2 22 if defined $type and $element->type ne $type
292 97 9 if $element->consumed
294 0 9 unless $element->type eq 'parameter' or $element->type eq 'extra'