Uploaded image for project: 'SonarJava'
  1. SonarJava
  2. SONARJAVA-3198

S1200 counts fully qualified name as multiple types for purpose of coupling

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 6.0
    • Component/s: Rules
    • Labels:
      None

      Description

      Rule RSPEC-1200 will wrongly report number of classes class is coupled to when fully qualified name is used in the extends clause.

       

      The following code 

      public class T5 extends sonar.source.support.a.b.c.d.e.f.g.h.i.j.k.l.T4 {
      } 

       

      will count that T5 is coupled to 16 classes, while it's only coupled to 1. 

       

       

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                guillaume.dequenne Guillaume Dequenne
                Reporter:
                tibor.blenessy Tibor Blenessy
              • Votes:
                0 Vote for this issue
                Watchers:
                2 Start watching this issue

                Dates

                • Due:
                  Created:
                  Updated:
                  Resolved: