KT.TOO_MANY_FUNCTIONS
Too many functions
This rule reports files, classes, interfaces, objects and enums which contain too many functions. Each element can be configured with different thresholds. Too many functions indicate a violation of the single responsibility principle. Prefer extracting functionality which clearly belongs together in separate parts of the code.
Options
-
excludes(default:['**/test/**', '**/androidtest/**', '**/commontest/**', '**/jvmtest/**', '**/jstest/**', '**/iostest/**'])path filters
-
thresholdInFiles(default:11)threshold in files
-
thresholdInClasses(default:11)threshold in classes
-
thresholdInInterfaces(default:11)threshold in interfaces
-
thresholdInObjects(default:11)threshold in objects
-
thresholdInEnums(default:11)threshold in enums
-
ignoreDeprecated(default:False)ignore deprecated functions
-
ignorePrivate(default:False)ignore private functions
-
ignoreOverridden(default:False)ignore overridden functions