Branch Coverage

blib/lib/Plack/Middleware/DBGp.pm
Criterion Covered Total %
branch 0 50 0.0


line true false branch
178 0 0 if $_[0] =~ /^Unable to connect to Unix socket: /
179 0 0 if $_[0] =~ /^Unable to connect to remote host: /
180 0 0 if $_[0] =~ /^Running program outside the debugger/
189 0 0 unless $args{'remote_host'} or $args{'client_socket'}
206 0 0 $args{'debug_startup'} ? :
208 0 0 if (not $args{'remote_host'}) { }
213 0 0 if (not $user && $dbgp_client_dir) { }
0 0 elsif (-d $dbgp_client_dir) { }
219 0 0 unless $uid == $user_id
221 0 0 unless $gid == $)
223 0 0 unless ($mode & 511) == 504
229 0 0 if ($error)
251 0 0 if ($args{'enbugger'})
259 0 0 ref $inc_path ? :
278 0 0 if DB::isConnected()
294 0 0 if ($autostart) { }
295 0 0 if defined $idekey
304 0 0 if (exists $params->{'XDEBUG_SESSION_STOP'}) { }
0 0 elsif (exists $params->{'XDEBUG_SESSION_START'}) { }
0 0 elsif (exists $cookies->{'XDEBUG_SESSION'}) { }
314 0 0 if ($debug)
322 0 0 if ($start_session or $stop_session)
325 0 0 if ($start_session) { }
0 0 elsif ($stop_session) { }
343 0 0 if (not defined $_[0] and DB::isConnected())