Branch Coverage

blib/lib/Sman/Man/Convert.pm
Criterion Covered Total %
branch 0 82 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)
97 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')
160 0 0 if ($@) { }
161 0 0 if ($@ eq "ALARM\n") { }
170 0 0 if (not $autoconfiguring and $config->GetConfigData('WARN') and $err and !$out || $warn)
175 0 0 unless ($out)
180 0 0 unless Sman::Util::WriteFile($tmpname, \$out)
182 0 0 if ($debug)
188 0 0 unless unlink $tmpname
189 0 0 if (not $autoconfiguring and $config->GetConfigData('WARN') and $err2 and !$out2 || $warn)
203 0 0 if not defined $l or $l =~ /^\s*$/
204 0 0 if $line1 =~ /^\s*$/
206 0 0 if ($l =~ s/^(\w(\s|\w)+)// or $l =~ s/^\s*(NAME)//i)
212 0 0 unless $l =~ /^\s*$/
225 0 0 if (/^A_(AHEAD|BFOOT)$/) { }
0 0 elsif ($k =~ s/^\s*(NOSECTION|NAME)\s*//) { }
227 0 0 if ($v =~ /\(([^)]+)\)\s*$/)
230 0 0 if ($namestr =~ /(\S.*)\s+--?\s*(.*)/) { }
238 0 0 if (not $ms and $file =~ m[/man/man([^/]*)/])
241 0 0 unless $mn