Does Sonar have computational complexity measuring capabilities?

点点圈 提交于 2019-12-24 03:23:41

问题


There is a question asking how to measure computational complexity of Java code similar to what trend-prof does for C/C++. The accepted answer to that question says it is commonly done using Sonar. I know that Sonar has good cyclomatic complexity capabilities built in, but that is not what the question was asking for.

Does Sonar in fact have computational complexity measuring capabilities?

If so any pointers to details on setting it up would be great.


回答1:


No there aren't any similar tools for Java integrated in Sonarqube. Like the comments point out the answer confuses "computational complexity" with "cyclometric complexity".

There are also no plugins for sonar, that I know of, that add these metrics. Maybe there is some project somewhere but at least in the official plugin repository is nothing that does that.



来源:https://stackoverflow.com/questions/22390310/does-sonar-have-computational-complexity-measuring-capabilities

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!