SonarQube Java
  1. SonarQube Java
  2. SONARJAVA-74

In case of inheritance the LCOM4 computation should take into account related blocks in parent classes

    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: Squid
    • Labels:
    • Number of attachments :
      0

      Issue Links

        Activity

        Hide
        Andreas Ebbert-Karroum added a comment -

        Hi,

        we are suffering from this bug. Maybe as a first step, it would be sufficient to ignore all methods that implement abstract methods from a superclass. In my experience this should suffice for a lot of use-cases, in which a derived class just implements an imposed contract by it's superclass.

        Andreas

        Show
        Andreas Ebbert-Karroum added a comment - Hi, we are suffering from this bug. Maybe as a first step, it would be sufficient to ignore all methods that implement abstract methods from a superclass. In my experience this should suffice for a lot of use-cases, in which a derived class just implements an imposed contract by it's superclass. Andreas
        Hide
        Dinesh Bolkensteyn added a comment -

        1 year later, and we're still suffering!

        Could this be done in the next sprint?

        Show
        Dinesh Bolkensteyn added a comment - 1 year later, and we're still suffering! Could this be done in the next sprint?
        Hide
        Dinesh Bolkensteyn added a comment -

        @Freddy What's going to happen with this ticket?

        Show
        Dinesh Bolkensteyn added a comment - @Freddy What's going to happen with this ticket?

          People

          • Assignee:
            Freddy Mallet
            Reporter:
            Evgeny Mandrikov
          • Votes:
            4 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved: