Our website uses cookies to enhance your browsing experience.
Accept
to the top

Webinar: Let's make a programming language. Grammars - 27.03

>
>
>
V021. The 'Foo' function is too...
menu mobile close menu
Additional information
toggle menu Contents

V021. The 'Foo' function is too complex to analyze entirely. Analysis was stopped from this line until the end of the function.

Mar 25 2026

The V021 warning in the report indicates that the analysis of the function body was interrupted at the specified line because the analysis algorithm's limits were exceeded.

This usually happens when source code contains constructs that take too long to analyze, such as manually written, automatically generated, or macro-expanded deeply nested loops.

To ensure optimal performance and prevent false positives, the analyzer has the following limits:

  • the maximum nesting depth for loops is 15 per analyzed function;
  • the maximum loop count is 2,500 per analyzed function.

Once these limits are reached, the data flow analysis and diagnostic rules will be disabled, beginning at the specified line and continuing until the end of the function.