| 1 | package EntityModel::StorageClass::KVStore::Layer::Fake; | ||||||||||
| 2 | { | ||||||||||
| 3 | 1 | $EntityModel::StorageClass::KVStore::Layer::Fake::VERSION = '0.102'; | |||||||||
| 4 | } | ||||||||||
| 5 | 1 | ▶ | use strict; | ||||||||
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||||||||||
| 6 | 1 | ▶ | use warnings; | ||||||||
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||||||||||
| 7 | 1 | ▶ | use parent qw(EntityModel::StorageClass::KVStore::Layer); | ||||||||
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||||||||||
| 8 | |||||||||||
| 9 | 0 | ▶ | sub retrieve { | ||||||||
|
Subroutine
retrieve: not called CC=2 SCAR=17.9
Pod
documented
| |||||||||||
| 10 | 0 | my $self = shift; | |||||||||
| 11 | 0 | my %args = @_; | |||||||||
| 12 | 0 | ▶ | $args{on_success}->('rslt:' . reverse $args{query}) if $args{on_success}; | ||||||||
|
Branch: 1 branch
| |||||||||||
| 13 | 0 | $self; | |||||||||
| 14 | } | ||||||||||
| 15 | |||||||||||
| 16 | 1 | 1; | |||||||||
| 17 | |||||||||||