Branch Coverage

lib/Net/GPSD/Server/Fake.pm
Criterion Covered Total %
branch 2 94 2.1


line true false branch
63 0 1 defined $param{'debug'} ? :
83 0 0 unless $listen_socket
84 0 0 if $$self{'debug'} > 2
88 0 0 unless defined($child = fork)
89 0 0 if ($child == 0) { }
102 0 0 if $$self{'debug'} > 0
105 0 0 if $$self{'debug'} > 1
106 0 0 unless /\S/
111 0 0 if $$self{'debug'} > 2
112 0 0 if (/l/i) { }
0 0 elsif (/a/i) { }
0 0 elsif (/v/i) { }
0 0 elsif (/t/i) { }
0 0 elsif (/s/i) { }
0 0 elsif (/x/i) { }
0 0 elsif (/i/i) { }
0 0 elsif (/m/i) { }
0 0 elsif (/p/i) { }
0 0 elsif (/o/i) { }
0 0 elsif (/y/i) { }
0 0 elsif (/w/i) { }
0 0 elsif (/r/i) { }
116 0 0 if $$self{'debug'} > 3
119 0 0 if $$self{'debug'} > 3
122 0 0 if $$self{'debug'} > 3
125 0 0 if $$self{'debug'} > 3
142 0 0 $w ? :
144 0 0 if ($w) { }
146 0 0 if $$self{'debug'} > 2
151 0 0 $r ? :
153 0 0 if ($r) { }
155 0 0 if $$self{'debug'} > 2
163 0 0 if $$self{'debug'} > 0
165 0 0 if $$self{'debug'} > 0
176 0 0 if $1
186 0 0 unless defined $pid
187 0 0 if ($pid) { }
190 0 0 if $$self{'debug'} > 4
200 0 0 unless defined $pid
201 0 0 if ($pid) { }
211 0 0 if $$self{'debug'} > 4
219 0 0 if (ref $point eq 'Net::GPSD::Point') { }
239 0 0 if (ref $satellite[0] eq 'Net::GPSD::Satellite') { }
260 0 0 $point->fix ? :
289 0 0 if ($count++ % 5 == 0)
324 0 1 if (@_)
357 0 0 !defined($value) || $value eq '' ? :