是否可以完全隐藏 SonarQube 仪表板中的技术债务指标? [英] Is it possible to hide the Technical Debt metric from SonarQube dashboard, entirely?

查看:15
本文介绍了是否可以完全隐藏 SonarQube 仪表板中的技术债务指标?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我了解技术债务指标在成为插件后成为 SonarQube 的一部分,但我想将其从仪表板中完全删除,仅显示其他指标.从仪表板设置中可以实现吗?如果没有,我很感激有关必须编辑源代码的哪些部分的任何指示.

I understand that the Technical Debt metric became part of SonarQube after it was a plugin, but I would like to remove it from the dashboard completely, and only show other metrics. Is that possible from the dashboard settings? if not, I appreciate any directions on what parts of the source code have to be edited.

推荐答案

技术债务是 SonarQube 的核心功能,因此没有理由将其从 SonarQube Web 应用程序的主页面"中删除.

Technical Debt is a core feature of SonarQube, so there's no reason why it should be possible to remove it from the main "pages" of the SonarQube web application.

如果你想隐藏这一点,你应该先问问自己为什么.事实上,技术债务并不是 SonarQube 发明的,这是一个著名且广为传播的概念,超过十年.伴随着这个概念而来的是软件开发的良好实践.再说一遍,试图在 SonarQube 中隐藏它有点奇怪.

If you want to hide this, you should first ask yourself why. Indeed, technical debt was not invented by SonarQube, this is a famous and widely spread concept that has been there for more than a decade. With this concept come good practices for software development. So again, trying to hide this in SonarQube is a bit weird.

另外,我强烈不鼓励您为此分叉 SonarQube 的代码并编写您自己的版本.想想 2 秒钟,维护你的前叉对你来说有多么困难,我相信你会尽快忘记这个想法.

Also, I highly discourage you to fork the code of SonarQube and write your own version just for this. Think 2 seconds how difficult it will be for you to maintain your fork, and I'm sure you will forget this idea as fast as it came to your mind.

这篇关于是否可以完全隐藏 SonarQube 仪表板中的技术债务指标?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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