blib/lib/Zuzu/AST/Expr/Regexp.pm

filter: Statementstmt 84.6% 11 / 13 Branchbran n/a Conditioncond n/a MC/DCmcdc n/a Subroutinesub 50.0% 2 / 4 Podpod 0.0% 0 / 1 totaltotal 72.2% 13 / 18 CC 1 SCAR 2.5
CC
1
Cov
85%
evaluate
2.0
__ANON__
1.1
BEGIN
1.0
CRAP 1.3
« blib/lib/Zuzu/Value/Trait.pm ↑ Summary blib/lib/Zuzu/AST/Expr/Spread.pm »
1 package Zuzu::AST::Expr::Regexp;
2  
3 78 ▶use utf8;
Subroutine BEGIN: called CC=1 SCAR=0.0
4  
5 78 our $VERSION = '0.007002';
6  
7 78 ▶use Moo;
Subroutine BEGIN: called CC=1 SCAR=0.0
8  
9 78 has 'parts' => ( is => 'rw' );
10 0 ▶has 'flags' => ( is => 'rw', default => sub { '' } );
Subroutine __ANON__: not called CC=1 SCAR=1.2
11  
12 78 with 'Zuzu::AST::Role::Node';
13  
14 0 ▶sub evaluate { $_[1]->eval_regexp_literal($_[0]) }
Subroutine evaluate: not called CC=1 SCAR=6.9
Pod undocumented
15  
16 78 1;
17  
18 =pod
19  
20 =head1 COPYRIGHT AND LICENCE
21  
22 B<< Zuzu::AST::Expr::Regexp >> is copyright Toby Inkster.
23  
24 It is free software; you may redistribute it and/or modify it under
25 the terms of either the Artistic License 1.0 or the GNU General Public
26 License version 2.
27  
28 =cut
« blib/lib/Zuzu/Value/Trait.pm ↑ Summary blib/lib/Zuzu/AST/Expr/Spread.pm »