AtteanX/Query/Cache.pm

filter: Statementstmt 100% 11 / 11 Branchbran n/a Conditioncond n/a MC/DCmcdc n/a Subroutinesub 100% 4 / 4 Podpod n/a totaltotal 100% 15 / 15 CC 1 SCAR 0.0
CC
1
Cov
100%
BEGIN
1.0
BEGIN
1.0
BEGIN
1.0
CRAP 1.0
« LWP/UserAgent/SemWebCache.pm ↑ Summary AtteanX/Query/Cache/Analyzer/Model.pm »
1 1 ▶use 5.010001;
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 AtteanX::Query::Cache;
6  
7 our $AUTHORITY = 'cpan:KJETILK';
8 our $VERSION = '0.002';
9 1 ▶use Moo;
Subroutine BEGIN: called CC=1 SCAR=0.0
10  
11 extends 'AtteanX::Endpoint';
12  
13 after 'log_query' => sub {
14 my $self = shift;
15 my $req = shift;
16 my $message = shift;
17 $self->model->publisher->publish('analyze.fullquery', $message);
18 };
19  
20 1;
21  
22 __END__
« LWP/UserAgent/SemWebCache.pm ↑ Summary AtteanX/Query/Cache/Analyzer/Model.pm »