Implement "RSPEC-2190 Recursion should not be infinite" in java

I’d like to suggest that RSPEC-2190 be implemented in Java. It’s a bug, and is already implemented in C#. Infinite recursion is definitely an important bug to catch and could save days of debugging nightmares if caught via SonarQube early on.

I won’t go into more detail at this point, as I’d like to hear peoples thoughts.

Thank you.

Hi, There’s no debate about the value of the rule. However this is far from a straightforward rule to implement.
This requires dataflow analysis and we are in the process of reworking this for java. There’s no timeframe to communicate as things are at a very very early stage but be assured that, we plan to tackle this, at one point, but not right now.

1 Like