FLAT/Regex/Transform.pm untested

filter: Statementstmt 0.0% 0 / 6 Branchbran n/a Conditioncond n/a MC/DCmcdc n/a Subroutinesub 0.0% 0 / 2 Podpod 0.0% 0 / 1 totaltotal 0.0% 0 / 9 CC 1 SCAR 6.9
CC
1
Cov
0%
new
2.0
BEGIN
2.0
CRAP 2.0
1 package FLAT::Regex::Transform;
2  
3 # Extends FLAT::Regex::WithExtraOps with PRegex transformations
4 # (i.e., reductions based on: w*v & a*b
5  
6 use parent 'FLAT::Regex::WithExtraOps';
7  
8 sub new {
9 my $pkg = shift;
10 my $self = $pkg->SUPER::new(@_);
11 return $self;
12 }
13  
14 # Ideally, the transformation should be implemented as an iterator. This
15 # approach will be finite for shuffles with NO closed strings, but will carry on
16 # indefinitely for the shuffle of strings where at least one of the strings is closed
17  
18 1;