Branch Coverage

blib/lib/Venus/Prototype.pm
Criterion Covered Total %
branch 16 30 53.3


line true false branch
23 0 56 if (not defined $data) { }
23 33 elsif (not &Scalar::Util::blessed($data) and ref $data eq 'HASH') { }
0 33 elsif (not &Scalar::Util::blessed($data) and ref $data eq 'ARRAY') { }
48 7 7 if (keys %$data == 1 and exists $data->{'value'}) { }
61 0 6 if (keys %$data == 1 and exists $data->{'value'})
76 4 16 if defined $self->{'value'}{"&$method"}
80 2 14 @args ? :
82 16 0 if exists $self->{'value'}{"\$$method"}
102 0 2 if defined $self->{'value'}{"&$method"}
106 1 1 @args ? :
2 0 if exists $self->{'value'}{"\$$method"}
126 0 0 unless @args
136 0 0 unless @args
138 0 0 if @args == 1 and ref $args[0] eq "HASH"
142 0 0 unless defined $index