KT.METHOD_OVERLOADING

Method with many overloads

This rule reports methods which are overloaded often. Method overloading tightly couples these methods together which might make the code harder to understand.

Options

  • threshold (default: 6)

    number of overloads which will trigger the rule

The content on this page is adapted from the Detekt Docs. Copyright ©2022 The Detekt Team. All rights reserved. https://detekt.dev/comments.html