Branch Coverage

blib/lib/Cake/Utils/Serializer.pm
Criterion Covered Total %
branch 0 32 0.0


line true false branch
24 0 0 if ($data)
30 0 0 if $@
45 0 0 $1 ? :
49 0 0 if ($trim)
64 0 0 if ($data =~ /[^,:{}\[\]0-9.\-+Eaeflnr-u \n\r\t]/g and $@)
78 0 0 unless (ref $hash)
87 0 0 if (ref $hash eq 'ARRAY') { }
95 0 0 if (ref $value eq 'HASH') { }
0 0 elsif (ref $value eq 'ARRAY') { }
103 0 0 !$array ? :
109 0 0 unless $str
119 0 0 if $str and $str =~ /^\d$/ and $str == 0
120 0 0 unless $str
138 0 0 unless defined $val
140 0 0 if ($index and ref $val eq 'ARRAY')
144 0 0 if (ref $val) { }