SonarQube Java
  1. SonarQube Java
  2. SONARJAVA-134

Allow to stop at some point in hierarchy for rule "Too Deep Inheritance" (S00110)

    Details

    • Type: Improvement Improvement
    • Status: Closed Closed
    • Priority: Major Major
    • Resolution: Won't Fix
    • Affects Version/s: 1.2
    • Fix Version/s: None
    • Component/s: Rules
    • Labels:
      None
    • Number of attachments :
      0

      Description

      The rule "Too Deep Inheritance" should take a new parameter to express a list of classname patterns (like java.lang., org.richfaces., ...).
      The rule should not rely on the absolute inheritance deep metric that can be very high when class extends a class from a framework that is not under your responsibility.
      Instead the rule should "stop" in class inheritance tree when a class matching on of the pattern is found.

        Issue Links

          Activity

          Hide
          Evgeny Mandrikov added a comment -

          Duplicates SONARJAVA-61 ?

          Show
          Evgeny Mandrikov added a comment - Duplicates SONARJAVA-61 ?
          Hide
          G. Ann Campbell added a comment -

          Duplicate

          Show
          G. Ann Campbell added a comment - Duplicate

            People

            • Assignee:
              Unassigned
              Reporter:
              Julien HENRY
            • Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: