File Coverage

blib/lib/Validation/Class/Directive/MixinField.pm
Criterion Covered Total %
statement 12 12 100.0
branch n/a
condition n/a
subroutine 4 4 100.0
pod n/a
total 16 16 100.0


line stmt bran cond sub pod time code
1             # ABSTRACT: MixinField Directive for Validation Class Field Definitions
2              
3             package Validation::Class::Directive::MixinField;
4              
5 108     108   68370 use strict;
  108         229  
  108         2791  
6 108     108   553 use warnings;
  108         214  
  108         2966  
7              
8 108     108   575 use base 'Validation::Class::Directive';
  108         179  
  108         7696  
9              
10 108     108   4407 use Validation::Class::Util;
  108         247  
  108         704  
11              
12             our $VERSION = '7.900057'; # VERSION
13              
14              
15             has 'mixin' => 0;
16             has 'field' => 1;
17             has 'multi' => 0;
18              
19             1;
20              
21             __END__