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.
可以将文章内容翻译成中文,广告屏蔽插件可能会导致该功能失效(如失效,请关闭广告屏蔽插件后再试):
问题:
回答1:
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.
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.
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.