Skip to content

Conversation

michaelnebel
Copy link
Contributor

No description provided.

@github-actions github-actions bot added the C# label Aug 28, 2025
@michaelnebel michaelnebel force-pushed the michaelnebel/testql4ql branch from 8f8e294 to e7b90e1 Compare September 4, 2025 12:36
@Copilot Copilot AI review requested due to automatic review settings September 4, 2025 12:36
Copy link
Contributor

@Copilot Copilot AI left a comment

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.

File Description
csharp/ql/src/Bad Practices/UseOfHtmlInputHidden.ql Removes the security-severity metadata annotation from the query
csharp/ql/lib/semmle/code/csharp/exprs/Creation.qll Adds a deliberate spelling error in a comment

@@ -177,6 +177,7 @@ class ElementInitializer extends MethodCall {
* }
* }
* ```
* Introduce a specific spelling error: abbout
Copy link
Preview

Copilot AI Sep 4, 2025

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
* Introduce a specific spelling error: abbout
* Introduce a specific spelling error: about

Copilot uses AI. Check for mistakes.

@michaelnebel michaelnebel force-pushed the michaelnebel/testql4ql branch 2 times, most recently from 5e97057 to bd9d1de Compare September 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'.
@michaelnebel michaelnebel force-pushed the michaelnebel/testql4ql branch from bd9d1de to 86adb51 Compare September 8, 2025 13:18
Sign up for free to 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.

1 participant