blib/lib/Dallycot/AST/JSONArray.pm

filter: Statementstmt 83.3% 20 / 24 Branchbran n/a Conditioncond n/a MC/DCmcdc n/a Subroutinesub 75.0% 6 / 8 Podpod 0.0% 0 / 1 totaltotal 78.7% 26 / 33 CC 1 SCAR 2.2
CC
1
Cov
83%
execute
2.0
__ANON__
2.0
BEGIN
1.0
CRAP 1.2
« blib/lib/Dallycot/AST/Identity.pm ↑ Summary blib/lib/Dallycot/AST/Reciprocal.pm »
1 package Dallycot::AST::JSONArray;
2 29 our $AUTHORITY = 'cpan:JSMITH';
3  
4 # ABSTRACT: Create JSON-LD graph from JSON
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 experimental qw(switch);
Subroutine BEGIN: called CC=1 SCAR=0.0
13  
14 29 ▶use Promises qw(deferred);
Subroutine BEGIN: called CC=1 SCAR=0.0
15  
16 sub execute {
17 0 ▶ my ( $self, $engine ) = @_;
Subroutine execute: not called CC=1 SCAR=6.9
Pod undocumented
18  
19 return $engine->collect(@$self)->then(sub {
20 0 ▶ my(@values) = @_;
Subroutine __ANON__: not called CC=1 SCAR=6.9
21 0 return \@values;
22 0 });
23 }
24  
25 29 1;
« blib/lib/Dallycot/AST/Identity.pm ↑ Summary blib/lib/Dallycot/AST/Reciprocal.pm »