Condition Coverage

blib/lib/Sman/Man/Convert.pm
Criterion Covered Total %
condition 0 87 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 ''
153 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
172 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
221 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 || ''
179 0 0 shift @lines || ''
214 0 0 $1 || ''
215 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
153 0 0 0 !$out || $warn
172 0 0 0 !$out2 || $warn
186 0 0 0 not defined $l or $l =~ /^\s*$/
189 0 0 0 $l =~ s/^(\w(\s|\w)+)// or $l =~ s/^\s*(NAME)//i
210 0 0 0 $ms ||= $1
212 0 0 0 $v || $k
214 0 0 0 $mn ||= $1 || ''
215 0 0 0 $md ||= $2 || ''
217 0 0 0 $namestr || $v
0 0 0 $md ||= $namestr || $v