Branch Coverage

blib/lib/Log/Syslog/Fast/PP.pm
Criterion Covered Total %
branch 32 34 94.1


line true false branch
34 1 33 unless defined $ref
39 1 33 unless defined $hostname
40 1 32 unless defined $sender
41 1 31 unless defined $name
58 9 22 if $@
69 4 69 if ($$self[8] == 1)
76 4 69 if ($$self[8] == 1)
84 1 139 unless defined $_[1]
88 109 30 if ($proto == 1) { }
12 18 elsif ($proto == 0) { }
18 0 elsif ($proto == 2) { }
109 12 6 if ($@ or not $$self[4])
117 9 130 unless $$self[4]
139 1 9 unless defined $_[0]
146 1 9 unless defined $_[0]
167 0 25 if ($now != $_[0][5])
171 5 20 unless CORE::send $_[0][4], $_[0][6] . $_[1], 0