Files
codeql/java/ql/examples/snippets/todocomment.ql
2019-07-26 17:47:11 +02:00

14 lines
248 B
Plaintext

/**
* @id java/examples/todocomment
* @name TODO comments
* @description Finds comments containing the word "TODO"
* @tags comment
* TODO
*/
import java
from JavadocText c
where c.getText().regexpMatch("(?si).*\\bTODO\\b.*")
select c