SRS/Date/Range.pm

filter: Statementstmt 84.6% 11 / 13 Branchbran n/a Conditioncond n/a MC/DCmcdc n/a Subroutinesub 100% 5 / 5 Podpod n/a totaltotal 88.8% 16 / 18 CC 1 SCAR 0.6
CC
1
Cov
85%
BEGIN
1.3
BEGIN
1.0
BEGIN
1.0
CRAP 1.1
« SRS/AuditDetails.pm ↑ Summary SRS/Domain/Create.pm »
1  
2 package XML::SRS::Date::Range;
3 1 ▶BEGIN {
Subroutine BEGIN: called CC=1 SCAR=0.0
4 1 $XML::SRS::Date::Range::VERSION = '0.09';
5 }
6  
7 1 ▶use Moose;
Subroutine BEGIN: called CC=1 SCAR=0.0
8 1 ▶use PRANG::Graph;
Subroutine BEGIN: called CC=1 SCAR=0.0
9 1 ▶use Moose::Util::TypeConstraints;
Subroutine BEGIN: called CC=1 SCAR=0.0
10  
11 0 ▶use XML::SRS::TimeStamp;
Subroutine BEGIN: called CC=1 SCAR=2.6
12  
13 has_element 'begin' =>
14 is => "ro",
15 isa => "XML::SRS::TimeStamp",
16 xml_nodeName => "From",
17 xml_required => 0,
18 coerce => 1,
19 ;
20  
21 has_element 'end' =>
22 is => "ro",
23 isa => "XML::SRS::TimeStamp",
24 xml_nodeName => "To",
25 xml_required => 0,
26 coerce => 1,
27 ;
28  
29 coerce __PACKAGE__
30 => from "HashRef"
31 => via { __PACKAGE__->new(%$_); };
32  
33 with 'XML::SRS::Node';
34  
35 1;
« SRS/AuditDetails.pm ↑ Summary SRS/Domain/Create.pm »