blib/lib/Clustericious/Client/Object/DateTime.pm

filter: Statementstmt 100% 14 / 14 Branchbran n/a Conditioncond n/a MC/DCmcdc n/a Subroutinesub 100% 4 / 4 Podpod 100% 1 / 1 totaltotal 100% 19 / 19 CC 1 SCAR 0.0
CC
1
Cov
100%
BEGIN
1.0
BEGIN
1.0
BEGIN
1.0
CRAP 1.0
« corpus/log_commandline/SampleModule2.pm ↑ Summary blib/lib/Clustericious/Client/Object/Params.pm »
1 package Clustericious::Client::Object::DateTime;
2  
3 2 ▶use strict;
Subroutine BEGIN: called CC=1 SCAR=0.0
4 2 ▶use warnings;
Subroutine BEGIN: called CC=1 SCAR=0.0
5  
6 # ABSTRACT: Clustericious DateTime object
7 2 our $VERSION = '1.29'; # VERSION
8  
9  
10 2 ▶use DateTime::Format::ISO8601;
Subroutine BEGIN: called CC=1 SCAR=0.0
11  
12  
13 sub new
14 1 ▶{
Subroutine new: called CC=1 SCAR=0.0
Pod documented
15 1 my $class = shift;
16 1 my ($datetime) = @_;
17  
18 1 DateTime::Format::ISO8601->new->parse_datetime($datetime);
19 }
20  
21 2 1;
22  
23 __END__
« corpus/log_commandline/SampleModule2.pm ↑ Summary blib/lib/Clustericious/Client/Object/Params.pm »