Branch Coverage

blib/lib/Curses/Toolkit/Object/Coordinates.pm
Criterion Covered Total %
branch 0 64 0.0


line true false branch
41 0 0 if (ref $_[0] and $_[0]->isa('Curses::Toolkit::Object::Coordinates')) { }
51 0 0 if (exists $params{'width'} or exists $params{'height'}) { }
71 0 0 unless ref $params{$_} eq 'CODE'
96 0 0 ref $v eq 'CODE' ? :
97 0 0 ref $v eq 'CODE' ? :
98 0 0 ref $v eq 'CODE' ? :
99 0 0 ref $v eq 'CODE' ? :
116 0 0 unless keys %params
147 0 0 if (not ref $c) { }
0 0 elsif (ref $c eq 'Curses::Toolkit::Object::Coordinates') { }
0 0 elsif (ref $c eq 'HASH') { }
182 0 0 if (not ref $c) { }
0 0 elsif (ref $c eq 'Curses::Toolkit::Object::Coordinates') { }
0 0 elsif (ref $c eq 'HASH') { }
217 0 0 if $self->get_x1 < $c->get_x1
218 0 0 if $self->get_x1 > $c->get_x2
220 0 0 if $self->get_x2 > $c->get_x2
221 0 0 if $self->get_x2 < $c->get_x1
223 0 0 if $self->get_y1 < $c->get_y1
224 0 0 if $self->get_y1 > $c->get_y2
226 0 0 if $self->get_y2 > $c->get_y2
227 0 0 if $self->get_y2 < $c->get_y1
240 0 0 if $self->get_x1 > $c->get_x1
241 0 0 if $self->get_x2 < $c->get_x2
243 0 0 if $self->get_y1 > $c->get_y1
244 0 0 if $self->get_y2 < $c->get_y2
264 0 0 unless defined $params{'x'} or $params{'y'}
267 0 0 if (defined $params{'x'})
271 0 0 if (defined $params{'y'})
425 0 0 unless $self->get_normalize
426 0 0 unless $self->get_x1 <= $self->get_x2
427 0 0 unless $self->get_y1 <= $self->get_y2