aboutsummaryrefslogtreecommitdiffstats
path: root/server/sonar-web/src/main/js/helpers/mocks/metrics.ts
diff options
context:
space:
mode:
Diffstat (limited to 'server/sonar-web/src/main/js/helpers/mocks/metrics.ts')
-rw-r--r--server/sonar-web/src/main/js/helpers/mocks/metrics.ts11
1 files changed, 11 insertions, 0 deletions
diff --git a/server/sonar-web/src/main/js/helpers/mocks/metrics.ts b/server/sonar-web/src/main/js/helpers/mocks/metrics.ts
index 60febc0fb71..d191dd1e76b 100644
--- a/server/sonar-web/src/main/js/helpers/mocks/metrics.ts
+++ b/server/sonar-web/src/main/js/helpers/mocks/metrics.ts
@@ -17,6 +17,7 @@
* along with this program; if not, write to the Free Software Foundation,
* Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
*/
+import { MetricKey } from '../../sonar-aligned/types/metrics';
import { Dict, Metric } from '../../types/types';
export const DEFAULT_METRICS: Dict<Metric> = {
@@ -830,6 +831,16 @@ export const DEFAULT_METRICS: Dict<Metric> = {
qualitative: false,
hidden: true,
},
+ [MetricKey.prioritized_rule_issues]: {
+ key: 'prioritized_rule_issues',
+ type: 'INT',
+ name: 'Issues from prioritized rules',
+ description: 'Count of issues that have a flag Prioritized Rule.',
+ domain: 'Issues',
+ direction: -1,
+ qualitative: true,
+ hidden: false,
+ },
projects: {
key: 'projects',
type: 'INT',