Branch Coverage

blib/lib/Venus/Opts.pm
Criterion Covered Total %
branch 27 36 75.0


line true false branch
38 33 19 unless $self->named
39 52 0 unless $self->parsed
40 0 52 unless $self->specs
41 52 0 unless $self->warns
42 52 0 unless $self->unused
53 2 0 unless $has_value
79 0 3 unless defined $name
83 1 2 unless defined $pos
91 0 21 unless defined $name
95 6 15 unless defined $pos
103 2 54 if %{$self->parsed;}
111 52 2 unless $extras
142 5 25 if (defined $self->named->{$name})
146 16 9 if (defined $self->parsed->{$name})
157 2 0 if defined $specs
165 0 3 unless defined $name
169 1 2 unless defined $pos
183 1 1 unless (exists $data->{$index})