blib/lib/Data/Hive/Store/Param.pm | |||
---|---|---|---|
Criterion | Covered | Total | % |
condition | 6 | 11 | 54.5 |
line | l | !l | condition |
---|---|---|---|
81 | 2 | 0 | $arg ||= {} |
104 | 2 | 0 | $arg->{'method'} || 'param' |
0 | 2 | $arg->{'exists'} || sub { my($self, $key) = @_; my $method = $self->{'method'}; my $exists = grep({$key eq $_;} $self->param_store->$method); return !!$exists; } | |
0 | 2 | $arg->{'delete'} || sub { my($self, $key) = @_; $self->param_store->delete($key); } |
line | l | !l&&r | !l&&!r | condition |
---|---|---|---|---|
104 | 1 | 1 | 0 | $arg->{'path_packer'} || do { require Data::Hive::PathPacker::Strict; 'Data::Hive::PathPacker::Strict'->new } |