Warning: file_get_contents(/data/phpspider/zhask/data//catemap/9/google-apps-script/5.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
sonarqube 5.1中自定义web规则的技术债务_Web_Annotations_Sonarqube_Sonar Runner_Sonarqube 5.0 - Fatal编程技术网

sonarqube 5.1中自定义web规则的技术债务

sonarqube 5.1中自定义web规则的技术债务,web,annotations,sonarqube,sonar-runner,sonarqube-5.0,Web,Annotations,Sonarqube,Sonar Runner,Sonarqube 5.0,我面临着自定义web规则的技术债务问题。我有网络插件,但没有技术债务分配给规则。我需要代码或注释,通过这些代码或注释,我可以为每个规则分配一些constat/issue值,并可以从中计算债务 我在创建web规则时使用了以下注释 @Rule @WebRule @RuleTags 先谢谢你 您可以看看这是如何在SonarSource和SonarQube社区开发的上实现的 例如,在上,您可以像这样查看一些类。您将看到以下注释用于声明技术债务: import org.sonar.squidbrid

我面临着自定义web规则的技术债务问题。我有网络插件,但没有技术债务分配给规则。我需要代码或注释,通过这些代码或注释,我可以为每个规则分配一些constat/issue值,并可以从中计算债务

我在创建web规则时使用了以下注释

@Rule

@WebRule

@RuleTags

先谢谢你

您可以看看这是如何在SonarSource和SonarQube社区开发的上实现的

例如,在上,您可以像这样查看一些类。您将看到以下注释用于声明技术债务:

import org.sonar.squidbridge.annotations.SqaleConstantRemediation;
import org.sonar.squidbridge.annotations.SqaleSubCharacteristic;