Branch Coverage: blib/lib/Debug/Client.pm

# Branch Coverage

File: | blib/lib/Debug/Client.pm
Coverage: | 74.0%

line | % | coverage | branch
--- | --- | --- | ---
158 | 50 | T | F | unless $sock
225 | 50 | T | F | unless wantarray
248 | 100 | T | F | if ($buf =~ /^(scalar|list) context return from (\S+):\s*(.*)/s)
291 | 100 | T | F | if (not defined $param) { }
320 | 50 | T | F | if ($buf =~ /^Subroutine [\w:]+ not found\./) { }
| 100 | T | F | elsif ($buf =~ /^Line \d+ not breakable\./) { }
| 100 | T | F | elsif ($buf =~ /\S/) { }
369 | 100 | T | F | unless (wantarray)
387 | 50 | T | F | if ($buf =~ s/^($PATH):\s*($LINE):\s*($CODE)\s+break if \(($COND)\)s*//) { }
412 | 100 | T | F | unless defined $code
434 | 50 | T | F | unless defined $var
436 | 100 | T | F | if ($var =~ /^\$/) { }
| 50 | T | F | elsif ($var =~ /\@/ or $var =~ /\%/) { }
465 | 50 | T | F | unless (defined $ret)
469 | 50 | T | F | unless ($ret)
488 | 100 | T | F | if (not defined $buf && ref $buf or ref $buf ne 'SCALAR')
493 | 50 | T | F | if ($$buf =~ s/\s*DB<(\d+)>\s*$//)
514 | 50 | T | F | if (not defined $buf && ref $buf or ref $buf ne 'SCALAR')
518 | 100 | T | F | if ($$buf =~ /Debugged program terminated/)
527 | 50 | T | F | unless (defined $line)
532 | 100 | T | F | if ($line =~ /^\d+: \s* (.*)$/x)
543 | 50 | T | F | if ($line =~ /^([\w:]*) # module \( ([^\)]*):(\d+) \) # (file:row) :\t? # : (.*) # content /mx)
552 | 100 | T | F | if ($cont)
580 | 100 | T | F | if (wantarray) { }
607 | 50 | T | F | if $ENV{'DEBUG_LOGGER'}