blib/lib/Net/Netrc.pm | |||
---|---|---|---|
Criterion | Covered | Total | % |
condition | 10 | 28 | 35.7 |
line | !l | l&&!r | l&&r | condition |
---|---|---|---|---|
90 | 10 | 0 | 29 | length $_ and s/^("((?:[^"]+|\\.)*)"|((?:[^\\\s]+|\\.)*))\s*// |
154 | 0 | 1 | 1 | exists $m->{'login'} and $m->{'login'} eq $login |
line | l | !l | condition |
---|---|---|---|
38 | 0 | 0 | $ENV{'HOMEPATH'} || '' |
146 | 4 | 1 | $mach ||= "default" |
line | l | !l&&r | !l&&!r | condition |
---|---|---|---|---|
30 | 0 | 0 | 0 | $ENV{'HOME'} || `pwd` |
37 | 2 | 0 | 0 | eval { do { (getpwuid($>))[7] } } || $ENV{'HOME'} |
38 | 0 | 0 | 0 | $home ||= $ENV{'HOMEDRIVE'} . ($ENV{'HOMEPATH'} || '') |
57 | 0 | 0 | 2 | $^O eq "os2" or $^O eq "MSWin32" |
0 | 0 | 2 | $^O eq "os2" or $^O eq "MSWin32" or $^O eq "MacOS" | |
0 | 0 | 2 | $^O eq "os2" or $^O eq "MSWin32" or $^O eq "MacOS" or $^O =~ /^cygwin/ |