Branch Coverage

blib/lib/Spectrum/CLI.pm
Criterion Covered Total %
branch 0 132 0.0


line true false branch
47 0 0 if ('HASH' eq ref $_[0]) { }
50 0 0 if (defined $_[0]{'CLISESSID'})
53 0 0 if ($_[0]{'CLIMNAMEWIDTH'})
56 0 0 if ($_[0]{'VNMSHRCPATH'})
59 0 0 if ($_[0]{'localhostname'})
62 0 0 if ($_[0]{'timeout'})
67 0 0 if (m[^/]) { }
74 0 0 if ('' eq $$self{'dir'})
75 0 0 if ($ENV{'SPEC_ROOT'}) { }
0 0 elsif ($ENV{'SPECROOT'}) { }
82 0 0 if ('' eq $$self{'dir'})
83 0 0 if $$self{'verbose'}
87 0 0 if ('' eq $ENV{'VNMSHRCPATH'} and -f "$$self{'dir'}/.vnmshrc")
97 0 0 if ($cmd =~ /VnmShd$/)
100 0 0 if $cmd =~ /(Vnm|stop)Shd$/
101 0 0 if -f $entry and -x _
104 0 0 if $$self{'Verbose'}
141 0 0 if (not ref $fh) { }
142 0 0 if $$self{'verbose'}
145 0 0 if /^\s*#/
146 0 0 if (/\s*vsh_tcp_port\s*=\s*(0x([0-9a-f]+)|(\d+))/i)
147 0 0 $2 ? :
154 0 0 $$self{'localhostname'} ? :
0 0 $$self{'port'} ? :
160 0 0 unless (ref $s)
161 0 0 if $$self{'Verbose'}
163 0 0 if ('' eq $daemon)
164 0 0 if $$self{'verbose'}
169 0 0 if $$self{'Verbose'}
171 0 0 if -1 == $pid
172 0 0 if (0 == $pid) { }
174 0 0 unless setsid()
183 0 0 if $$self{'Verbose'}
184 0 0 $$self{'timeout'} ? :
192 0 0 if $$self{'vnm'}
194 0 0 if $$self{'Verbose'}
199 0 0 if $$self{'Verbose'}
201 0 0 unless (ref $fh)
202 0 0 if $$self{'verbose'}
208 0 0 if (0 != $$self{'status'})
209 0 0 if $$self{'verbose'}
218 0 0 unless ref $self
219 0 0 if (@_)
227 0 0 unless ref $self
228 0 0 if (@_) { }
237 0 0 unless ref $self
238 0 0 if (@_) { }
247 0 0 unless ref $self
253 0 0 unless ref $self
276 0 0 if ('HASH' eq ref $_[$n])
284 0 0 unless (grep {$command[0] eq $_;} @{$$self{'command'};})
288 0 0 if $$self{'Verbose'}
291 0 0 if ('fetchall_arrayref' eq $command[0]) { }
0 0 elsif ('show' ne $command[0] and 'seek' ne $command[0]) { }
298 0 0 unless ref $fhin
300 0 0 unless ref $fh
304 0 0 unless ($display)
308 0 0 if (0 != $$self{'status'} and $$self{'verbose'})
314 0 0 wantarray ? :
336 0 0 if ($lcv < $#headings) { }
342 0 0 if ($hashref)
344 0 0 unless $$hashref{$headings[$lcv]}
355 0 0 if (0 != $$self{'status'} and $$self{'verbose'})
360 0 0 wantarray ? :
365 0 0 unless ref $self
366 0 0 if ($^O =~ /^(ms)?(dos|win(32|nt)?)/i) { }