In Sonar, you can have the list of classes sorted by average complexity of methods of the class (when you list the complexity per method from the dashboard)

But how do you list the most complex methods project-wide ?

有帮助吗?

解决方案

You can't do that, because Sonar does not keep measures at method level.

其他提示

You can do that with our tool, called SourceMeter (by FrontEndART) which has a plug-in for Sonar as well. You can take a look at the online demo interface of SourceMeter.

许可以下: CC-BY-SA归因
不隶属于 StackOverflow
scroll top