FazBrowse GitHub Viewer
|
Trending
|
URL:
|
Home
Tools:
[Download Repo ZIP]
[View Raw Code]
[Original HTTPS Page]
codeql/unified/ql/src/DummyQuery.ql at codeql-cli/v2.27.1 · github/codeql · GitHub
github
codeql
Repository navigation
Code
Issues
1k
(1k)
Pull requests
480
(480)
Discussions
Actions
Projects
Security and quality
Insights
Expand file tree
Breadcrumbs
codeql
/
unified
/
ql
/
src
/
DummyQuery.ql
Copy path
More file actions
More file actions
Latest commit
History
History
History
16 lines (14 loc) · 349 Bytes
Breadcrumbs
codeql
/
unified
/
ql
/
src
/
DummyQuery.ql
Copy path
File metadata and controls
16 lines (14 loc) · 349 Bytes
Raw
Copy raw file
Download raw file
Open symbols panel
Edit and raw actions
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
/**
* @name Dummy query
* @description Dummy query that flags any name longer than 100 characters
* @kind problem
* @id unified/dummy
* @problem.severity error
* @precision high
* @security-severity 7
* @tags security
*/
import
unified
from
Identifier
id
where
id
.
getValue
(
)
.
length
(
)
>
100
select
id
,
"Name is too long: "
+
id
.
getValue
(
)
Back
|
FazBrowse Home
|
New Git URL