Condition Coverage

blib/lib/Sman/Man/Convert.pm
Criterion Covered Total %
condition 0 89 0.0


and 2 conditions

line l !l condition
75 0 0 warn "** Couldn't cd to $dir!\n" and $origdir = ''

and 3 conditions

line !l l&&!r l&&r condition
51 0 0 0 $hascache and defined($rawdata = $self->{'cache'}->get($cachename))
94 0 0 0 $out and $hascache
140 0 0 0 $warn and $cmd eq $file
141 0 0 0 $warn and $sec eq ''
170 0 0 0 not $autoconfiguring and $config->GetConfigData('WARN')
0 0 0 not $autoconfiguring and $config->GetConfigData('WARN') and $err
0 0 0 not $autoconfiguring and $config->GetConfigData('WARN') and $err and !$out || $warn
189 0 0 0 not $autoconfiguring and $config->GetConfigData('WARN')
0 0 0 not $autoconfiguring and $config->GetConfigData('WARN') and $err2
0 0 0 not $autoconfiguring and $config->GetConfigData('WARN') and $err2 and !$out2 || $warn
238 0 0 0 not $ms and $file =~ m[/man/man([^/]*)/]

or 2 conditions

line l !l condition
21 0 0 shift() || {}
116 0 0 $config->GetConfigData('MANCMD') || die(q[Couldn't get a man cmd: need MANCMD set.])
117 0 0 $config->GetConfigData('COLCMD') || 'col -b'
122 0 0 $config->GetConfigData('TMPDIR') || '/tmp'
139 0 0 $1 || $3 || ''
152 0 0 $config->GetConfigData('CONVERSION_TIMEOUT') || 60
196 0 0 shift @lines || ''
231 0 0 $1 || ''
232 0 0 $2 || ''

or 3 conditions

line l !l&&r !l&&!r condition
17 0 0 0 ref $proto || $proto
138 0 0 0 $2 || $file
170 0 0 0 !$out || $warn
189 0 0 0 !$out2 || $warn
203 0 0 0 not defined $l or $l =~ /^\s*$/
206 0 0 0 $l =~ s/^(\w(\s|\w)+)// or $l =~ s/^\s*(NAME)//i
227 0 0 0 $ms ||= $1
229 0 0 0 $v || $k
231 0 0 0 $mn ||= $1 || ''
232 0 0 0 $md ||= $2 || ''
234 0 0 0 $namestr || $v
0 0 0 $md ||= $namestr || $v