codeql-coding-standards icon indicating copy to clipboard operation
codeql-coding-standards copied to clipboard

This repository contains CodeQL queries and libraries which support various Coding Standards.

Results 202 codeql-coding-standards issues
Sort by recently updated
recently updated
newest added

We should make it possible to deviate the invalid loop condition rule on the first line of the loop, rather than the end.

enhancement
Standard-AUTOSAR

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

Difficulty-Medium
Impact-Low
user-report
false positive/false negative

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

enhancement
user-report
Standard-AUTOSAR

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

enhancement
user-report

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

Standard-MISRA-C

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

enhancement
Standard-CERT-C

### 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

Difficulty-High
Impact-Low
test-improvement
Stardard-CERT-C++