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 SCAR 8.0
CC
2
Cov
61%
__ANON__
6.0
stage
2.0
transformer
2.0
CRAP 2.2
« lib/HTML/FormFu/Deflator/Strftime.pm ↑ Summary lib/HTML/FormFu/Exception/Validator.pm »
1 3 ▶use strict;
Subroutine BEGIN: called CC=1 SCAR=0.0
2  
3 package HTML::FormFu::Exception::Transformer;
4 3 $HTML::FormFu::Exception::Transformer::VERSION = '2.06';
5 3 ▶use Moose;
Subroutine BEGIN: called CC=1 SCAR=0.0
6 3 extends 'HTML::FormFu::Exception::Input';
7  
8 sub stage {
9 0 ▶ return 'transformer';
Subroutine stage: not called CC=1 SCAR=6.9
Pod undocumented
10 }
11  
12 sub transformer {
13 0 ▶ return shift->processor(@_);
Subroutine transformer: not called CC=1 SCAR=6.9
Pod undocumented
14 }
15  
16 around render_data_non_recursive => sub {
17 0 ▶ my ( $orig, $self, $args ) = @_;
Subroutine __ANON__: not called CC=2 SCAR=17.9
18  
19 0 ▶ my $render = $self->$orig(
Branch: 1 branch
BranchTrueFalseTotal
$args ? : 0 0 0
20 { stage => $self->stage,
21 transformer => $self->transformer,
22 $args ? %$args : (),
23 } );
24  
25 0 return $render;
26 3 };
27  
28 3 __PACKAGE__->meta->make_immutable;
29  
30 3 1;
31  
32 __END__
33  
34 =pod
35  
36 =encoding UTF-8
37  
38 =head1 NAME
39  
40 HTML::FormFu::Exception::Transformer
41  
42 =head1 VERSION
43  
44 version 2.06
45  
46 =head1 AUTHOR
47  
48 Carl Franks <cpan@fireartist.com>
49  
50 =head1 COPYRIGHT AND LICENSE
51  
52 This software is copyright (c) 2018 by Carl Franks.
53  
54 This is free software; you can redistribute it and/or modify it under
55 the same terms as the Perl 5 programming language system itself.
56  
57 =cut
« lib/HTML/FormFu/Deflator/Strftime.pm ↑ Summary lib/HTML/FormFu/Exception/Validator.pm »