File Coverage

blib/lib/Data/Validator/Role/NoRestricted.pm
Criterion Covered Total %
statement 6 6 100.0
branch n/a
condition n/a
subroutine 2 2 100.0
pod n/a
total 8 8 100.0


line stmt bran cond sub pod time code
1             package Data::Validator::Role::NoRestricted;
2 1     1   3732 use Mouse::Role;
  1         1246  
  1         7  
3              
4             around validate => sub {
5             my($next, $self, @args) = @_;
6             my $args = $self->$next(@args);
7             &Internals::SvREADONLY($args, 0);
8             return $args;
9             };
10              
11 1     1   601 no Mouse::Role;
  1         3  
  1         7  
12             1;
13             __END__