mirror of
https://github.com/github/codeql.git
synced 2025-12-17 01:03:14 +01:00
15 lines
223 B
Plaintext
15 lines
223 B
Plaintext
/**
|
|
* @id java/examples/emptyblock
|
|
* @name Empty blocks
|
|
* @description Finds empty block statements
|
|
* @tags empty
|
|
* block
|
|
* statement
|
|
*/
|
|
|
|
import java
|
|
|
|
from Block blk
|
|
where blk.getNumStmt() = 0
|
|
select blk
|