Skip to content

REMOVE AGAIN: Introduce some mistakes that should be caught by QL4QL. - #20308

Closed
michaelnebel wants to merge 2 commits into
github:mainfrom
michaelnebel:michaelnebel/testql4ql
Closed

REMOVE AGAIN: Introduce some mistakes that should be caught by QL4QL.#20308
michaelnebel wants to merge 2 commits into
github:mainfrom
michaelnebel:michaelnebel/testql4ql

Conversation

@michaelnebel

Copy link
Copy Markdown
Contributor

No description provided.

CopilotAI review requested due to automatic review settings September 4, 2025 12:36

CopilotAI 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.

Pull Request Overview

This PR introduces intentional mistakes for testing the QL4QL system, which is designed to catch quality issues in CodeQL queries and libraries. The changes include removing a security severity annotation from a query and adding a deliberate spelling error in a comment.

  • Removes security-severity annotation from a CodeQL query
  • Introduces a spelling error in library documentation

Reviewed Changes

Copilot reviewed 2 out of 2 changed files in this pull request and generated 1 comment.

FileDescription
csharp/ql/src/Bad Practices/UseOfHtmlInputHidden.qlRemoves the security-severity metadata annotation from the query
csharp/ql/lib/semmle/code/csharp/exprs/Creation.qllAdds a deliberate spelling error in a comment

* }
* }
* ```
* Introduce a specific spelling error: abbout

CopilotAISep 4, 2025

Copy link

Choose a reason for hiding this comment

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

There is a spelling error in the comment. 'abbout' should be 'about'.

Suggested change
*Introducea specific spelling error: abbout
*Introducea specific spelling error: about

Copilot uses AI. Check for mistakes.
@michaelnebel
michaelnebelforce-pushed the michaelnebel/testql4ql branch 2 times, most recently from 5e97057 to bd9d1deCompareSeptember 8, 2025 09:32
Comment on lines +263 to +268
/**
* A delegate creation.
*
* Introduce a specific spelling error: abbout
*/

Check warning

Code scanning / CodeQL

Misspelling Warning

This comment contains the common misspelling 'abbout', which should instead be 'about'.
Sign up for freeto join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants

@michaelnebel@github-advanced-security