]> source.dussan.org Git - sonarqube.git/commitdiff
DOC add missing links in deploy-to-mktplce
authorG. Ann Campbell <ann.campbell@sonarsource.com>
Tue, 11 Jun 2019 10:53:47 +0000 (12:53 +0200)
committerSonarTech <sonartech@sonarsource.com>
Tue, 11 Jun 2019 18:21:11 +0000 (20:21 +0200)
server/sonar-docs/src/pages/extend/deploying-to-marketplace.md

index a924717b302f7464446466b04e14d4670dbd21f0..f6f73493381b1616de60d0f20a3dd896c5298824 100644 (file)
@@ -29,7 +29,7 @@ If your plugin meets the following requirements, then you can ask SonarSource (v
 1. Your plugin does not compete with existing or soon-to-be-released SonarSource products (sorry, but we gotta pay the bills somehow).
 1. It is analyzed on [SonarCloud](https://sonarcloud.io/) and the quality gate is green when doing a release.
 1. It is compatible with the platform requirements (e.g. it runs on the minimum listed JRE).
-1. If your plugin adds analysis of a language which is not analyzed by any SonarSource analyzer you must provide the NCLOC and NCLOC_DATA metrics, which are both required to make the user experience within SonarQube consistent. You can take a look at how those metrics are provided by SonarJava (NCLOC, NCLOC_DATA). 
+1. If your plugin adds analysis of a language which is not analyzed by any SonarSource analyzer you must provide the NCLOC and NCLOC_DATA [metrics](/user-guide/metric-definitions/), which are both required to make the user experience within SonarQube consistent. You can take a look at how those metrics are provided by SonarJava ([NCLOC](https://github.com/SonarSource/sonar-java/blob/4cb1065f405edccbb7d229633945b3c56aeab04c/java-frontend/src/main/java/org/sonar/java/Measurer.java#L109), [NCLOC_DATA](https://github.com/SonarSource/sonar-java/blob/4cb1065f405edccbb7d229633945b3c56aeab04c/java-frontend/src/main/java/org/sonar/java/ast/visitors/FileLinesVisitor.java#L101)). 
 1. Last but not least: your plugin must be aligned with the goal of the SonarQube platform: management of the technical debt and the quality of the code.  
 To be more precise: every feature of SonarQube is tied to the code, so if your plugin provides data that can't be attached to a source or a test file, then there are chances that your plugin won't be accepted in the Marketplace