lib/HTML/FormFu/Exception/Transformer.pm

filter: Statementstmt 68.7% 11 / 16 Branchbran 0.0% 0 / 2 Conditioncond n/a MC/DCmcdc n/a Subroutinesub 40.0% 2 / 5 Podpod 0.0% 0 / 2 totaltotal 52.0% 13 / 25 CC 2 SCAR 11.0
CC
2
Cov
61%
__ANON__
6.0
stage
2.0
transformer
2.0
CRAP 3.0
« lib/HTML/FormFu/Constraint/JSON.pm ↑ Summary lib/HTML/FormFu/Filter/HTMLScrubber.pm »
1 7 ▶use strict;
Subroutine BEGIN: called CC=1 SCAR=0.0
2  
3 package HTML::FormFu::Exception::Transformer;
4 # ABSTRACT: Transformer exception
5 7 $HTML::FormFu::Exception::Transformer::VERSION = '2.09';
6 7 ▶use Moose;
Subroutine BEGIN: called CC=1 SCAR=0.0
7 7 extends 'HTML::FormFu::Exception::Input';
8  
9 0 ▶sub stage {
Subroutine stage: not called CC=1 SCAR=6.9
Pod undocumented
10 0 return 'transformer';
11 }
12  
13 0 ▶sub transformer {
Subroutine transformer: not called CC=1 SCAR=6.9
Pod undocumented
14 0 return shift->processor(@_);
15 }
16  
17 0 ▶around render_data_non_recursive => sub {
Subroutine __ANON__: not called CC=2 SCAR=17.9
18 0 my ( $orig, $self, $args ) = @_;
19  
20 0 ▶ my $render = $self->$orig(
Branch: 1 branch
BranchTrueFalseTotal
$args ? : 0 0 0
21 { stage => $self->stage,
22 transformer => $self->transformer,
23 $args ? %$args : (),
24 } );
25  
26 0 return $render;
27 7 };
28  
29 7 __PACKAGE__->meta->make_immutable;
30  
31 7 1;
32  
33 __END__
« lib/HTML/FormFu/Constraint/JSON.pm ↑ Summary lib/HTML/FormFu/Filter/HTMLScrubber.pm »