Branch Coverage

blib/lib/Grips/Gripsrc.pm
Criterion Covered Total %
branch 0 54 0.0


line true false branch
24 0 0 if ($^O eq 'MacOS') { }
27 0 0 $home =~ /:$/ ? :
40 0 0 unless ($^O eq 'os2' or $^O eq 'MSWin32' or $^O eq 'MacOS' or $^O =~ /^cygwin/)
47 0 0 if (@stat)
49 0 0 if ($stat[2] & 63)
54 0 0 if ($stat[4] != $<)
62 0 0 if ($fh = 'FileHandle'->new($file, 'r'))
68 0 0 if /\A\n\Z/
70 0 0 if ($macdef)
84 0 0 if ($tok[0] eq 'default')
94 0 0 unless @tok > 1
98 0 0 if ($tok eq 'host') { }
0 0 elsif ($tok =~ /^(id|user|pwd)$/) { }
0 0 elsif ($tok eq 'macdef') { }
104 0 0 unless exists $gripsrc{$host}
109 0 0 unless $mach
117 0 0 unless $mach
120 0 0 unless exists $mach->{'macdef'}
134 0 0 unless exists $gripsrc{'default'}
137 0 0 if $mach eq 'default'
140 0 0 if (exists $gripsrc{$mach})
142 0 0 if (defined $id)
148 0 0 if exists $m->{'id'} and $m->{'id'} eq $id
156 0 0 if defined $gripsrc{'default'}
167 0 0 exists $me->{'id'} ? :
176 0 0 exists $me->{'pwd'} ? :
185 0 0 exists $me->{'user'} ? :