Serializer/PHP/Serialization.pm

filter: Statementstmt 100% 17 / 17 Branchbran n/a Conditioncond n/a MC/DCmcdc n/a Subroutinesub 100% 7 / 7 Podpod 100% 2 / 2 totaltotal 100% 26 / 26 CC 1 SCAR 0.0
CC
1
Cov
100%
BEGIN
1.0
BEGIN
1.0
BEGIN
1.0
CRAP 1.0
« Serializer/JSON/Syck.pm ↑ Summary Serializer/YAML.pm »
1 package Data::Serializer::PHP::Serialization;
2 12 ▶BEGIN { @Data::Serializer::PHP::Serialization::ISA = qw(Data::Serializer) }
Subroutine BEGIN: called CC=1 SCAR=0.0
3  
4 12 ▶use warnings;
Subroutine BEGIN: called CC=1 SCAR=0.0
5 12 ▶use strict;
Subroutine BEGIN: called CC=1 SCAR=0.0
6 12 ▶use PHP::Serialization qw();
Subroutine BEGIN: called CC=1 SCAR=0.0
7 12 ▶use vars qw($VERSION @ISA);
Subroutine BEGIN: called CC=1 SCAR=0.0
8  
9 12 $VERSION = '0.02';
10  
11 154 ▶sub serialize {
Subroutine serialize: called CC=1 SCAR=0.0
Pod documented
12 154 return PHP::Serialization::serialize($_[1]);
13 }
14  
15 154 ▶sub deserialize {
Subroutine deserialize: called CC=1 SCAR=0.0
Pod documented
16 154 return PHP::Serialization::unserialize($_[1]);
17 }
18  
19  
20  
21  
22 12 1;
23 __END__
« Serializer/JSON/Syck.pm ↑ Summary Serializer/YAML.pm »