Branch Coverage

blib/lib/POE/Event/Message/Header.pm
Criterion Covered Total %
branch 0 60 0.0


line true false branch
27 0 0 if ($hRef and $hRef =~ /HASH/) { }
30 0 0 unless $self->r2id
46 0 0 $_[2] ? :
49 0 0 wantarray ? :
94 0 0 unless ($type =~ /^Route(To|Back)$/)
102 0 0 unless $mode
104 0 0 if ($host and $port) { }
0 0 elsif (not $service) { }
109 0 0 if (not defined $INC{'POE/Kernel.pm'}) { }
119 0 0 unless ($service and $event)
135 0 0 unless shift @{$_[0]{'RouteTo'};}
136 0 0 unless shift @{$_[0]{'RouteBack'};}
138 0 0 unless $_[0]->hasRouteTo
146 0 0 unless defined $$self{'RouteTo'}
152 0 0 unless defined $$self{'RouteBack'}
161 0 0 if $$nextRoute[0] and $$nextRoute[1]
162 0 0 unless $$nextRoute[2]
163 0 0 if $$nextRoute[2] =~ /^post/i
164 0 0 if $$nextRoute[2] =~ /^call/i
168 0 0 $_[0]->nextRouteType eq 'remote' ? :
169 0 0 $_[0]->nextRouteType =~ /(post|call)/ ? :
170 0 0 $_[0]->nextRouteType eq 'post' ? :
171 0 0 $_[0]->nextRouteType eq 'call' ? :
179 0 0 unless ($nohead)
189 0 0 if ($param =~ /^Route(To|Back)$/)
190 0 0 $param eq 'RouteTo' ? :
191 0 0 unless (@$value)
198 0 0 $arg ? :
211 0 0 unless defined $value
212 0 0 if length $value and not $value