| line | l | !l&&r | !l&&!r | condition | 
 
| 424 | 0 | 0 | 0 | $hex->starport eq 'A' or $hex->naval | 
 
|  | 0 | 0 | 0 | $hex->starport eq 'A' or $hex->naval or $hex->consulate | 
 
| 440 | 0 | 0 | 0 | not $best or $other->starport lt $best->starport | 
 
|  | 0 | 0 | 0 | not $best or $other->starport lt $best->starport or $other->starport eq $best->starport and distance($hex, $other) < distance($hex, $best) | 
 
| 464 | 0 | 0 | 0 | $hex->starport =~ /^[A-D]$/u || $hex->gasgiant || $hex->trade->{'Wa'} | 
 
| 469 | 0 | 0 | 0 | $hex->trade->{'In'} or $hex->trade->{'Ht'} | 
 
|  | 0 | 0 | 0 | $hex->trade->{'Hi'} or $hex->trade->{'Ri'} | 
 
| 471 | 0 | 0 | 0 | $other->trade->{'As'} or $other->trade->{'De'} | 
 
|  | 0 | 0 | 0 | $other->trade->{'As'} or $other->trade->{'De'} or $other->trade->{'Ic'} | 
 
|  | 0 | 0 | 0 | $other->trade->{'As'} or $other->trade->{'De'} or $other->trade->{'Ic'} or $other->trade->{'Ni'} | 
 
| 481 | 0 | 0 | 0 | $other->trade->{'Ag'} or $other->trade->{'Ga'} | 
 
|  | 0 | 0 | 0 | $other->trade->{'Ag'} or $other->trade->{'Ga'} or $other->trade->{'Wa'} | 
 
| 503 | 0 | 0 | 0 | exists $seen{$start}{$end} or exists $seen{$end}{$start} | 
 
| 531 | 0 | 0 | 0 | not $C{$u} && $C{$v} or $C{$u} != $C{$v} | 
 
| 535 | 0 | 0 | 0 | $C{$u} || $C{$v} | 
 
| 579 | 0 | 0 | 0 | $#{$route;} < $#shortest or not @shortest |