Branch Coverage

blib/lib/Transform/Canvas.pm
Criterion Covered Total %
branch 30 70 42.8


line true false branch
89 1 0 if (%attrs)
93 0 1 unless scalar @{$$self{'_config_'}{'canvas'};} == 4
95 0 1 unless scalar @{$$self{'_config_'}{'data'};} == 4
99 0 1 unless $self->_initialize
101 0 1 unless $self->prepareMap
122 0 1 if (%args)
190 0 2 if defined $val
191 0 2 unless defined $$self{'_config_'}{'canvas'}[0]
200 0 1 if defined $val
201 0 1 unless defined $$self{'_config_'}{'canvas'}[2]
209 0 12 if defined $val
210 0 12 unless defined $$self{'_config_'}{'data'}[0]
218 0 1 if defined $val
219 0 1 unless defined $$self{'_config_'}{'data'}[2]
227 0 2 if defined $val
228 0 2 unless defined $$self{'_config_'}{'canvas'}[1]
236 0 1 if defined $val
237 0 1 unless defined $$self{'_config_'}{'canvas'}[3]
245 0 1 if defined $val
246 0 1 unless defined $$self{'_config_'}{'data'}[1]
254 0 12 if defined $val
255 0 12 unless defined $$self{'_config_'}{'data'}[3]
270 0 1 unless defined $x
271 0 1 unless defined $y
274 0 1 unless ref $x eq 'ARRAY'
275 0 1 unless ref $y eq 'ARRAY'
276 0 1 unless scalar @$x == scalar @$y
300 0 0 unless defined $x
303 0 0 unless ref $x eq 'ARRAY'
309 0 0 if scalar @p_x == 1
322 0 0 unless defined $y
325 0 0 unless ref $y eq 'ARRAY'
330 0 0 if scalar @p_y == 1
357 10 1 if $_ > $max
381 0 6 if $_ < $min