| 1 | 1 | ▶ | use utf8; | ||||||||
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||||||||||
| 2 | 1 | ▶ | use strict; | ||||||||
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||||||||||
| 3 | 1 | ▶ | use warnings; | ||||||||
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||||||||||
| 4 | |||||||||||
| 5 | package DR::Tnt::Client::Sync; | ||||||||||
| 6 | 1 | ▶ | use Carp; | ||||||||
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||||||||||
| 7 | 1 | $Carp::Internal{ (__PACKAGE__) }++; | |||||||||
| 8 | 1 | ▶ | use Mouse; | ||||||||
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||||||||||
| 9 | |||||||||||
| 10 | 0 | ▶ | sub driver { 'sync' } | ||||||||
|
Subroutine
driver: not called CC=1 SCAR=6.9
Pod
undocumented
| |||||||||||
| 11 | |||||||||||
| 12 | sub request { | ||||||||||
| 13 | 0 | ▶ | my ($self, @args) = @_; | ||||||||
|
Subroutine
request: not called CC=2 SCAR=17.9
Pod
undocumented
| |||||||||||
| 14 | |||||||||||
| 15 | 0 | my ($status, $message, $resp); | |||||||||
| 16 | 0 | ▶ | my $cb = sub { ($status, $message, $resp) = @_ }; | ||||||||
|
Subroutine
__ANON__: not called CC=1 SCAR=6.9
| |||||||||||
| 17 | |||||||||||
| 18 | 0 | my $m = $args[0]; | |||||||||
| 19 | |||||||||||
| 20 | 0 | ▶ | @args = ('select', @args[1, 2, 3], 1, 0, 'EQ') if $m eq 'get'; | ||||||||
|
Branch: 1 branch
| |||||||||||
| 21 | |||||||||||
| 22 | 0 | $self->_fcb->request(@args, $cb); | |||||||||
| 23 | |||||||||||
| 24 | 0 | return $self->_response($m, $status, $message, $resp); | |||||||||
| 25 | } | ||||||||||
| 26 | |||||||||||
| 27 | 1 | with 'DR::Tnt::Client::Role::LikeSync'; | |||||||||
| 28 | |||||||||||
| 29 | 1 | __PACKAGE__->meta->make_immutable; | |||||||||