Condition Coverage

blib/lib/AI/NeuralNet/Kohonen.pm
Criterion Covered Total %
condition 13 44 29.5


and 3 conditions

line !l l&&!r l&&r condition
361 2156 140 14 $x == 0 and $y == 0
483 0 0 0 not $smooth and defined $$self{'smoothing'}
600 0 1 0 not defined $display and exists $$self{'display'}

or 2 conditions

line l !l condition
417 3 5 $$target{'class'} || '?'

or 3 conditions

line l !l&&r !l&&!r condition
193 0 0 3 not defined $$self{'map_dim_x'} or $$self{'map_dim_x'} == 0
0 0 3 not defined $$self{'map_dim_x'} or $$self{'map_dim_x'} == 0 or not defined $$self{'map_dim_y'}
0 0 3 not defined $$self{'map_dim_x'} or $$self{'map_dim_x'} == 0 or not defined $$self{'map_dim_y'} or $$self{'map_dim_y'} == 0
254 0 0 0 shift() || $$self{'missing_mask'}
381 0 0 0 $x < 0 or $y < 0
0 0 0 $x < 0 or $y < 0 or $x > $$self{'map_dim_x'}
0 0 0 $x < 0 or $y < 0 or $x > $$self{'map_dim_x'} or $y > $$self{'map_dim_y'}
697 0 0 12 $x < 0 or $x > $$self{'map_dim_x'}
699 0 0 30 $y < 0 or $y > $$self{'map_dim_y'}
788 0 0 1 not ref $_ or ref $_ ne 'ARRAY'
829 0 0 3 /^$/ or not defined $$self{'weight_dim'}