Branch Coverage

blib/lib/Sman/Man/Convert.pm
Criterion Covered Total %
branch 0 78 0.0


line true false branch
24 0 0 unless ($$self{'options'}{'nocache'})
29 0 0 if ($@)
51 0 0 if ($hascache and defined($rawdata = $$self{'cache'}->get($cachename)))
54 0 0 if ($mtime) { }
55 0 0 if ($filemtime < $mtime) { }
58 0 0 if $$self{'config'}->GetConfigData('VERBOSE')
61 0 0 if $$self{'config'}->GetConfigData('DEBUG')
64 0 0 if $$self{'config'}->GetConfigData('DEBUG')
71 0 0 if ($file =~ m[^(.*/man/)]) { }
75 0 0 unless chdir $dir
77 0 0 if $config->GetConfigData('VERBOSE')
89 0 0 unless ($out)
94 0 0 if ($out and $hascache)
96 0 0 if $$self{'config'}->GetConfigData('DEBUG')
100 0 0 unless ($out)
105 0 0 unless chdir $origdir
0 0 if ($origdir)
127 0 0 if $debug
129 0 0 if $debug
131 0 0 if $debug
140 0 0 if $warn and $cmd eq $file
141 0 0 if $warn and $sec eq ''
151 0 0 if $config->GetConfigData('VERBOSE')
153 0 0 if (not $autoconfiguring and $config->GetConfigData('WARN') and $err and !$out || $warn)
158 0 0 unless ($out)
163 0 0 unless Sman::Util::WriteFile($tmpname, \$out)
165 0 0 if ($debug)
171 0 0 unless unlink $tmpname
172 0 0 if (not $autoconfiguring and $config->GetConfigData('WARN') and $err2 and !$out2 || $warn)
186 0 0 if not defined $l or $l =~ /^\s*$/
187 0 0 if $line1 =~ /^\s*$/
189 0 0 if ($l =~ s/^(\w(\s|\w)+)// or $l =~ s/^\s*(NAME)//i)
195 0 0 unless $l =~ /^\s*$/
208 0 0 if (/^A_(AHEAD|BFOOT)$/) { }
0 0 elsif ($k =~ s/^\s*(NOSECTION|NAME)\s*//) { }
210 0 0 if ($v =~ /\(([^)]+)\)\s*$/)
213 0 0 if ($namestr =~ /(\S.*)\s+--?\s*(.*)/) { }
221 0 0 if (not $ms and $file =~ m[/man/man([^/]*)/])
224 0 0 unless $mn