Elive/Entity/Preloads.pm

filter: Statementstmt 95.4% 21 / 22 Branchbran n/a Conditioncond n/a MC/DCmcdc n/a Subroutinesub 83.3% 5 / 6 Podpod n/a totaltotal 92.8% 26 / 28 CC 1 SCAR 1.5
CC
1
Cov
95%
__ANON__
2.0
BEGIN
1.0
BEGIN
1.0
CRAP 1.2
« Elive/Entity/Role.pm ↑ Summary Elive/Entity/ServerDetails.pm »
1 package Elive::Entity::Preloads;
2 21 ▶use warnings; use strict;
Subroutine BEGIN: called CC=1 SCAR=0.0
Subroutine BEGIN: called CC=1 SCAR=0.0
3  
4 21 ▶use Mouse;
Subroutine BEGIN: called CC=1 SCAR=0.0
5 21 ▶use Mouse::Util::TypeConstraints;
Subroutine BEGIN: called CC=1 SCAR=0.0
6  
7 =head1 NAME
8  
9 Elive::Entity::Preloads - List of Preloads
10  
11 =cut
12  
13 21 ▶use Elive::Entity::Preload;
Subroutine BEGIN: called CC=1 SCAR=0.0
14  
15 21 extends 'Elive::DAO::Array';
16 21 __PACKAGE__->separator(',');
17 21 __PACKAGE__->element_class('Elive::Entity::Preload');
18  
19 21 our $class = 'Elive::Entity::Preloads';
20 coerce $class => from 'ArrayRef|Str'
21 => via {
22 0 ▶ $class->new( $_ );
Subroutine __ANON__: not called CC=1 SCAR=6.9
23 21 };
24  
25 21 1;
« Elive/Entity/Role.pm ↑ Summary Elive/Entity/ServerDetails.pm »