blib/lib/Dallycot/AST/Cons.pm

filter: Statementstmt 91.3% 21 / 23 Branchbran n/a Conditioncond n/a MC/DCmcdc n/a Subroutinesub 87.5% 7 / 8 Podpod 0.0% 0 / 2 totaltotal 84.8% 28 / 33 CC 1 SCAR 1.2
CC
1
Cov
91%
to_rdf
2.0
BEGIN
1.0
BEGIN
1.0
CRAP 1.1
« blib/lib/Dallycot/AST/BuildVector.pm ↑ Summary lib/Dallycot/Processor/XS.xs »
1 package Dallycot::AST::Cons;
2 29 our $AUTHORITY = 'cpan:JSMITH';
3  
4 # ABSTRACT: Compose lambdas into a new lambda
5  
6 29 ▶use strict;
Subroutine BEGIN: called CC=1 SCAR=0.0
7 29 ▶use warnings;
Subroutine BEGIN: called CC=1 SCAR=0.0
8  
9 29 ▶use utf8;
Subroutine BEGIN: called CC=1 SCAR=0.0
10 29 ▶use parent 'Dallycot::AST';
Subroutine BEGIN: called CC=1 SCAR=0.0
11  
12 29 ▶use Promises qw(deferred);
Subroutine BEGIN: called CC=1 SCAR=0.0
13  
14 0 ▶sub to_rdf {
Subroutine to_rdf: not called CC=1 SCAR=6.9
Pod undocumented
15 0 my($self, $model) = @_;
16  
17 0 return $model -> apply(
18 $model -> meta_uri('loc:consolidate'),
19 [ @$self ],
20 {}
21 );
22 }
23  
24 6 ▶sub execute {
Subroutine execute: called CC=1 SCAR=0.0
Pod undocumented
25 6 my ( $self, $engine ) = @_;
26  
27 return $engine->collect(@$self)->then(
28 6 ▶ sub {
Subroutine __ANON__: called CC=1 SCAR=0.0
29 6 my ( $root, @things ) = @_;
30 6 $root->prepend(@things);
31 }
32 6 );
33 }
34  
35 29 1;
« blib/lib/Dallycot/AST/BuildVector.pm ↑ Summary lib/Dallycot/Processor/XS.xs »