lib/HTML/FormFu/Exception/Inflator.pm

filter: Statementstmt 100% 16 / 16 Branchbran 50.0% 1 / 2 Conditioncond n/a MC/DCmcdc n/a Subroutinesub 100% 5 / 5 Podpod 0.0% 0 / 2 totaltotal 88.0% 22 / 25 SCAR 6.9
CC
2
Cov
94%
__ANON__
2.0
BEGIN
1.0
BEGIN
1.0
CRAP 2.0
« lib/HTML/FormFu/Exception/Constraint.pm ↑ Summary lib/HTML/FormFu/Filter.pm »
1 403 ▶use strict;
Subroutine BEGIN: called CC=1 SCAR=0.0
2  
3 package HTML::FormFu::Exception::Inflator;
4 403 $HTML::FormFu::Exception::Inflator::VERSION = '2.06';
5 403 ▶use Moose;
Subroutine BEGIN: called CC=1 SCAR=0.0
6 403 extends 'HTML::FormFu::Exception::Input';
7  
8 sub stage {
9 6 ▶ return 'inflator';
Subroutine stage: called CC=1 SCAR=0.0
Pod undocumented
10 }
11  
12 sub inflator {
13 9 ▶ return shift->processor(@_);
Subroutine inflator: called CC=1 SCAR=0.0
Pod undocumented
14 }
15  
16 around render_data_non_recursive => sub {
17 3 ▶ my ( $orig, $self, $args ) = @_;
Subroutine __ANON__: called CC=2 SCAR=7.1
18  
19 3 ▶ my $render = $self->$orig(
Branch: 1 branch
BranchTrueFalseTotal
$args ? : 3 0 3
20 { stage => $self->stage,
21 inflator => $self->inflator,
22 $args ? %$args : (),
23 } );
24  
25 3 return $render;
26 403 };
27  
28 403 __PACKAGE__->meta->make_immutable;
29  
30 403 1;
31  
32 __END__
33  
34 =pod
35  
36 =encoding UTF-8
37  
38 =head1 NAME
39  
40 HTML::FormFu::Exception::Inflator
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/Exception/Constraint.pm ↑ Summary lib/HTML/FormFu/Filter.pm »