ACME2/X/Generic.pm untested

filter: Statementstmt 0.0% 0 / 12 Branchbran 0.0% 0 / 2 Conditioncond n/a MC/DCmcdc n/a Subroutinesub 0.0% 0 / 4 Podpod 0.0% 0 / 1 totaltotal 0.0% 0 / 19 SCAR 17.9
CC
2
Cov
0%
new
6.0
BEGIN
2.0
BEGIN
2.0
CRAP 6.0
1 package Net::ACME2::X::Generic;
2  
3 use strict;
4 use warnings;
5  
6 use parent qw( X::Tiny::Base );
7  
8 sub new {
9 my ( $class, $string, $props_hr ) = @_;
10  
11 my @attrs_kv = $props_hr ? %$props_hr : ();
12  
13 return $class->SUPER::new($string, @attrs_kv);
14 }
15  
16 1;