lib/HTML/FormFu/Constraint/File/MaxSize.pm

filter: Statementstmt 100% 12 / 12 Branchbran n/a Conditioncond n/a MC/DCmcdc n/a Subroutinesub 100% 3 / 3 Podpod n/a totaltotal 100% 15 / 15 CC 1 SCAR 0.0
CC
1
Cov
100%
BEGIN
1.0
BEGIN
1.0
_localize_args
1.0
CRAP 1.0
« lib/HTML/FormFu/Constraint/Bool.pm ↑ Summary lib/HTML/FormFu/Constraint/File/MinSize.pm »
1 4 ▶use strict;
Subroutine BEGIN: called CC=1 SCAR=0.0
2  
3 package HTML::FormFu::Constraint::File::MaxSize;
4 4 $HTML::FormFu::Constraint::File::MaxSize::VERSION = '2.09';
5 # ABSTRACT: Maximum File Size Constraint
6  
7 4 ▶use Moose;
Subroutine BEGIN: called CC=1 SCAR=0.0
8 4 extends 'HTML::FormFu::Constraint::File::Size';
9  
10 1 ▶sub _localize_args {
Subroutine _localize_args: called CC=1 SCAR=0.0
11 1 my ($self) = @_;
12  
13 1 return $self->max;
14 }
15  
16 4 __PACKAGE__->meta->make_immutable;
17  
18 4 1;
19  
20 __END__
« lib/HTML/FormFu/Constraint/Bool.pm ↑ Summary lib/HTML/FormFu/Constraint/File/MinSize.pm »