Branch Coverage

blib/lib/Mail/SpamAssassin/Util/TieOneStringHash.pm
Criterion Covered Total %
branch 13 22 59.0


line true false branch
56 0 1744 unless defined $v
58 0 1744 if (ref $v)
61 0 1744 unless (defined $k)
65 1681 63 unless ($$store =~ s/\n\Q$k\E\000.*?\000\n/\n$k\000$v\000\n/gsx)
74 1796 113 if ($$store =~ /\n\Q$k\E\000(.*?)\000\n/sx)
76 0 1796 $1 eq $UNDEF_VALUE ? :
83 1628 1750 if ($$store =~ /\n\Q$k\E\000/sx)
92 0 0 if ($$store =~ s/\n\Q$k\E\000(.*?)\000\n//gsx)
94 0 0 $1 eq $UNDEF_VALUE ? :
101 34 0 if ($$store =~ /^\n(.*?)\000/s)
110 851 34 if ($$store =~ /\n\Q$lastk\E\000.*?\000\n \n(.*?)\000/sx)