IntelligenceX

API Reference

Class

AnalysisRule

Namespace IntelligenceX.Analysis
Assembly IntelligenceX
Modifiers sealed

Describes a single analyzer rule and its metadata.

Inheritance

  • Object
  • AnalysisRule

Usage

This type appears in these public API surfaces even when no hand-authored example is attached directly to the page.

Returned or exposed by

Accepted by parameters

Constructors

public AnalysisRule(String id, String language, String tool, String toolRuleId, String title, String description, String category, String defaultSeverity, IReadOnlyList<String> tags, String docs, String sourcePath, String type = null) #

Creates a new rule description.

Parameters

id System.String requiredposition: 0
language System.String requiredposition: 1
tool System.String requiredposition: 2
toolRuleId System.String requiredposition: 3
title System.String requiredposition: 4
description System.String requiredposition: 5
category System.String requiredposition: 6
defaultSeverity System.String requiredposition: 7
tags System.Collections.Generic.IReadOnlyList{System.String} requiredposition: 8
docs System.String requiredposition: 9
sourcePath System.String requiredposition: 10
type System.String = null optionalposition: 11

Properties

public String Id { get; } #

Stable rule identifier.

public String Language { get; } #

Language identifier for the rule.

public String Tool { get; } #

Analyzer tool that owns the rule.

public String ToolRuleId { get; } #

Tool-specific rule identifier.

public String Title { get; } #

Short rule title.

public String Description { get; } #

Rule description shown in UI.

public String Category { get; } #

Rule category label.

public String DefaultSeverity { get; } #

Default severity assigned by the pack.

public IReadOnlyList<String> Tags { get; } #

Optional rule tags for grouping.

public String Docs { get; } #

Optional documentation link.

public String SourcePath { get; } #

Source file path for the rule definition.

public String Type { get; } #

Optional rule type classification (for example: bug, vulnerability, code-smell, security-hotspot).