Client/Response/Typemap.pm untested

filter: Statementstmt 0.0% 0 / 20 Branchbran n/a Conditioncond n/a MC/DCmcdc n/a Subroutinesub 0.0% 0 / 7 Podpod 0.0% 0 / 2 totaltotal 0.0% 0 / 29 CC 1 SCAR 6.9
CC
1
Cov
0%
types
2.0
xsi_type
2.0
BEGIN
2.0
CRAP 2.0
1 package DBGp::Client::Response::Typemap;
2  
3 use strict;
4 use warnings;
5 use parent qw(DBGp::Client::Response::Simple);
6  
7 use DBGp::Client::Response::Property;
8  
9 __PACKAGE__->make_attrib_accessors(qw(
10 transaction_id command
11 ));
12  
13 sub types {
14 return [
15 map bless($_->{attrib}, 'DBGp::Client::Response::Typemap::Type'),
16 DBGp::Client::Parser::_nodes($_[0], 'map')
17 ];
18 }
19  
20 package DBGp::Client::Response::Typemap::Type;
21  
22 use parent qw(DBGp::Client::Response::Simple);
23  
24 __PACKAGE__->make_accessors(qw(
25 type name
26 ));
27  
28 sub xsi_type { $_[0]->{'xsi:type'} }
29  
30 1;