Branch Coverage

blib/lib/Sman/Util.pm
Criterion Covered Total %
branch 0 38 0.0


line true false branch
35 0 0 if ($@)
42 0 0 unless ($SWISH::API::VERSION and $SWISH::API::VERSION >= 0.03)
74 0 0 unless defined $_[0]
84 0 0 unless open FFF, "$file"
86 0 0 unless close FFF
91 0 0 unless open FFF, '>' . "$file"
93 0 0 unless close FFF
104 0 0 if $should_be_undef
106 0 0 unless defined $tmpdir
116 0 0 if ($?)
123 0 0 if $signal
124 0 0 if $dumped
132 0 0 unless unlink $errfile
134 0 0 unless unlink $outfile
150 0 0 $indexmodtime ? :
159 0 0 if ($swishecmd)
162 0 0 if (defined $lines[0])
164 0 0 if $lines[0] =~ / ([\d.]+)/
202 0 0 if length $str > $width