-
Notifications
You must be signed in to change notification settings - Fork 2k
Ql4ql: Quality query tagging. #19931
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
michaelnebel
merged 10 commits into
github:main
from
michaelnebel:ql4ql/qualitytagcheck
Jul 17, 2025
Merged
Changes from 1 commit
Commits
Show all changes
10 commits
Select commit
Hold shift + click to select a range
cce1774
Ql4Ql: Re-factor the ql/mising-security-metadata query.
michaelnebel c46b528
Ql4Ql: Add some quality tag testcases.
michaelnebel e00b535
Ql4Ql: Add a check for quality tag consistency.
michaelnebel 60a1d02
Ql4Ql: Add MissingQualityMetadata test.
michaelnebel af1c4e0
Ql4Ql: Share the definition of TestFile between multiple tests.
michaelnebel f58064e
Ql4Ql: Address review comments.
michaelnebel b79e2dd
Ql4Ql: Add some more quality tag testcases.
michaelnebel f810e17
Ql4Ql: Address review comments and update expected test output.
michaelnebel aefd941
Java/Javascript: Fix violations.
michaelnebel 11c4a63
Quality tags: Clarify the quality sub-category tagging policy.
michaelnebel File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Ql4Ql: Add MissingQualityMetadata test.
- Loading branch information
commit 60a1d02357f423ad777132a70a4d03dd6ab50934
There are no files selected for viewing
4 changes: 4 additions & 0 deletions
4
ql/ql/test/queries/style/MissingQualityMetadata/MissingQualityMetadata.expected
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,4 @@ | ||
| | testcases/BadQualityMaintainabilityWrongToplevel.ql:1:1:17:13 | TopLevel | This query file has a sub-category of reliability but is missing the `@tags reliability` tag. | | ||
| | testcases/BadQualityMultipleTopLevel.ql:1:1:17:13 | TopLevel | This query file has incorrect top-level categorisation. It should have exactly one top-level category, either `@tags maintainability` or `@tags reliability`. | | ||
| | testcases/BadQualityNoToplevel.ql:1:1:16:13 | TopLevel | This query file has incorrect top-level categorisation. It should have exactly one top-level category, either `@tags maintainability` or `@tags reliability`. | | ||
| | testcases/BadQualityReliabilityWrongToplevel.ql:1:1:17:13 | TopLevel | This query file has a sub-category of maintainability but is missing the `@tags maintainability` tag. | |
1 change: 1 addition & 0 deletions
1
ql/ql/test/queries/style/MissingQualityMetadata/MissingQualityMetadata.qlref
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1 @@ | ||
| queries/style/MissingQualityMetadata.ql | ||
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Check warning
Code scanning / CodeQL
Query test without inline test expectations Warning test