Sonar是否具有计算复杂度测量功能? [英] Does Sonar have computational complexity measuring capabilities?

查看:239
本文介绍了Sonar是否具有计算复杂度测量功能?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

有一个问题询问如何测量Java代码的计算复杂度趋势教授适用于C / C ++。对该问题的公认答案是,通常使用 Sonar 完成。我知道Sonar具有良好的内置循环复杂度功能,但这不是问题所在

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.

Sonar实际上具有计算复杂性的测量功能吗?

Does Sonar in fact have computational complexity measuring capabilities?

推荐答案

Sonarqube中没有集成Java的类似工具。就像评论中指出的那样,答案将计算复杂度与循环度量复杂度混为一谈。

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.

这篇关于Sonar是否具有计算复杂度测量功能?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆