blib/lib/Apache/Session/Serialize/SOAPEnvelope.pm

filter: Statementstmt 100% 18 / 18 Branchbran n/a Conditioncond n/a MC/DCmcdc n/a Subroutinesub 100% 5 / 5 Podpod 0.0% 0 / 2 totaltotal 92.0% 23 / 25 CC 1 SCAR 0.0
CC
1
Cov
100%
BEGIN
1.0
BEGIN
1.0
BEGIN
1.0
CRAP 1.0
↑ Summary
1 package Apache::Session::Serialize::SOAPEnvelope;
2  
3 2 ▶use strict;
Subroutine BEGIN: called CC=1 SCAR=0.0
4 2 ▶use vars qw($VERSION);
Subroutine BEGIN: called CC=1 SCAR=0.0
5 2 $VERSION = '0.01';
6 2 ▶use SOAP::Lite ();
Subroutine BEGIN: called CC=1 SCAR=0.0
7  
8 2 ▶sub serialize {
Subroutine serialize: called CC=1 SCAR=0.0
Pod undocumented
9 2 my $session = shift;
10 2 my $serializer = SOAP::Serializer->new();
11 2 $session->{serialized} = $serializer->serialize($session->{data});
12 }
13  
14 1 ▶sub unserialize {
Subroutine unserialize: called CC=1 SCAR=0.0
Pod undocumented
15 1 my $session = shift;
16 1 my $deserializer = SOAP::Deserializer->new();
17 1 my $decoded = $deserializer->decode($session->{serialized});
18 1 $session->{data} = $deserializer->decode_object($decoded);
19 }
20  
21 2 1;
22  
23 __END__
↑ Summary