Branch Coverage

blib/lib/Unix/AutomountFile.pm
Criterion Covered Total %
branch 24 34 70.5


line true false branch
38 0 6 if /^#/
39 0 6 if /^$/
43 3 3 if ($fields[0] =~ /^-/)
59 12 8 unless (@_)
60 1 11 unless defined $$this{'mount'}{$key}
61 4 7 unless wantarray
66 8 0 unless wantarray
75 0 2 unless defined $$this{'mount'}{$key}
86 0 1 unless exists $$this{'mount'}{$oldname}
99 0 1 unless defined $$this{'mount'}{$key}
109 1 1 unless wantarray
119 0 6 unless print $fh "$key\t"
120 4 2 if (defined $this->options($key))
121 0 4 unless print $fh $this->options($key), "\t"
123 0 6 unless print $fh join(' ', $this->automount($key)), "\n"
133 0 19 unless defined $$this{'mount'}{$key}
134 7 12 @_ ? :