Skip to content

Commit 7e72ef3

Browse files
authored
Merge pull request github#3975 from aibaars/lgtm-suites
CodeQL: complete LGTM suites
2 parents 5b1d255 + 5bad003 commit 7e72ef3

File tree

11 files changed

+54
-1
lines changed

11 files changed

+54
-1
lines changed

.codeqlmanifest.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
{ "provide": [ "*/ql/src/qlpack.yml",
22
"*/ql/test/qlpack.yml",
3+
"*/ql/examples/qlpack.yml",
34
"*/upgrades/qlpack.yml",
45
"misc/legacy-support/*/qlpack.yml",
56
"misc/suite-helpers/qlpack.yml" ] }

cpp/ql/examples/qlpack.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
name: codeql-cpp-examples
2+
version: 0.0.0
3+
libraryPathDependencies: codeql-cpp

cpp/ql/src/codeql-suites/cpp-lgtm-full.qls

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,3 +9,10 @@
99
tags contain:
1010
- ide-contextual-queries/local-definitions
1111
- ide-contextual-queries/local-references
12+
- query: Metrics/Dependencies/ExternalDependencies.ql
13+
- query: Metrics/Dependencies/ExternalDependenciesSourceLinks.ql
14+
- query: Metrics/Files/FLinesOfCode.ql
15+
- query: Metrics/Files/FLinesOfCommentedOutCode.ql
16+
- query: Metrics/Files/FLinesOfComments.ql
17+
- query: Metrics/Files/FLinesOfDuplicatedCode.ql
18+
- query: Metrics/Files/FNumberOfTests.ql

csharp/ql/examples/qlpack.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
name: codeql-csharp-examples
2+
version: 0.0.0
3+
libraryPathDependencies: codeql-csharp

csharp/ql/src/codeql-suites/csharp-lgtm-full.qls

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,3 +7,10 @@
77
tags contain:
88
- ide-contextual-queries/local-definitions
99
- ide-contextual-queries/local-references
10+
- query: Metrics/Dependencies/ExternalDependencies.ql
11+
- query: Metrics/Dependencies/ExternalDependenciesSourceLinks.ql
12+
- query: Metrics/Files/FLinesOfCode.ql
13+
- query: Metrics/Files/FLinesOfCommentedCode.ql
14+
- query: Metrics/Files/FLinesOfComment.ql
15+
- query: Metrics/Files/FLinesOfDuplicatedCode.ql
16+
- query: Metrics/Files/FNumberOfTests.ql

java/ql/examples/qlpack.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
name: codeql-java-examples
2+
version: 0.0.0
3+
libraryPathDependencies: codeql-java

java/ql/src/codeql-suites/java-lgtm-full.qls

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,4 +6,11 @@
66
- exclude:
77
tags contain:
88
- ide-contextual-queries/local-definitions
9-
- ide-contextual-queries/local-references
9+
- ide-contextual-queries/local-references
10+
- query: Metrics/Dependencies/ExternalDependencies.ql
11+
- query: Metrics/Dependencies/ExternalDependenciesSourceLinks.ql
12+
- query: Metrics/Files/FLinesOfCode.ql
13+
- query: Metrics/Files/FLinesOfCommentedCode.ql
14+
- query: Metrics/Files/FLinesOfComment.ql
15+
- query: Metrics/Files/FLinesOfDuplicatedCode.ql
16+
- query: Metrics/Files/FNumberOfTests.ql

javascript/ql/examples/qlpack.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
name: codeql-javascript-examples
2+
version: 0.0.0
3+
libraryPathDependencies: codeql-javascript

javascript/ql/src/codeql-suites/javascript-lgtm-full.qls

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,3 +7,11 @@
77
tags contain:
88
- ide-contextual-queries/local-definitions
99
- ide-contextual-queries/local-references
10+
- query: Comments/FCommentedOutCode.ql
11+
- query: Metrics/Dependencies/ExternalDependencies.ql
12+
- query: Metrics/Dependencies/ExternalDependenciesSourceLinks.ql
13+
- query: Metrics/FLinesOfCode.ql
14+
- query: Metrics/FLinesOfComment.ql
15+
- query: Metrics/FLinesOfDuplicatedCode.ql
16+
- query: Metrics/FLinesOfSimilarCode.ql
17+
- query: Metrics/FNumberOfTests.ql

python/ql/examples/qlpack.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
name: codeql-python-examples
2+
version: 0.0.0
3+
libraryPathDependencies: codeql-python

0 commit comments

Comments
 (0)