aboutsummaryrefslogtreecommitdiffstats
path: root/server/sonar-server
diff options
context:
space:
mode:
authorJanos Gyerik <janos.gyerik@sonarsource.com>2018-07-04 11:29:06 +0200
committerSonarTech <sonartech@sonarsource.com>2018-07-17 20:21:23 +0200
commit3785b1a0c0c8d3c362d8a35eb12a1ff94ccc00c2 (patch)
tree97f252b5b86232de9eb050c729d429792e6f67f1 /server/sonar-server
parent57194b3970a2ccc028141bc388d303cd50a31fc2 (diff)
downloadsonarqube-3785b1a0c0c8d3c362d8a35eb12a1ff94ccc00c2.tar.gz
sonarqube-3785b1a0c0c8d3c362d8a35eb12a1ff94ccc00c2.zip
Remove security hotspot measures
Diffstat (limited to 'server/sonar-server')
-rw-r--r--server/sonar-server/src/main/java/org/sonar/server/measure/live/IssueMetricFormulaFactoryImpl.java6
1 files changed, 0 insertions, 6 deletions
diff --git a/server/sonar-server/src/main/java/org/sonar/server/measure/live/IssueMetricFormulaFactoryImpl.java b/server/sonar-server/src/main/java/org/sonar/server/measure/live/IssueMetricFormulaFactoryImpl.java
index 756ecf80404..def6ce168c0 100644
--- a/server/sonar-server/src/main/java/org/sonar/server/measure/live/IssueMetricFormulaFactoryImpl.java
+++ b/server/sonar-server/src/main/java/org/sonar/server/measure/live/IssueMetricFormulaFactoryImpl.java
@@ -44,9 +44,6 @@ public class IssueMetricFormulaFactoryImpl implements IssueMetricFormulaFactory
new IssueMetricFormula(CoreMetrics.VULNERABILITIES, false,
(context, issues) -> context.setValue(issues.countUnresolvedByType(RuleType.VULNERABILITY, false))),
- new IssueMetricFormula(CoreMetrics.SECURITY_HOTSPOTS, false,
- (context, issues) -> context.setValue(issues.countUnresolvedByType(RuleType.SECURITY_HOTSPOT, false))),
-
new IssueMetricFormula(CoreMetrics.VIOLATIONS, false,
(context, issues) -> context.setValue(issues.countUnresolved(false))),
@@ -116,9 +113,6 @@ public class IssueMetricFormulaFactoryImpl implements IssueMetricFormulaFactory
new IssueMetricFormula(CoreMetrics.NEW_VULNERABILITIES, true,
(context, issues) -> context.setLeakValue(issues.countUnresolvedByType(RuleType.VULNERABILITY, true))),
- new IssueMetricFormula(CoreMetrics.NEW_SECURITY_HOTSPOTS, true,
- (context, issues) -> context.setLeakValue(issues.countUnresolvedByType(RuleType.SECURITY_HOTSPOT, true))),
-
new IssueMetricFormula(CoreMetrics.NEW_VIOLATIONS, true,
(context, issues) -> context.setLeakValue(issues.countUnresolved(true))),