Back

LL010

Goto usage

Object Pascal — Delphi & Free Pascal
Warning
Maintainability

Unstructured jumps hinder readability and control-flow reasoning

unstructured jumps hinder readability and control-flow reasoning.

Why this severity

unstructured jumps hinder readability and control-flow reasoning.


Known false positives

rare low-level state-machine optimizations.

Remediation example

while HasMoreItems do
begin
  ProcessNextItem;
end;

Reconnecting… Connection lost. Reload