Skip to content

Unified: Stats for type mentions - #22710

Merged
hvitved merged 1 commit into
github:mainfrom
hvitved:unified/type-mention-stats
Oct 1, 2026
Merged

hvitved merged 1 commit into
github:mainfrom
hvitved:unified/type-mention-stats

Conversation

@hvitved

@hvitved hvitved commented Sep 30, 2026

Copy link
Copy Markdown
Contributor

No description provided.

@hvitved
hvitved force-pushed the unified/type-mention-stats branch from 20a63fa to a5ea635 Compare September 30, 2026 11:38
@hvitved hvitved added the no-change-note-required This PR does not need a change note label Sep 30, 2026
@hvitved
hvitved marked this pull request as ready for review September 30, 2026 15:20
@hvitved
hvitved requested a review from a team as a code owner September 30, 2026 15:21
@hvitved
hvitved requested review from asgerf and a balanced review from Copilot September 30, 2026 15:21

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Copilot review overview

🟢 Approval recommended

The focused telemetry addition is consistent with existing analysis-quality reporting patterns and has no identified correctness issues.

Review effort: Balanced
Findings: None

What changed in this PR

Adds telemetry measuring how effectively Unified resolves expression-based type mentions.

Changes:

  • Exposes type-mention classes for statistics collection.
  • Reports resolved, unresolved, and percentage-resolved type mentions.
  • Includes these metrics in extractor information.
File Description
unified/​ql/​src/​diagnostic/​ExtractorInformation.ql Emits type-mention statistics.
unified/​ql/​lib/​codeql/​unified/​internal/​typeinference/​TypeMention.qll Exposes type-mention class aliases.
unified/​ql/​lib/​codeql/​unified/​internal/​AnalysisQuality.qll Defines type-mention resolution statistics.

💡 Add a code-review agent skill or configure MCP servers for context-aware, tailored reviews. Learn more in the docs.

@hvitved
hvitved merged commit 4d969d2 into github:main Oct 1, 2026
17 checks passed
@hvitved
hvitved deleted the unified/type-mention-stats branch October 1, 2026 08:01
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

no-change-note-required This PR does not need a change note Unified

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants