unified: Add a dummy query

This is just to test DCA
This commit is contained in:
Asger F
2026-06-26 12:11:36 +02:00
parent 0891d91df7
commit 7ee7d670e2

View File

@@ -0,0 +1,14 @@
/**
* @name Dummy query
* @description Dummy query that flags any name longer than 20 characters
* @kind problem
* @id unified/dummy
* @problem.severity info
* @precision low
*/
import unified
from Identifier id
where id.getValue().length() > 20
select id, "Name is too long: " + id.getValue()