lib/Reaction/Types/DateTime.pm

filter: Statementstmt 84.2% 16 / 19 Branchbran n/a Conditioncond n/a MC/DCmcdc n/a Subroutinesub 57.1% 4 / 7 Podpod n/a totaltotal 76.9% 20 / 26 CC 1 SCAR 1.6
CC
1
Cov
84%
__ANON__
2.0
__ANON__
1.1
__ANON__
1.1
CRAP 1.2
« lib/Reaction/InterfaceModel/Action/DBIC/ResultSet/DeleteAll.pm ↑ Summary lib/Reaction/InterfaceModel/ObjectClass.pm »
1 package Reaction::Types::DateTime;
2  
3 use MooseX::Types
4 6 ▶ -declare => [qw/DateTime SpanSet TimeRangeCollection/];
Subroutine BEGIN: called CC=1 SCAR=0.0
5  
6 6 ▶use MooseX::Types::Moose qw/Object ArrayRef/;
Subroutine BEGIN: called CC=1 SCAR=0.0
7 6 ▶use DateTime;
Subroutine BEGIN: called CC=1 SCAR=0.0
8  
9 subtype DateTime,
10 as Object,
11 0 ▶ where { $_->isa('DateTime') },
Subroutine __ANON__: not called CC=1 SCAR=6.9
12 0 ▶ message { "Please enter a date and time" };
Subroutine __ANON__: not called CC=1 SCAR=1.2
13  
14 6 ▶use DateTime::SpanSet;
Subroutine BEGIN: called CC=1 SCAR=0.0
15  
16 subtype SpanSet,
17 as Object,
18 0 ▶ where { $_->isa('DateTime::SpanSet') };
Subroutine __ANON__: not called CC=1 SCAR=1.2
19  
20 6 subtype TimeRangeCollection,
21 as ArrayRef;
22  
23 6 1;
24  
25 =head1 NAME
26  
27 Reaction::Types::DateTime
28  
29 =head1 DESCRIPTION
30  
31 =over
32  
33 =item * DateTime
34  
35 =item * DateTime::SpanSet
36  
37 =item * TimeRangeCollection
38  
39 =back
40  
41 =head1 SEE ALSO
42  
43 =over
44  
45 =item * L<Reaction::Types::Core>
46  
47 =back
48  
49 =head1 AUTHORS
50  
51 See L<Reaction::Class> for authors.
52  
53 =head1 LICENSE
54  
55 See L<Reaction::Class> for the license.
56  
57 =cut
« lib/Reaction/InterfaceModel/Action/DBIC/ResultSet/DeleteAll.pm ↑ Summary lib/Reaction/InterfaceModel/ObjectClass.pm »