在 Ruby on Rails 应用程序中测量传入和传出耦合

发布于 2025-01-13 04:33:05 字数 197 浏览 3 评论 0原文

我正在尝试研究一个中等规模的 Ruby on Rails 应用程序(约 300 个模型),用于代码架构中的耦合模式。根据我的研究,传入和传出耦合指标是衡量这一点的最著名的指标之一。但是,我不知道如何生成这些指标。

是否有免费或付费工具可以为 Ruby on Rails 应用程序生成这些指标?如果没有的话,怎么能自己写一些脚本来自己测量呢?

提前致谢!

I am trying to study a medium size Ruby on Rails app (~300 models) for coupling patterns in the code architecture. From my research, the afferent and efferent coupling metrics are some of the most well known metrics to measure that. But, I have no idea how to go about generating those metrics.

Is there a free or paid tool that generates these metrics for a Ruby on Rails app? If not, how could one write some scripts oneself to do the measurement themselves?

Thanks in advance!

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

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

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。
列表为空,暂无数据
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文