[previous] 2752 [next] This 'construct' results in the function being too complex. Dataflow analysis continues with the next function.
Dataflow recovery

This goto statement jumps backwards - dataflow analysis of the remainder of this function is not possible.

For example:


/*PRQA S 1-9999 ++*/
/*PRQA S 2752 --*/

extern void f2752 (void)
{
  int i = 0;

START:
  ++i;
  
  if (i < 10)
  {
    goto START;          /* 2752 */
  }
}

See also:

QA·C Source Code Analyser 8.1.2
© 2013 Programming Research.
www.programmingresearch.com
Personality Groups | Glossary | Message Index Contents