mirror of
https://github.com/github/codeql.git
synced 2025-12-25 21:26:37 +01:00
23 lines
633 B
Plaintext
23 lines
633 B
Plaintext
/**
|
|
* @deprecated
|
|
* @name Mostly similar module
|
|
* @description There is another module that shares a lot of the code with this module. Notice that names of variables and types may have been changed. Merge the two modules to improve maintainability.
|
|
* @kind problem
|
|
* @problem.severity recommendation
|
|
* @tags testability
|
|
* maintainability
|
|
* useless-code
|
|
* duplicate-code
|
|
* statistical
|
|
* non-attributable
|
|
* @sub-severity low
|
|
* @precision high
|
|
* @id py/mostly-similar-file
|
|
*/
|
|
|
|
import python
|
|
|
|
from Module m, Module other, string message
|
|
where none()
|
|
select m, message, other, other.getName()
|