codeql-coding-standards
codeql-coding-standards copied to clipboard
This repository contains CodeQL queries and libraries which support various Coding Standards.
We should make it possible to deviate the invalid loop condition rule on the first line of the loop, rather than the end.
### Affected rules - `A2-7-3` ### Description Doxygen allows you to provide documentation for a "group" of declarations at once - for example, for all overloads of a function. We...
### Affected rules - M5-0-2 ### Description M5-0-2 reports "Limited dependence should be placed on C++ operator precedence rules in expressions" on expressions which are fully parenthesized ### Example ```cpp...
Naming `code-identifier`s in `coding-standards.yml` differently for each `rule-id` should be considered a good practice, however the current implementation of CodeQL, doesn't provide a way for suppressing multiple types of CodeQL...
This PR updates codeql-coding-standards to version 2.23.0-dev.
Currently `code-identifier` comments of a deviation are required to be on the same line as the CodeQL alert it refers to, which can cause code-formatters (clang-format etc.) to break very...
The rule title is incomplete: > RULE-8-7: Functions and objects should not be defined with external linkage if they are referenced in only one It is missing the words "translation...
### Affected rules - `ARR32-C` ### Description Address the non-critical review issues from https://github.com/github/codeql-coding-standards/pull/274#discussion_r1151171993: * The alert message should be changed to "Variable-length array size derives from a potentially overflowing...
### Affected rules - DCL60-CPP ### Description No alert is reported by this query. Even lines marked as `COMPLIANT[FALSE_POSITIVE]` in the test cases do not appear in the `.expected` file