Branch Coverage

blib/lib/Labkey/Query.pm
Criterion Covered Total %
branch 0 98 0.0


line true false branch
129 0 0 unless ($args{$_})
140 0 0 unless ($args{'-machine'})
146 0 0 unless ($args{'-loginAsGuest'})
165 0 0 if ($args{'-' . $_})
172 0 0 if $args{-'debug'}
176 0 0 if ($lk_config)
183 0 0 if ($response->is_error)
237 0 0 unless ($args{$_})
241 0 0 unless ($args{'-machine'})
248 0 0 unless ($args{'-loginAsGuest'})
258 0 0 if $args{-'debug'}
315 0 0 unless ($args{$_})
319 0 0 unless ($args{'-machine'})
325 0 0 unless ($args{'-loginAsGuest'})
335 0 0 if $args{-'debug'}
389 0 0 unless ($args{$_})
393 0 0 unless ($args{'-machine'})
399 0 0 unless ($args{'-loginAsGuest'})
409 0 0 if $args{-'debug'}
464 0 0 unless ($args{$_})
468 0 0 unless ($args{'-machine'})
474 0 0 unless ($args{'-loginAsGuest'})
484 0 0 if $args{-'debug'}
492 0 0 if ($args{'-' . $_})
497 0 0 if $args{-'debug'}
515 0 0 unless ($file and -e $file)
518 0 0 unless (-e $file)
530 0 0 unless ($^O eq 'os2' or $^O eq 'MSWin32' or $^O eq 'MacOS' or $^O =~ /^cygwin/)
537 0 0 if (@stat)
538 0 0 if ($stat[2] & 63)
542 0 0 if ($stat[4] != $<)
549 0 0 if ($fh = 'FileHandle'->new($file, 'r'))
553 0 0 if /\A\n\Z/
555 0 0 if ($macdef)
571 0 0 if ($tok[0] eq 'default')
580 0 0 unless @tok > 1
584 0 0 if ($tok eq 'machine') { }
0 0 elsif ($tok =~ /^(login|password|account)$/) { }
0 0 elsif ($tok eq 'macdef') { }
588 0 0 unless exists $netrc{$host}
593 0 0 unless $mach
601 0 0 unless $mach
603 0 0 unless exists $$mach{'macdef'}
615 0 0 if (not $auth and length keys %netrc == 1)
619 0 0 unless $auth
620 0 0 unless $$auth{'password'}
621 0 0 unless $$auth{'login'}
651 0 0 if ($response->is_error)
667 0 0 if ($args{'-timeout'})