IntelligenceX
Class

AnalysisRule

Namespace IntelligenceX.Analysis
Assembly IntelligenceX
Modifiers sealed

Describes a single analyzer rule and its metadata.

Inheritance

  • Object
  • AnalysisRule

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) #

Creates a new rule description.

Parameters

id System.String
language System.String
tool System.String
toolRuleId System.String
title System.String
description System.String
category System.String
defaultSeverity System.String
tags System.Collections.Generic.IReadOnlyList{System.String}
docs System.String
sourcePath System.String

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.