Uploaded image for project: 'Java'
  1. Java
  2. SONARJAVA-134

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

    Details

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

      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
          godin OLD - Evgeny Mandrikov added a comment -

          Duplicates SONARJAVA-61 ?

          Show
          godin OLD - Evgeny Mandrikov added a comment - Duplicates SONARJAVA-61 ?
          Hide
          ganncamp OLD - GAC added a comment -

          Duplicate

          Show
          ganncamp OLD - GAC added a comment - Duplicate

            People

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

              Dates

              • Created:
                Updated:
                Resolved: