blib/lib/Algorithm/LibLinear/FeatureScaling.pm | |||
---|---|---|---|
Criterion | Covered | Total | % |
branch | 10 | 24 | 41.6 |
line | true | false | branch |
---|---|---|---|
24 | 0 | 2 | unless ($data_set or $min_max_values) |
46 | 0 | 0 | if (none sub { defined $_; } , $filename, $fh, $string) |
51 | 0 | 0 | unless open $fh, '<', $filename // \$string |
56 | 0 | 0 | if $header eq 'y' |
57 | 0 | 0 | if $header ne 'x' |
113 | 0 | 0 | unless ($filename or $fh) |
116 | 0 | 0 | unless $fh |
127 | 0 | 3 | unless ($method) |
154 | 5 | 29 | if $min == $max |
156 | 11 | 18 | if ($unscaled == $min) { } |
9 | 9 | elsif ($unscaled == $max) { } | |
164 | 22 | 7 | if $scaled != 0 |