Condition Coverage

blib/lib/AI/NeuralNet/SOM.pm
Criterion Covered Total %
condition 15 144 10.4


and 3 conditions

line !l l&&!r l&&r condition
75 1 0 0 $topology ne 'hexa' and $topology ne 'rect'
76 1 0 0 $neighborhood ne 'bubble' and $neighborhood ne 'gaussian'
77 0 1 0 $init_type ne 'random' and $init_type ne 'linear'
79 0 1 0 ref $data eq 'ARRAY' and @$data % $idim
143 0 1 0 ref $data eq 'ARRAY' and @$data % $$self{'IDIM'}
189 0 4 0 ref $data eq 'ARRAY' and @$data % $$self{'IDIM'}
318 1 0 0 $topology ne 'hexa' and $topology ne 'rect'
319 1 0 0 $neighborhood ne 'bubble' and $neighborhood ne 'gaussian'
388 0 0 0 $j < $$self{'YDIM'} - 1 and $i < $$self{'XDIM'} - 1
501 0 0 0 $i > 0 and $j > 0
0 0 0 $i > 0 and $j > 0 and $i < $$self{'XDIM'} * 2 - 2
0 0 0 $i > 0 and $j > 0 and $i < $$self{'XDIM'} * 2 - 2 and $j < $$self{'YDIM'} * 2 - 2
0 0 0 $j == 0 and $i > 0
0 0 0 $j == 0 and $i > 0 and $i < $$self{'XDIM'} * 2 - 2
0 0 0 $j == $$self{'YDIM'} * 2 - 2 and $i > 0
0 0 0 $j == $$self{'YDIM'} * 2 - 2 and $i > 0 and $i < $$self{'XDIM'} * 2 - 2
0 0 0 $i == 0 and $j > 0
0 0 0 $i == 0 and $j > 0 and $j < $$self{'YDIM'} * 2 - 2
0 0 0 $i == $$self{'XDIM'} * 2 - 2 and $j > 0
0 0 0 $i == $$self{'XDIM'} * 2 - 2 and $j > 0 and $j < $$self{'YDIM'} * 2 - 2
0 0 0 $i == 0 and $j == 0
0 0 0 $i == $$self{'XDIM'} * 2 - 2 and $j == 0
0 0 0 $i == 0 and $j == $$self{'YDIM'} * 2 - 2
0 0 0 $i == $$self{'XDIM'} * 2 - 2 and $j == $$self{'YDIM'} * 2 - 2
571 0 0 0 $i > 0 and $j > 0
0 0 0 $i > 0 and $j > 0 and $i < $$self{'XDIM'} * 2 - 2
0 0 0 $i > 0 and $j > 0 and $i < $$self{'XDIM'} * 2 - 2 and $j < $$self{'YDIM'} * 2 - 2
0 0 0 $j == 0 and $i > 0
0 0 0 $j == 0 and $i > 0 and $i < $$self{'XDIM'} * 2 - 2
0 0 0 $j == $$self{'YDIM'} * 2 - 2 and $i > 0
0 0 0 $j == $$self{'YDIM'} * 2 - 2 and $i > 0 and $i < $$self{'XDIM'} * 2 - 2
0 0 0 $i == 0 and $j > 0
0 0 0 $i == 0 and $j > 0 and $j < $$self{'YDIM'} * 2 - 2
0 0 0 $i == $$self{'XDIM'} * 2 - 2 and $j > 0
0 0 0 $i == $$self{'XDIM'} * 2 - 2 and $j > 0 and $j < $$self{'YDIM'} * 2 - 2
0 0 0 $i == 0 and $j == 0
0 0 0 $i == $$self{'XDIM'} * 2 - 2 and $j == 0
0 0 0 $i == 0 and $j == $$self{'YDIM'} * 2 - 2
0 0 0 $i == $$self{'XDIM'} * 2 - 2 and $j == $$self{'YDIM'} * 2 - 2

or 3 conditions

line l !l&&r !l&&!r condition
253 0 0 246 $x < 0 or $x >= $$self{'XDIM'}
0 0 246 $x < 0 or $x >= $$self{'XDIM'} or $y < 0
0 0 246 $x < 0 or $x >= $$self{'XDIM'} or $y < 0 or $y >= $$self{'YDIM'}
0 0 246 $x < 0 or $x >= $$self{'XDIM'} or $y < 0 or $y >= $$self{'YDIM'} or not defined $label
365 0 0 0 $$self{'XDIM'} <= 0 or $$self{'YDIM'} <= 0
0 0 0 $$self{'XDIM'} <= 0 or $$self{'YDIM'} <= 0 or $$self{'IDIM'} <= 0
759 0 0 192 $x < 0 or $x >= $$self{'XDIM'}
0 0 192 $x < 0 or $x >= $$self{'XDIM'} or $y < 0
0 0 192 $x < 0 or $x >= $$self{'XDIM'} or $y < 0 or $y >= $$self{'YDIM'}