TaskPipe/Role/MooseType_IterateMode.pm

filter: Statementstmt 100% 9 / 9 Branchbran 50.0% 1 / 2 Conditioncond n/a MC/DCmcdc n/a Subroutinesub 100% 3 / 3 Podpod n/a totaltotal 92.8% 13 / 14 CC 2 SCAR 4.5
CC
2
Cov
91%
__ANON__
2.1
BEGIN
1.0
BEGIN
1.0
CRAP 1.6
« TaskPipe/WhoisManager/Settings.pm ↑ Summary TaskPipe/Role/MooseType_PlanMode.pm »
1 package TaskPipe::Role::MooseType_IterateMode;
2  
3 40 ▶use Moose::Role;
Subroutine BEGIN: called CC=1 SCAR=0.0
4 40 ▶use Moose::Util::TypeConstraints;
Subroutine BEGIN: called CC=1 SCAR=0.0
5  
6 subtype 'IterateMode',
7 as 'Str',
8 where {
9 1576 ▶ $_ eq 'once'
Subroutine __ANON__: called CC=2 SCAR=7.6
Branch: 1 branch
BranchTrueFalseTotal
$_ eq "once" or $_ eq "repeat" 0 1576 1576
10 || $_ eq 'repeat'
11 40 };
12  
13  
14 =head1 NAME
15  
16 TaskPipe::Role::MooseType_IterateMode - iterate mode type constraint
17  
18 =head1 DESCRIPTION
19  
20 A moose subtype to be included as a role
21  
22 =head1 AUTHOR
23  
24 Tom Gracey <tomgracey@gmail.com>
25  
26 =head1 COPYRIGHT AND LICENSE
27  
28 Copyright (c) Tom Gracey 2018
29  
30 TaskPipe is free software, licensed under
31  
32 The GNU Public License Version 3
33  
34 =cut
35  
36 40 1;
« TaskPipe/WhoisManager/Settings.pm ↑ Summary TaskPipe/Role/MooseType_PlanMode.pm »