Afferent coupling in SONAR

2.4k Views Asked by At

I want to find in a given Java project, the classes with the highest afferent coupling.

I know that the metric is available in SONAR when you

  • drill down to a class from the dashboard, or
  • when you drill down package by package in the components view.

What's the quickest way to find this information within SONAR?

2

There are 2 best solutions below

0
On BEST ANSWER

I'd suggest to define a filter in Sonar which only includes files. If you define a dashboard which contains this filter you can simply order the files by afferent couplings if you've added this column. enter image description here

1
On

If I understand what you're looking for, Sonar provides a link to the Package Tangle metric on the dashboard of a given project.