mirror of
https://github.com/github/codeql.git
synced 2025-12-17 17:23:36 +01:00
10 lines
189 B
Plaintext
10 lines
189 B
Plaintext
/**
|
|
* @name Test for well-formed switches
|
|
*/
|
|
|
|
import csharp
|
|
|
|
from SwitchStmt s
|
|
select s, s.getCondition(), count(s.getAConstCase()), count(s.getDefaultCase()),
|
|
count(s.getAChildStmt())
|