sqlinsight-pro/tests/SQLInsight.Rules.Tests
Claude f1d3f5188e
Some checks are pending
CI / Build og unit tests (push) Waiting to run
CI / Integration (mcr.microsoft.com/mssql/server:2017-latest) (push) Blocked by required conditions
CI / Integration (mcr.microsoft.com/mssql/server:2019-latest) (push) Blocked by required conditions
CI / Integration (mcr.microsoft.com/mssql/server:2022-latest) (push) Blocked by required conditions
CI / Integration (mcr.microsoft.com/mssql/server:2025-latest) (push) Blocked by required conditions
Fase 2: plan cache analysis
Collector takes the 50 heaviest statements (CPU, last 24 h), fetches
statement plans as text (dm_exec_query_plan returns NULL for deeply
nested plans) and analyzes them in C#. Rules:
- SQLI-PLAN-001 implicit conversion preventing an index seek
- SQLI-PLAN-002 join without predicate (deliberate CROSS JOIN excluded)
- SQLI-PLAN-003 non-inlined scalar UDF in a heavy statement
- SQLI-PLAN-004 spills to tempdb, SQLI-PLAN-005 oversized memory grants
  (2016 SP2+ / 2017 CU3+ columns, new capability)
Verified against real plans in SQL Server.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01E3EExwndy8Z22EK2Qpt6BK
2026-09-29 07:40:09 +00:00
..
ConfigurationRuleTests.cs Fase 1: collectors and rule pack (41 rules) 2026-09-29 06:17:08 +00:00
DatabaseRuleTests.cs Fase 1: collectors and rule pack (41 rules) 2026-09-29 06:17:08 +00:00
PatchLevelRuleTests.cs Fase 1: patch level rule with build catalog; README status 2026-09-29 07:03:25 +00:00
PerformanceRuleTests.cs Fase 1: on-prem web UI (IIS or Windows service), light design system 2026-09-29 06:58:51 +00:00
PlanRuleTests.cs Fase 2: plan cache analysis 2026-09-29 07:40:09 +00:00
QueryStoreRuleTests.cs Fase 2: Query Store analysis (plan regressions, failed forced plans, parameter sensitivity) 2026-09-29 07:33:14 +00:00
RuleEngineTests.cs Fase 1: collectors and rule pack (41 rules) 2026-09-29 06:17:08 +00:00
SQLInsight.Rules.Tests.csproj Fase 0: solution structure, capability model, rule engine, least-privilege script 2026-09-29 05:40:49 +00:00
SupportLifecycleRuleTests.cs Verify SQL Server lifecycle dates and add SQL Server 2025 2026-09-29 05:47:53 +00:00
TestInstances.cs Fase 1: collectors and rule pack (41 rules) 2026-09-29 06:17:08 +00:00