line |
!l |
l&&!r |
l&&r |
condition |
205
|
0 |
0 |
1 |
$width =~ /^-?\d*$/ and $height =~ /^-?\d*$/ |
227
|
10 |
0 |
0 |
$x < 0 || $x + length($box->render->[0]) > $self->width and $self->width != 0 |
228
|
0 |
10 |
0 |
$y < 0 || $y + @{$box->render;} > $self->height and $self->height != 0 |
347
|
1 |
3 |
1 |
$from_side =~ /^(lef|righ)t$/ and $to_side =~ /^(lef|righ)t$/ |
|
3 |
1 |
0 |
$from_side =~ /^(top|bottom)$/ and $to_side =~ /^(top|bottom)$/ |
|
4 |
0 |
0 |
$from_side eq 'top' and $to_side =~ /^(lef|righ)t$/ |
|
3 |
0 |
1 |
$from_side eq 'bottom' and $to_side =~ /^(lef|righ)t$/ |
|
0 |
2 |
1 |
$from_side =~ /^(lef|righ)t$/ and $to_side eq 'bottom' |
|
0 |
0 |
2 |
$from_side =~ /^(lef|righ)t$/ and $to_side eq 'top' |
424
|
5 |
0 |
0 |
defined $init{'x_pad'} && $init{'x_pad'} >= 0 |
425
|
4 |
0 |
1 |
defined $init{'y_pad'} && $init{'y_pad'} >= 0 |
429
|
5 |
0 |
0 |
$self->width - 2 - $self->x_pad * 2 < 1 and $self->width > 0 |
430
|
0 |
5 |
0 |
$self->height - 2 - $self->y_pad * 2 < 1 and $self->height > 0 |
566
|
0 |
0 |
5 |
ref $init{'from'} eq 'ARRAY' and @{$init{'from'};} == 2 |
573
|
0 |
0 |
5 |
ref $init{'to'} eq 'ARRAY' and @{$init{'from'};} == 2 |
629
|
0 |
2 |
0 |
$self->yfrom < $self->yto and $direction eq 'VT' |
|
2 |
0 |
0 |
$self->yfrom > $self->yto and $direction eq 'VB' |
639
|
1 |
0 |
1 |
$self->xfrom < $self->xto and $direction eq 'HL' |
|
0 |
0 |
1 |
$self->xfrom > $self->xto and $direction eq 'HR' |
658
|
0 |
0 |
16 |
$self->xdistance >= 0 and $self->ydistance >= 0 |
683
|
0 |
0 |
1 |
$self->xdistance >= 0 and $self->ydistance >= 0 |
717
|
0 |
0 |
0 |
$self->xdistance >= 0 and $self->ydistance >= 0 |
line |
l |
!l&&r |
!l&&!r |
condition |
60
|
5 |
0 |
0 |
$box || croak("Cannot add box to flowchart stack\n") |
87
|
5 |
0 |
0 |
$line || croak("Cannot add line to flowchart stack\n") |
110
|
0 |
1 |
0 |
shift() || *STDOUT |
131
|
0 |
0 |
0 |
$x++ % 10 || $x2++ |
136
|
0 |
0 |
0 |
$y++ % 10 || $y2++ |
227
|
0 |
0 |
10 |
$x < 0 || $x + length($box->render->[0]) > $self->width |
228
|
0 |
10 |
0 |
$y < 0 || $y + @{$box->render;} > $self->height |
328
|
5 |
0 |
0 |
$init{'to'} || croak("No shape to relate to.\n") |
329
|
5 |
0 |
0 |
$init{'from_side'} || croak("No shape to relate from.\n") |
330
|
5 |
0 |
0 |
$init{'to_side'} || croak("No side to relate to.\n") |
395
|
10 |
0 |
0 |
shift() || croak("No side supplied to _get_offset.\n") |
466
|
5 |
0 |
0 |
$width < $page_width || $page_width == 0 |
467
|
0 |
5 |
0 |
$height < $page_height || $page_height == 0 |
581
|
5 |
0 |
0 |
$init{'orientation'} || croak("I require an orientation. 'HR', 'HL', 'VT', 'VB' please.\n") |
593
|
0 |
5 |
0 |
$self->width == 1 or $self->width > 2 |
619
|
38 |
0 |
17 |
($self->xfrom > $self->xto xor $self->yto > $self->yfrom) || ($self->xfrom < $self->xto xor $self->yto < $self->yfrom) |
629
|
0 |
0 |
2 |
$self->yfrom < $self->yto and $direction eq 'VT' or $self->yfrom > $self->yto and $direction eq 'VB' |
639
|
1 |
0 |
1 |
$self->xfrom < $self->xto and $direction eq 'HL' or $self->xfrom > $self->xto and $direction eq 'HR' |