sqlinsight-pro/tests/SQLInsight.Rules.Tests
Claude 8cde94038c
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: index and statistics analysis
Collector (every 6 h, metadata and DMVs only, no scans): index inventory
with usage and forwarded fetches, missing-index suggestions, statistics
modifications via sysindexes.rowmodctr (needs only metadata visibility).
Rules:
- SQLI-IDX-001 missing index, evaluated against existing indexes:
  extends an index with the same keys instead of adding one; notes on
  write-heavy tables, many indexes, wide includes, short uptime
- SQLI-IDX-002 unused index (needs 7 days of uptime; suggests DISABLE)
- SQLI-IDX-003 duplicate or covered index (filters, uniqueness respected)
- SQLI-IDX-004 heap with forwarded records
- SQLI-STAT-001 stale statistics, SQLI-STAT-002 auto statistics off
Column lists use U+E000 as separator: FOR XML cannot serialize NCHAR(1).

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01E3EExwndy8Z22EK2Qpt6BK
2026-09-29 07:47:53 +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
IndexRuleTests.cs Fase 2: index and statistics analysis 2026-09-29 07:47:53 +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