TreeValidator/Result.pm

filter: Statementstmt 100% 16 / 16 Branchbran n/a Conditioncond n/a MC/DCmcdc n/a Subroutinesub 100% 4 / 4 Podpod n/a totaltotal 100% 20 / 20 CC 1 SCAR 0.0
CC
1
Cov
100%
BEGIN
1.0
BEGIN
1.0
BEGIN
1.0
CRAP 1.0
« TreeValidator/Node.pm ↑ Summary TreeValidator/Result/Leaf.pm »
1 package Data::TreeValidator::Result;
2 {
3 8 $Data::TreeValidator::Result::VERSION = '0.04';
4 }
5 # ABSTRACT: Role specifying the result of processing
6 8 ▶use Moose::Role;
Subroutine BEGIN: called CC=1 SCAR=0.0
7 8 ▶use namespace::autoclean;
Subroutine BEGIN: called CC=1 SCAR=0.0
8  
9 8 ▶use MooseX::Types::Moose qw( ArrayRef );
Subroutine BEGIN: called CC=1 SCAR=0.0
10  
11 8 requires 'clean', 'valid';
12  
13 8 has 'input' => (
14 is => 'ro',
15 required => 1
16 );
17  
18 has 'errors' => (
19 isa => ArrayRef,
20 traits => [ 'Array' ],
21 46 ▶ default => sub { [] },
Subroutine __ANON__: called CC=1 SCAR=0.0
22 8 handles => {
23 errors => 'elements',
24 error_count => 'count',
25 add_error => 'push'
26 }
27 );
28  
29 8 1;
30  
31  
32 __END__
« TreeValidator/Node.pm ↑ Summary TreeValidator/Result/Leaf.pm »