java - Customize the depth setting in Sonarquebe rule "squid:MaximumInheritanceDepth" -


sonarquebe complains

enter image description here

question: can can customize rule setting, increase threshold 5 6?

and more can set rule dynamic depends on base class is? e.g. depth of class extends xxxmodelbase limits 6, while other cases, limits 4. doable?

open rule in sonarqube , you'll see can customised. maximum depth parameter set when enabling rule in quality profile used project.

however there's no way have rule behave dynamically depending on class inheritance tree.