| 1 | package Reaction::InterfaceModel::Action::Search::UpdateSpec; | ||||||||||||||||||||||||||||||||||||||
| 2 | |||||||||||||||||||||||||||||||||||||||
| 3 | 4 | ▶ | use Reaction::Class; | ||||||||||||||||||||||||||||||||||||
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||||||||||||||||||||||||||||||||||||||
| 4 | #use aliased 'BrokerInterface::SearchSpec'; | ||||||||||||||||||||||||||||||||||||||
| 5 | 4 | ▶ | use Method::Signatures::Simple; | ||||||||||||||||||||||||||||||||||||
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||||||||||||||||||||||||||||||||||||||
| 6 | 4 | ▶ | use Reaction::InterfaceModel::Reflector::SearchSpec; | ||||||||||||||||||||||||||||||||||||
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||||||||||||||||||||||||||||||||||||||
| 7 | 4 | ▶ | use Carp qw( confess ); | ||||||||||||||||||||||||||||||||||||
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||||||||||||||||||||||||||||||||||||||
| 8 | |||||||||||||||||||||||||||||||||||||||
| 9 | 4 | ▶ | use namespace::clean -except => 'meta'; | ||||||||||||||||||||||||||||||||||||
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||||||||||||||||||||||||||||||||||||||
| 10 | |||||||||||||||||||||||||||||||||||||||
| 11 | 3 | extends 'Reaction::InterfaceModel::Action'; | |||||||||||||||||||||||||||||||||||||
| 12 | |||||||||||||||||||||||||||||||||||||||
| 13 | 0 | ▶ | method _reflection_info () { | ||||||||||||||||||||||||||||||||||||
|
Subroutine
BEGIN: called CC=1 SCAR=4.1
Subroutine
_reflection_info: not called CC=2 SCAR=16.4
Subroutine
__ANON__: not called CC=2 SCAR=16.4
| |||||||||||||||||||||||||||||||||||||||
| 14 | 0 | ▶ | confess sprintf "Class %s did not override the _reflection_info method", | ||||||||||||||||||||||||||||||||||||
|
Condition0%0/6
ref $self || $self
ref $self || $self
MC/DC0%0/2
ref $self || $self
ref $self
$self
MC/DC0%0/2
ref $self || $self
ref $self
$self
Truth table0%0/3
A || B
A= ref $selfB= $self
Truth table0%0/3
A || B
A= ref $selfB= $self
| |||||||||||||||||||||||||||||||||||||||
| 15 | ref($self) || $self; | ||||||||||||||||||||||||||||||||||||||
| 16 | 3 | } | |||||||||||||||||||||||||||||||||||||
| 17 | |||||||||||||||||||||||||||||||||||||||
| 18 | 3 | with 'Reaction::InterfaceModel::Search::UpdateSpec'; | |||||||||||||||||||||||||||||||||||||
| 19 | |||||||||||||||||||||||||||||||||||||||
| 20 | 3 | 1; | |||||||||||||||||||||||||||||||||||||
| 21 | |||||||||||||||||||||||||||||||||||||||
| 22 | =head1 NAME | ||||||||||||||||||||||||||||||||||||||
| 23 | |||||||||||||||||||||||||||||||||||||||
| 24 | Reaction::InterfaceModel::Action::Search::UpdateSpec - Update search specification | ||||||||||||||||||||||||||||||||||||||
| 25 | |||||||||||||||||||||||||||||||||||||||
| 26 | =head1 SYNOPSIS | ||||||||||||||||||||||||||||||||||||||
| 27 | |||||||||||||||||||||||||||||||||||||||
| 28 | package MyApp::InterfaceModel::UpdateSearchSpec; | ||||||||||||||||||||||||||||||||||||||
| 29 | use Reaction::Class; | ||||||||||||||||||||||||||||||||||||||
| 30 | use Reaction::InterfaceModel::Reflector::SearchSpec; | ||||||||||||||||||||||||||||||||||||||
| 31 | |||||||||||||||||||||||||||||||||||||||
| 32 | use aliased 'MyApp::InterfaceModel::SearchSpec'; | ||||||||||||||||||||||||||||||||||||||
| 33 | |||||||||||||||||||||||||||||||||||||||
| 34 | use namespace::autoclean; | ||||||||||||||||||||||||||||||||||||||
| 35 | |||||||||||||||||||||||||||||||||||||||
| 36 | extends 'Reaction::InterfaceModel::Action::Search::UpdateSpec'; | ||||||||||||||||||||||||||||||||||||||
| 37 | |||||||||||||||||||||||||||||||||||||||
| 38 | # this will reflect the search spec as update spec in the current | ||||||||||||||||||||||||||||||||||||||
| 39 | # class. | ||||||||||||||||||||||||||||||||||||||
| 40 | my $info = reflect_attributes_from_target SearchSpec; | ||||||||||||||||||||||||||||||||||||||
| 41 | |||||||||||||||||||||||||||||||||||||||
| 42 | sub _reflection_info { $info } | ||||||||||||||||||||||||||||||||||||||
| 43 | |||||||||||||||||||||||||||||||||||||||
| 44 | 1; | ||||||||||||||||||||||||||||||||||||||
| 45 | |||||||||||||||||||||||||||||||||||||||
| 46 | =cut | ||||||||||||||||||||||||||||||||||||||