声纳警报的推荐配置?
Our project is using Sonar to analyze and measure technical quality. There is an overwhelming range of metrics available, along with the possibility to configure visual alerts when metrics drop below a specified threshold.
Are there any decent guidelines available on which Sonar alerts are useful for typical projects, and what threshold values might be sensible?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
我只能根据自己的经验给建议。我不知道任何指南/最佳实践。
我用它们来标记不需要的状态:
我还发现标记它很有用已实现的指标,例如:
所以基本上我使用警报来标记不需要的状态,以在某些指标未能达到某个值时发出警告。
我发现声纳中的选项非常多,所以我选择了听起来有用或与当前重构计划一致的 metrics。
我希望这有点帮助:)
I can only giva advice according to my own experience. I don't know of any guides / best practises.
I use them to mark undesired states:
I also find it useful to mark metrics, that have been achieved like:
So basically I use the alerts to mark undesired states, to warn if certain metrics fail to achieve a value.
I find the options in sonar very overwhelming, so I picked metrcis that sounded useful or were coherent with current refactoring plans.
I hope this helps a bit :)