Serializer.pm

filter: Statementstmt 100% 8 / 8 Branchbran n/a Conditioncond n/a MC/DCmcdc n/a Subroutinesub 100% 2 / 2 Podpod 100% 1 / 1 totaltotal 100% 11 / 11 CC 1 SCAR 0.0
CC
1
Cov
100%
BEGIN
1.0
serialize_chunk
1.0
CRAP 1.0
« Exception.pm ↑ Summary Simple.pm »
1 package Hessian::Serializer;
2  
3 33 ▶use Moose::Role;
Subroutine BEGIN: called CC=1 SCAR=0.0
4  
5 33 with qw/
6 Hessian::Serializer::Numeric
7 Hessian::Serializer::String
8 Hessian::Serializer::Date
9 Hessian::Serializer::Binary
10 /;
11  
12  
13 19 ▶sub serialize_chunk { #{{{
Subroutine serialize_chunk: called CC=1 SCAR=0.0
Pod documented
14 19 my ( $self, $datastructure ) = @_;
15 19 my $result = $self->write_hessian_chunk($datastructure);
16 19 return $result;
17 }
18  
19 #sub serialize_message { #{{{
20 # my ( $self, $datastructure ) = @_;
21 # my $message;
22 # $message = "H\x02\x00" if $self->version() == 2;
23 # $message .= $self->write_hessian_message($datastructure);
24 # return $message;
25 #}
26  
27 33 "one, but we're not the same";
28  
29 __END__
« Exception.pm ↑ Summary Simple.pm »