CCfnX/File.pm untested

filter: Statementstmt 0.0% 0 / 9 Branchbran n/a Conditioncond n/a MC/DCmcdc n/a Subroutinesub 0.0% 0 / 2 Podpod 0.0% 0 / 1 totaltotal 0.0% 0 / 12 CC 1 SCAR 6.9
CC
1
Cov
0%
as_hashref
2.0
BEGIN
2.0
CRAP 2.0
1 package CCfnX::File {
2 use Moose;
3 has mode => (isa => 'Str', is => 'ro', required => 1);
4 has owner => (isa => 'Str', is => 'ro', required => 1);
5 has group => (isa => 'Str', is => 'ro', required => 1);
6 has content => (isa => 'CCfnX::UserData', is => 'ro', required => 1);
7  
8 sub as_hashref {
9 my $self = shift;
10 return { mode => $self->mode, owner => $self->owner, group => $self->group, content => $self->content->as_hashref_joins };
11 }
12 }
13  
14 1;