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

filter: Statementstmt 100% 15 / 15 Branchbran n/a Conditioncond n/a MC/DCmcdc n/a Subroutinesub 100% 4 / 4 Podpod 100% 1 / 1 totaltotal 100% 20 / 20 CC 1 SCAR 0.0
CC
1
Cov
100%
BEGIN
1.0
BEGIN
1.0
BEGIN
1.0
CRAP 1.0
« blib/lib/Clustericious/Client/Object/DateTime.pm ↑ Summary blib/lib/Clustericious/Command.pm »
1 package Clustericious::Client::Object::Params;
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 2 ▶use base 'Clustericious::Client::Object';
Subroutine BEGIN: called CC=1 SCAR=0.0
6  
7 # ABSTRACT: object parameters
8 2 our $VERSION = '1.29'; # VERSION
9  
10  
11 sub new
12 1 ▶{
Subroutine new: called CC=1 SCAR=0.0
Pod documented
13 1 my $class = shift;
14 1 my ($paramlist) = @_;
15  
16 1 $class->SUPER::new({ map { $_->{name} => $_->{value} } @$paramlist });
17 }
18  
19 2 1;
20  
21 __END__
« blib/lib/Clustericious/Client/Object/DateTime.pm ↑ Summary blib/lib/Clustericious/Command.pm »