Does Sonar have computational complexity measuring

2019-07-12 13:24发布

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条回答
时光不老,我们不散
2楼-- · 2019-07-12 13:46

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.

查看更多
登录 后发表回答