Jmespath/Expression.pm

filter: Statementstmt 100% 14 / 14 Branchbran n/a Conditioncond n/a MC/DCmcdc n/a Subroutinesub 100% 4 / 4 Podpod 0.0% 0 / 2 totaltotal 90.0% 18 / 20 CC 1 SCAR 0.0
CC
1
Cov
100%
BEGIN
1.0
BEGIN
1.0
new
1.0
CRAP 1.0
« Jmespath/Ast.pm ↑ Summary Jmespath/EmptyExpressionException.pm »
1 package Jmespath::Expression;
2 2 ▶use strict;
Subroutine BEGIN: called CC=1 SCAR=0.0
3 2 ▶use warnings;
Subroutine BEGIN: called CC=1 SCAR=0.0
4  
5 28 ▶sub new {
Subroutine new: called CC=1 SCAR=0.0
Pod undocumented
6 28 my ($class, $expression, $interpreter) = @_;
7 28 my $self = bless {}, $class;
8 28 $self->{expression} = $expression;
9 28 $self->{interpreter} = $interpreter;
10 28 return $self;
11 }
12  
13 112 ▶sub visit {
Subroutine visit: called CC=1 SCAR=0.0
Pod undocumented
14 112 my ($self, $node, $args) = @_;
15 112 return $self->{interpreter}->visit($node, $args);
16 }
17  
18 2 1;
« Jmespath/Ast.pm ↑ Summary Jmespath/EmptyExpressionException.pm »