Remove trailing periods from @name metadata in query files

Fixed 73 .ql query files where the @name metadata contained an ending period.
This ensures consistency with the CodeQL query metadata style guidelines.
This commit is contained in:
Felicity Chapman
2025-11-26 14:29:51 +00:00
parent adc13e374e
commit caf6b950ac
73 changed files with 73 additions and 73 deletions

View File

@@ -1,5 +1,5 @@
/** /**
* @name Artifact Poisoning (Path Traversal). * @name Artifact Poisoning (Path Traversal)
* @description An attacker may be able to poison the workflow's artifacts and influence on consequent steps. * @description An attacker may be able to poison the workflow's artifacts and influence on consequent steps.
* @kind problem * @kind problem
* @problem.severity error * @problem.severity error

View File

@@ -1,5 +1,5 @@
/** /**
* @name Dangerous use convert function. * @name Dangerous use convert function
* @description Using convert function with an invalid length argument can result in an out-of-bounds access error or unexpected result. * @description Using convert function with an invalid length argument can result in an out-of-bounds access error or unexpected result.
* @kind problem * @kind problem
* @id cpp/dangerous-use-convert-function * @id cpp/dangerous-use-convert-function

View File

@@ -1,5 +1,5 @@
/** /**
* @name Dangerous use of transformation after operation. * @name Dangerous use of transformation after operation
* @description By using the transformation after the operation, you are doing a pointless and dangerous action. * @description By using the transformation after the operation, you are doing a pointless and dangerous action.
* @kind problem * @kind problem
* @id cpp/dangerous-use-of-transformation-after-operation * @id cpp/dangerous-use-of-transformation-after-operation

View File

@@ -1,5 +1,5 @@
/** /**
* @name Writing to a file without setting permissions. * @name Writing to a file without setting permissions
* @description Lack of restriction on file access rights can be unsafe. * @description Lack of restriction on file access rights can be unsafe.
* @kind problem * @kind problem
* @id cpp/work-with-file-without-permissions-rights * @id cpp/work-with-file-without-permissions-rights

View File

@@ -1,5 +1,5 @@
/** /**
* @name Find work with changing working directories, with security errors. * @name Find work with changing working directories, with security errors
* @description Not validating the return value or pinning the directory can be unsafe. * @description Not validating the return value or pinning the directory can be unsafe.
* @kind problem * @kind problem
* @id cpp/work-with-changing-working-directories * @id cpp/work-with-changing-working-directories

View File

@@ -1,5 +1,5 @@
/** /**
* @name Find the wrong use of the umask function. * @name Find the wrong use of the umask function
* @description Incorrectly evaluated argument to the umask function may have security implications. * @description Incorrectly evaluated argument to the umask function may have security implications.
* @kind problem * @kind problem
* @id cpp/wrong-use-of-the-umask * @id cpp/wrong-use-of-the-umask

View File

@@ -1,5 +1,5 @@
/** /**
* @name Insecure generation of filenames. * @name Insecure generation of filenames
* @description Using a predictable filename when creating a temporary file can lead to an attacker-controlled input. * @description Using a predictable filename when creating a temporary file can lead to an attacker-controlled input.
* @kind problem * @kind problem
* @id cpp/insecure-generation-of-filename * @id cpp/insecure-generation-of-filename

View File

@@ -1,5 +1,5 @@
/** /**
* @name Dangerous use of exception blocks. * @name Dangerous use of exception blocks
* @description When clearing the data in the catch block, you must be sure that the memory was allocated before the exception. * @description When clearing the data in the catch block, you must be sure that the memory was allocated before the exception.
* @kind problem * @kind problem
* @id cpp/dangerous-use-of-exception-blocks * @id cpp/dangerous-use-of-exception-blocks

View File

@@ -1,5 +1,5 @@
/** /**
* @name Dangerous use SSL_shutdown. * @name Dangerous use SSL_shutdown
* @description Incorrect closing of the connection leads to the creation of different states for the server and client, which can be exploited by an attacker. * @description Incorrect closing of the connection leads to the creation of different states for the server and client, which can be exploited by an attacker.
* @kind problem * @kind problem
* @id cpp/dangerous-use-of-ssl-shutdown * @id cpp/dangerous-use-of-ssl-shutdown

View File

@@ -1,5 +1,5 @@
/** /**
* @name Capture content based summary models. * @name Capture content based summary models
* @description Finds applicable content based summary models to be used by other queries. * @description Finds applicable content based summary models to be used by other queries.
* @kind diagnostic * @kind diagnostic
* @id cpp/utils/modelgenerator/contentbased-summary-models * @id cpp/utils/modelgenerator/contentbased-summary-models

View File

@@ -1,5 +1,5 @@
/** /**
* @name Capture neutral models. * @name Capture neutral models
* @description Finds neutral models to be used by other queries. * @description Finds neutral models to be used by other queries.
* @kind diagnostic * @kind diagnostic
* @id cpp/utils/modelgenerator/neutral-models * @id cpp/utils/modelgenerator/neutral-models

View File

@@ -1,5 +1,5 @@
/** /**
* @name Capture sink models. * @name Capture sink models
* @description Finds public methods that act as sinks as they flow into a known sink. * @description Finds public methods that act as sinks as they flow into a known sink.
* @kind diagnostic * @kind diagnostic
* @id cpp/utils/modelgenerator/sink-models * @id cpp/utils/modelgenerator/sink-models

View File

@@ -1,5 +1,5 @@
/** /**
* @name Capture source models. * @name Capture source models
* @description Finds APIs that act as sources as they expose already known sources. * @description Finds APIs that act as sources as they expose already known sources.
* @kind diagnostic * @kind diagnostic
* @id cpp/utils/modelgenerator/source-models * @id cpp/utils/modelgenerator/source-models

View File

@@ -1,5 +1,5 @@
/** /**
* @name Capture summary models. * @name Capture summary models
* @description Finds applicable summary models to be used by other queries. * @description Finds applicable summary models to be used by other queries.
* @kind diagnostic * @kind diagnostic
* @id cpp/utils/modelgenerator/summary-models * @id cpp/utils/modelgenerator/summary-models

View File

@@ -1,5 +1,5 @@
/** /**
* @name Container size compared to zero. * @name Container size compared to zero
* @description Comparing the size of a container to zero with this operator will always return the same value. * @description Comparing the size of a container to zero with this operator will always return the same value.
* @kind problem * @kind problem
* @problem.severity warning * @problem.severity warning

View File

@@ -1,5 +1,5 @@
/** /**
* @name Do not add certificates to the system root store. * @name Do not add certificates to the system root store
* @description Application- or user-specific certificates placed in the system root store could * @description Application- or user-specific certificates placed in the system root store could
* weaken security for other processing running on the same system. * weaken security for other processing running on the same system.
* @kind path-problem * @kind path-problem

View File

@@ -1,5 +1,5 @@
/** /**
* @name Unsafe usage of v1 version of Azure Storage client-side encryption (CVE-2022-30187). * @name Unsafe usage of v1 version of Azure Storage client-side encryption (CVE-2022-30187)
* @description Unsafe usage of v1 version of Azure Storage client-side encryption, please refer to http://aka.ms/azstorageclientencryptionblog * @description Unsafe usage of v1 version of Azure Storage client-side encryption, please refer to http://aka.ms/azstorageclientencryptionblog
* @kind problem * @kind problem
* @tags security * @tags security

View File

@@ -1,5 +1,5 @@
/** /**
* @name Extract MaD neutral model rows. * @name Extract MaD neutral model rows
* @description This extracts the Models as data neutral model rows. * @description This extracts the Models as data neutral model rows.
* @id cs/utils/modelconverter/generate-data-extensions-neutral * @id cs/utils/modelconverter/generate-data-extensions-neutral
*/ */

View File

@@ -1,5 +1,5 @@
/** /**
* @name Extract MaD sink model rows. * @name Extract MaD sink model rows
* @description This extracts the Models as data sink model rows. * @description This extracts the Models as data sink model rows.
* @id cs/utils/modelconverter/generate-data-extensions-sink * @id cs/utils/modelconverter/generate-data-extensions-sink
*/ */

View File

@@ -1,5 +1,5 @@
/** /**
* @name Extract MaD source model rows. * @name Extract MaD source model rows
* @description This extracts the Models as data source model rows. * @description This extracts the Models as data source model rows.
* @id cs/utils/modelconverter/generate-data-extensions-source * @id cs/utils/modelconverter/generate-data-extensions-source
*/ */

View File

@@ -1,5 +1,5 @@
/** /**
* @name Extract MaD summary model rows. * @name Extract MaD summary model rows
* @description This extracts the Models as data summary model rows. * @description This extracts the Models as data summary model rows.
* @id cs/utils/modelconverter/generate-data-extensions-summary * @id cs/utils/modelconverter/generate-data-extensions-summary
*/ */

View File

@@ -1,5 +1,5 @@
/** /**
* @name Capture content based summary models. * @name Capture content based summary models
* @description Finds applicable content based summary models to be used by other queries. * @description Finds applicable content based summary models to be used by other queries.
* @kind diagnostic * @kind diagnostic
* @id cs/utils/modelgenerator/contentbased-summary-models * @id cs/utils/modelgenerator/contentbased-summary-models

View File

@@ -1,5 +1,5 @@
/** /**
* @name Capture neutral models. * @name Capture neutral models
* @description Finds neutral models to be used by other queries. * @description Finds neutral models to be used by other queries.
* @kind diagnostic * @kind diagnostic
* @id cs/utils/modelgenerator/neutral-models * @id cs/utils/modelgenerator/neutral-models

View File

@@ -1,5 +1,5 @@
/** /**
* @name Capture sink models. * @name Capture sink models
* @description Finds public methods that act as sinks as they flow into a known sink. * @description Finds public methods that act as sinks as they flow into a known sink.
* @kind diagnostic * @kind diagnostic
* @id cs/utils/modelgenerator/sink-models * @id cs/utils/modelgenerator/sink-models

View File

@@ -1,5 +1,5 @@
/** /**
* @name Capture source models. * @name Capture source models
* @description Finds APIs that act as sources as they expose already known sources. * @description Finds APIs that act as sources as they expose already known sources.
* @kind diagnostic * @kind diagnostic
* @id cs/utils/modelgenerator/source-models * @id cs/utils/modelgenerator/source-models

View File

@@ -1,5 +1,5 @@
/** /**
* @name Capture summary models. * @name Capture summary models
* @description Finds applicable summary models to be used by other queries. * @description Finds applicable summary models to be used by other queries.
* @kind diagnostic * @kind diagnostic
* @id cs/utils/modelgenerator/summary-models * @id cs/utils/modelgenerator/summary-models

View File

@@ -1,5 +1,5 @@
/** /**
* @name Capture typed based summary models. * @name Capture typed based summary models
* @description Finds applicable summary models to be used by other queries. * @description Finds applicable summary models to be used by other queries.
* @kind diagnostic * @kind diagnostic
* @id cs/utils/modelgenerator/summary-models-typed-based * @id cs/utils/modelgenerator/summary-models-typed-based

View File

@@ -1,5 +1,5 @@
/** /**
* @name Tests call graph. * @name Tests call graph
*/ */
import csharp import csharp

View File

@@ -1,5 +1,5 @@
/** /**
* @name Test the implicit switch field isn't populated. * @name Test the implicit switch field isn't populated
*/ */
import csharp import csharp

View File

@@ -1,5 +1,5 @@
/** /**
* @name Unsafe usage of v1 version of Azure Storage client-side encryption (CVE-2022-30187). * @name Unsafe usage of v1 version of Azure Storage client-side encryption (CVE-2022-30187)
* @description Unsafe usage of v1 version of Azure Storage client-side encryption, please refer to http://aka.ms/azstorageclientencryptionblog * @description Unsafe usage of v1 version of Azure Storage client-side encryption, please refer to http://aka.ms/azstorageclientencryptionblog
* @kind problem * @kind problem
* @tags security * @tags security

View File

@@ -1,5 +1,5 @@
/** /**
* @name Unsafe deserialization in a remotely callable method. * @name Unsafe deserialization in a remotely callable method
* @description If a registered remote object has a method that accepts a complex object, * @description If a registered remote object has a method that accepts a complex object,
* an attacker can take advantage of the unsafe deserialization mechanism * an attacker can take advantage of the unsafe deserialization mechanism
* which is used to pass parameters in RMI. * which is used to pass parameters in RMI.

View File

@@ -1,5 +1,5 @@
/** /**
* @name Unsafe deserialization with Spring's remote service exporters. * @name Unsafe deserialization with Spring's remote service exporters
* @description A Spring bean, which is based on RemoteInvocationSerializingExporter, * @description A Spring bean, which is based on RemoteInvocationSerializingExporter,
* initializes an endpoint that uses ObjectInputStream to deserialize * initializes an endpoint that uses ObjectInputStream to deserialize
* incoming data. In the worst case, that may lead to remote code execution. * incoming data. In the worst case, that may lead to remote code execution.

View File

@@ -1,5 +1,5 @@
/** /**
* @name Unsafe deserialization with Spring's remote service exporters. * @name Unsafe deserialization with Spring's remote service exporters
* @description A Spring bean, which is based on RemoteInvocationSerializingExporter, * @description A Spring bean, which is based on RemoteInvocationSerializingExporter,
* initializes an endpoint that uses ObjectInputStream to deserialize * initializes an endpoint that uses ObjectInputStream to deserialize
* incoming data. In the worst case, that may lead to remote code execution. * incoming data. In the worst case, that may lead to remote code execution.

View File

@@ -1,5 +1,5 @@
/** /**
* @name Extract MaD neutral model rows. * @name Extract MaD neutral model rows
* @description This extracts the Models as data neutral model rows. * @description This extracts the Models as data neutral model rows.
* @id java/utils/modelconverter/generate-data-extensions-neutral * @id java/utils/modelconverter/generate-data-extensions-neutral
*/ */

View File

@@ -1,5 +1,5 @@
/** /**
* @name Extract MaD sink model rows. * @name Extract MaD sink model rows
* @description This extracts the Models as data sink model rows. * @description This extracts the Models as data sink model rows.
* @id java/utils/modelconverter/generate-data-extensions-sink * @id java/utils/modelconverter/generate-data-extensions-sink
*/ */

View File

@@ -1,5 +1,5 @@
/** /**
* @name Extract MaD source model rows. * @name Extract MaD source model rows
* @description This extracts the Models as data source model rows. * @description This extracts the Models as data source model rows.
* @id java/utils/modelconverter/generate-data-extensions-source * @id java/utils/modelconverter/generate-data-extensions-source
*/ */

View File

@@ -1,5 +1,5 @@
/** /**
* @name Extract MaD summary model rows. * @name Extract MaD summary model rows
* @description This extracts the Models as data summary model rows. * @description This extracts the Models as data summary model rows.
* @id java/utils/modelconverter/generate-data-extensions-summary * @id java/utils/modelconverter/generate-data-extensions-summary
*/ */

View File

@@ -1,5 +1,5 @@
/** /**
* @name Capture content based summary models. * @name Capture content based summary models
* @description Finds applicable content based summary models to be used by other queries. * @description Finds applicable content based summary models to be used by other queries.
* @kind diagnostic * @kind diagnostic
* @id java/utils/modelgenerator/contentbased-summary-models * @id java/utils/modelgenerator/contentbased-summary-models

View File

@@ -1,5 +1,5 @@
/** /**
* @name Capture neutral models. * @name Capture neutral models
* @description Finds neutral models to be used by other queries. * @description Finds neutral models to be used by other queries.
* @kind diagnostic * @kind diagnostic
* @id java/utils/modelgenerator/neutral-models * @id java/utils/modelgenerator/neutral-models

View File

@@ -1,5 +1,5 @@
/** /**
* @name Capture sink models. * @name Capture sink models
* @description Finds public methods that act as sinks as they flow into a known sink. * @description Finds public methods that act as sinks as they flow into a known sink.
* @kind diagnostic * @kind diagnostic
* @id java/utils/modelgenerator/sink-models * @id java/utils/modelgenerator/sink-models

View File

@@ -1,5 +1,5 @@
/** /**
* @name Capture source models. * @name Capture source models
* @description Finds APIs that act as sources as they expose already known sources. * @description Finds APIs that act as sources as they expose already known sources.
* @kind diagnostic * @kind diagnostic
* @id java/utils/modelgenerator/source-models * @id java/utils/modelgenerator/source-models

View File

@@ -1,5 +1,5 @@
/** /**
* @name Capture summary models. * @name Capture summary models
* @description Finds applicable summary models to be used by other queries. * @description Finds applicable summary models to be used by other queries.
* @kind diagnostic * @kind diagnostic
* @id java/utils/modelgenerator/summary-models * @id java/utils/modelgenerator/summary-models

View File

@@ -1,5 +1,5 @@
/** /**
* @name Capture typed based summary models. * @name Capture typed based summary models
* @description Finds applicable summary models to be used by other queries. * @description Finds applicable summary models to be used by other queries.
* @kind diagnostic * @kind diagnostic
* @id java/utils/modelgenerator/summary-models-typed-based * @id java/utils/modelgenerator/summary-models-typed-based

View File

@@ -1,5 +1,5 @@
/** /**
* @name Mutation of descriptor in `__get__` or `__set__` method. * @name Mutation of descriptor in `__get__` or `__set__` method
* @description Descriptor objects can be shared across many instances. Mutating them can cause strange side effects or race conditions. * @description Descriptor objects can be shared across many instances. Mutating them can cause strange side effects or race conditions.
* @kind problem * @kind problem
* @tags quality * @tags quality

View File

@@ -1,5 +1,5 @@
/** /**
* @name Sensitive cookie missing `HttpOnly` attribute. * @name Sensitive cookie missing `HttpOnly` attribute
* @description Cookies without the `HttpOnly` attribute set can be accessed by JS scripts, making them more vulnerable to XSS attacks. * @description Cookies without the `HttpOnly` attribute set can be accessed by JS scripts, making them more vulnerable to XSS attacks.
* @kind problem * @kind problem
* @problem.severity warning * @problem.severity warning

View File

@@ -1,5 +1,5 @@
/** /**
* @name Sensitive cookie with `SameSite` attribute set to `None`. * @name Sensitive cookie with `SameSite` attribute set to `None`
* @description Cookies with `SameSite` set to `None` can allow for Cross-Site Request Forgery (CSRF) attacks. * @description Cookies with `SameSite` set to `None` can allow for Cross-Site Request Forgery (CSRF) attacks.
* @kind problem * @kind problem
* @problem.severity warning * @problem.severity warning

View File

@@ -1,5 +1,5 @@
/** /**
* @name Use of the 'global' statement. * @name Use of the 'global' statement
* @description Use of the 'global' statement may indicate poor modularity. * @description Use of the 'global' statement may indicate poor modularity.
* @kind problem * @kind problem
* @problem.severity recommendation * @problem.severity recommendation

View File

@@ -1,5 +1,5 @@
/** /**
* @name Key points-to fails for expression. * @name Key points-to fails for expression
* @description Expression does not "point-to" an object which prevents further points-to analysis. * @description Expression does not "point-to" an object which prevents further points-to analysis.
* @kind problem * @kind problem
* @problem.severity info * @problem.severity info

View File

@@ -1,5 +1,5 @@
/** /**
* @name points-to fails for expression. * @name points-to fails for expression
* @description Expression does not "point-to" an object which prevents type inference. * @description Expression does not "point-to" an object which prevents type inference.
* @kind problem * @kind problem
* @id py/points-to-failure * @id py/points-to-failure

View File

@@ -1,5 +1,5 @@
/** /**
* @name JavaScript code execution. * @name JavaScript code execution
* @description Passing user supplied arguments to a Javascript to Python translation engine such as Js2Py can lead to remote code execution. * @description Passing user supplied arguments to a Javascript to Python translation engine such as Js2Py can lead to remote code execution.
* @problem.severity error * @problem.severity error
* @security-severity 9.3 * @security-severity 9.3

View File

@@ -1,5 +1,5 @@
/** /**
* @name Unsafe usage of v1 version of Azure Storage client-side encryption. * @name Unsafe usage of v1 version of Azure Storage client-side encryption
* @description Using version v1 of Azure Storage client-side encryption is insecure, and may enable an attacker to decrypt encrypted data * @description Using version v1 of Azure Storage client-side encryption is insecure, and may enable an attacker to decrypt encrypted data
* @kind path-problem * @kind path-problem
* @tags security * @tags security

View File

@@ -1,5 +1,5 @@
/** /**
* @name Weak KDF algorithm. * @name Weak KDF algorithm
* @description Approved KDF algorithms must one of the following * @description Approved KDF algorithms must one of the following
* ["PBKDF2" , "PBKDF2HMAC", "KBKDF", "KBKDFHMAC", "CONCATKDF", "CONCATKDFHASH"] * ["PBKDF2" , "PBKDF2HMAC", "KBKDF", "KBKDFHMAC", "CONCATKDF", "CONCATKDFHASH"]
* @assumption The value being used to derive a key (either a key or a password) is correct for the algorithm (i.e., a key is used for KBKDF and a password for PBKDF). * @assumption The value being used to derive a key (either a key or a password) is correct for the algorithm (i.e., a key is used for KBKDF and a password for PBKDF).

View File

@@ -1,5 +1,5 @@
/** /**
* @name Small KDF derived key length. * @name Small KDF derived key length
* @description KDF derived keys should be a minimum of 128 bits (16 bytes). * @description KDF derived keys should be a minimum of 128 bits (16 bytes).
* @assumption If the key length is not explicitly provided (e.g., it is None or otherwise not specified) assumes the length is derived from the hash length. * @assumption If the key length is not explicitly provided (e.g., it is None or otherwise not specified) assumes the length is derived from the hash length.
* @kind problem * @kind problem

View File

@@ -1,5 +1,5 @@
/** /**
* @name Weak KDF salt generation. * @name Weak KDF salt generation
* @description KDF salts must be generated by an approved random number generator (os.urandom) * @description KDF salts must be generated by an approved random number generator (os.urandom)
* @kind problem * @kind problem
* @id py/kdf-weak-salt-gen * @id py/kdf-weak-salt-gen

View File

@@ -1,5 +1,5 @@
/** /**
* @name Small KDF salt length. * @name Small KDF salt length
* @description KDF salts should be a minimum of 128 bits (16 bytes). * @description KDF salts should be a minimum of 128 bits (16 bytes).
* *
* This alerts if a constant traces to to a salt length sink less than 128-bits or * This alerts if a constant traces to to a salt length sink less than 128-bits or

View File

@@ -1,5 +1,5 @@
/** /**
* @name Don't use getAQlClass. * @name Don't use getAQlClass
* @description Any use of getAQlClass causes both compile-time and runtime to be significantly slower. * @description Any use of getAQlClass causes both compile-time and runtime to be significantly slower.
* @kind problem * @kind problem
* @problem.severity warning * @problem.severity warning

View File

@@ -1,5 +1,5 @@
/** /**
* @name Var only used in one side of disjunct. * @name Var only used in one side of disjunct
* @description Only using a variable on one side of a disjunction can cause a cartesian product. * @description Only using a variable on one side of a disjunction can cause a cartesian product.
* @kind problem * @kind problem
* @problem.severity warning * @problem.severity warning

View File

@@ -1,5 +1,5 @@
/** /**
* @name Acronyms should be PascalCase/camelCase. * @name Acronyms should be PascalCase/camelCase
* @description Acronyms should be PascalCase/camelCase instead of upper-casing all the letters. * @description Acronyms should be PascalCase/camelCase instead of upper-casing all the letters.
* @kind problem * @kind problem
* @problem.severity warning * @problem.severity warning

View File

@@ -1,5 +1,5 @@
/** /**
* @name Use of 'if' with a 'none()' branch. * @name Use of 'if' with a 'none()' branch
* @description Using 'if p() then q() else none()' is bad style. It should be rewritten as 'p() and q()'. * @description Using 'if p() then q() else none()' is bad style. It should be rewritten as 'p() and q()'.
* @kind problem * @kind problem
* @problem.severity warning * @problem.severity warning

View File

@@ -1,5 +1,5 @@
/** /**
* @name Using a different parameter name than used in the super-predicate. * @name Using a different parameter name than used in the super-predicate
* @description Using another parameter can be an indication of copy-pasted code, or a mistake. * @description Using another parameter can be an indication of copy-pasted code, or a mistake.
* @kind problem * @kind problem
* @problem.severity warning * @problem.severity warning

View File

@@ -1,5 +1,5 @@
/** /**
* @name Redundant assignment. * @name Redundant assignment
* @description Assigning the same value twice is redundant. * @description Assigning the same value twice is redundant.
* @kind problem * @kind problem
* @problem.severity warning * @problem.severity warning

View File

@@ -1,5 +1,5 @@
/** /**
* @name Superfluous 'exists' conjunct. * @name Superfluous 'exists' conjunct
* @description Writing 'exists(x)' when the existence of X is implied by another conjunct is bad practice. * @description Writing 'exists(x)' when the existence of X is implied by another conjunct is bad practice.
* @kind problem * @kind problem
* @problem.severity warning * @problem.severity warning

View File

@@ -1,5 +1,5 @@
/** /**
* @name Swapped parameter names in overriding predicate. * @name Swapped parameter names in overriding predicate
* @description Swapping the parameter names in an overriding method indicates an implementation mistake. * @description Swapping the parameter names in an overriding method indicates an implementation mistake.
* @kind problem * @kind problem
* @problem.severity error * @problem.severity error

View File

@@ -1,5 +1,5 @@
/** /**
* @name Suggest using non-extending subtype relationships. * @name Suggest using non-extending subtype relationships
* @description Non-extending subtypes ("instanceof extensions") are generally preferable to instanceof expressions in characteristic predicates. * @description Non-extending subtypes ("instanceof extensions") are generally preferable to instanceof expressions in characteristic predicates.
* @kind problem * @kind problem
* @problem.severity warning * @problem.severity warning

View File

@@ -1,5 +1,5 @@
/** /**
* @name Class QLDoc style. * @name Class QLDoc style
* @description The QLDoc for a class should start with "A", "An", or "The". * @description The QLDoc for a class should start with "A", "An", or "The".
* @kind problem * @kind problem
* @problem.severity warning * @problem.severity warning

View File

@@ -1,5 +1,5 @@
/** /**
* @name Predicate QLDoc style. * @name Predicate QLDoc style
* @description The QLDoc for a predicate should start with "Gets" or "Holds". * @description The QLDoc for a predicate should start with "Gets" or "Holds".
* @kind problem * @kind problem
* @problem.severity warning * @problem.severity warning

View File

@@ -1,5 +1,5 @@
/** /**
* @name Unused parameter. * @name Unused parameter
* @description A parameter that is not used later on, or whose value is always overwritten, * @description A parameter that is not used later on, or whose value is always overwritten,
* can be removed. * can be removed.
* @kind problem * @kind problem

View File

@@ -1,5 +1,5 @@
/** /**
* @name Fetch a subset of valid access paths of input and output parameters of a method (framework mode). * @name Fetch a subset of valid access paths of input and output parameters of a method (framework mode)
* @description A list of access paths for input and output parameters of a method. Excludes test and generated code. * @description A list of access paths for input and output parameters of a method. Excludes test and generated code.
* @kind table * @kind table
* @id ruby/utils/modeleditor/framework-mode-access-paths * @id ruby/utils/modeleditor/framework-mode-access-paths

View File

@@ -1,5 +1,5 @@
/** /**
* @name Capture content based summary models. * @name Capture content based summary models
* @description Finds applicable content based summary models to be used by other queries. * @description Finds applicable content based summary models to be used by other queries.
* @kind diagnostic * @kind diagnostic
* @id rust/utils/modelgenerator/contentbased-summary-models * @id rust/utils/modelgenerator/contentbased-summary-models

View File

@@ -1,5 +1,5 @@
/** /**
* @name Capture neutral models. * @name Capture neutral models
* @description Finds neutral models to be used by other queries. * @description Finds neutral models to be used by other queries.
* @kind diagnostic * @kind diagnostic
* @id rust/utils/modelgenerator/neutral-models * @id rust/utils/modelgenerator/neutral-models

View File

@@ -1,5 +1,5 @@
/** /**
* @name Capture sink models. * @name Capture sink models
* @description Finds public methods that act as sinks as they flow into a known sink. * @description Finds public methods that act as sinks as they flow into a known sink.
* @kind diagnostic * @kind diagnostic
* @id rust/utils/modelgenerator/sink-models * @id rust/utils/modelgenerator/sink-models

View File

@@ -1,5 +1,5 @@
/** /**
* @name Capture source models. * @name Capture source models
* @description Finds APIs that act as sources as they expose already known sources. * @description Finds APIs that act as sources as they expose already known sources.
* @kind diagnostic * @kind diagnostic
* @id rust/utils/modelgenerator/source-models * @id rust/utils/modelgenerator/source-models

View File

@@ -1,5 +1,5 @@
/** /**
* @name Capture summary models. * @name Capture summary models
* @description Finds applicable summary models to be used by other queries. * @description Finds applicable summary models to be used by other queries.
* @kind diagnostic * @kind diagnostic
* @id rust/utils/modelgenerator/summary-models * @id rust/utils/modelgenerator/summary-models