Files
codeql/python/ql/src/external/MostlyDuplicateFile.ql
2021-03-25 15:27:55 +01:00

23 lines
568 B
Plaintext

/**
* @deprecated
* @name Mostly duplicate module
* @description There is another file that shares a lot of the code with this file. Merge the two files to improve maintainability.
* @kind problem
* @tags testability
* maintainability
* useless-code
* duplicate-code
* statistical
* non-attributable
* @problem.severity recommendation
* @sub-severity high
* @precision high
* @id py/mostly-duplicate-file
*/
import python
from Module m, Module other, string message
where none()
select m, message, other, other.getName()