Reports methods with too many return points. Methods with too many return points may be confusing, and hard to refactor.

Example:


  int foo(int a) {
    if (a > 0) {
      return a
    }
    if (a < 0) return -a
    return 0
  }

Use the field provided below to specify the maximum acceptable number of return points a method might have.