Branch Coverage

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


line true false branch
136 0 0 unless ($args{$_})
147 0 0 unless ($args{'-machine'})
153 0 0 unless ($args{'-loginAsGuest'})
172 0 0 if ($args{'-' . $_})
179 0 0 if $args{-'debug'}
183 0 0 if ($lk_config)
190 0 0 if ($response->is_error)
244 0 0 unless ($args{$_})
248 0 0 unless ($args{'-machine'})
255 0 0 unless ($args{'-loginAsGuest'})
265 0 0 if $args{-'debug'}
322 0 0 unless ($args{$_})
326 0 0 unless ($args{'-machine'})
332 0 0 unless ($args{'-loginAsGuest'})
342 0 0 if $args{-'debug'}
396 0 0 unless ($args{$_})
400 0 0 unless ($args{'-machine'})
406 0 0 unless ($args{'-loginAsGuest'})
416 0 0 if $args{-'debug'}
471 0 0 unless ($args{$_})
475 0 0 unless ($args{'-machine'})
481 0 0 unless ($args{'-loginAsGuest'})
491 0 0 if $args{-'debug'}
499 0 0 if ($args{'-' . $_})
504 0 0 if $args{-'debug'}
522 0 0 unless ($file and -e $file)
525 0 0 unless (-e $file)
537 0 0 unless ($^O eq 'os2' or $^O eq 'MSWin32' or $^O eq 'MacOS' or $^O =~ /^cygwin/)
544 0 0 if (@stat)
545 0 0 if ($stat[2] & 63)
549 0 0 if ($stat[4] != $<)
556 0 0 if ($fh = 'FileHandle'->new($file, 'r'))
560 0 0 if /\A\n\Z/
562 0 0 if ($macdef)
578 0 0 if ($tok[0] eq 'default')
587 0 0 unless @tok > 1
591 0 0 if ($tok eq 'machine') { }
0 0 elsif ($tok =~ /^(login|password|account)$/) { }
0 0 elsif ($tok eq 'macdef') { }
595 0 0 unless exists $netrc{$host}
600 0 0 unless $mach
608 0 0 unless $mach
610 0 0 unless exists $$mach{'macdef'}
622 0 0 if (not $auth and length keys %netrc == 1)
626 0 0 unless $auth
627 0 0 unless $$auth{'password'}
628 0 0 unless $$auth{'login'}
658 0 0 if ($response->is_error)
674 0 0 if ($args{'-timeout'})