Domanda

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.

È stato utile?

Soluzione

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.

Autorizzato sotto: CC-BY-SA insieme a attribuzione
Non affiliato a StackOverflow
scroll top