Branch Coverage

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


line true false branch
35 0 0 if ($@)
42 0 0 unless ($SWISH::API::VERSION and 'version'->new($SWISH::API::VERSION) >= 0.03)
74 0 0 unless defined $_[0]
86 0 0 unless open FFF, '<', $file
88 0 0 unless close FFF
94 0 0 unless open my $fh, '>', "$file"
96 0 0 unless close $fh
107 0 0 if $should_be_undef
109 0 0 unless defined $tmpdir
124 0 0 if $should_be_undef
126 0 0 unless defined $tmpdir
136 0 0 if ($?)
143 0 0 if $signal
144 0 0 if $dumped
152 0 0 unless unlink $errfile
154 0 0 unless unlink $outfile
170 0 0 $indexmodtime ? :
179 0 0 if ($swishecmd)
182 0 0 if (defined $lines[0])
184 0 0 if $lines[0] =~ / ([\d.]+)/
222 0 0 if length $str > $width