确定代码圈复杂度的最佳工具

发布于 2024-07-22 02:34:21 字数 45 浏览 3 评论 0 原文

人们可以建议在 C# winforms 代码库中确定循环复杂度的最佳工具吗?

Can people suggest the best tool to determine the cyclic complexity with in a C# winforms code base.

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(5

吃颗糖壮壮胆 2024-07-29 02:34:21

在 Visual Studio 中,我只需转到“分析/计算代码指标”即可获得圈复杂度。

第三方编辑

  • Visual Studio 2015 社区版也有它

In Visual Studio I just go to Analyze/Calculate Code Metrics and I get cyclomatic complexity.

3rd party edit

  • Visual Studio 2015 community edition has it as well
书信已泛黄 2024-07-29 02:34:21

NDepend 拥有大量的代码分析和查询工具,包括循环复杂度 每个类型和方法估计。

NDepend has a huge number of code analysis and query tools including Cyclomatic Complexity per type and method estimation.

妳是的陽光 2024-07-29 02:34:21

我们正在使用 SourceMonitor。 它是免费的、非常易于使用并且易于与 CI 服务器集成。

We are using SourceMonitor. It's free, very easy to use and easy to integrate with a CI server.

み零 2024-07-29 02:34:21

DevExpress 的 Refactor Pro 可以做到这一点。 它有免费试用版,因此您可能想尝试一下。

DevExpress's Refactor Pro does that. It has a free trial, so you may want to give it a shot.

没有你我更好 2024-07-29 02:34:21

Red Gate 的 .NET Reflector 有一个名为 CodeMetrics 的免费插件,它做这个。

There is a free plugin for Red Gate's .NET Reflector called CodeMetrics that does this.

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文