Skip to content

Commit 2edb32f

Browse files
author
Benjamin Muskalla
committed
Fix naming
1 parent 6ede08e commit 2edb32f

File tree

6 files changed

+8
-8
lines changed

6 files changed

+8
-8
lines changed

java/ql/src/Telemetry/ExternalAPI.qll

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ class ExternalAPI extends Callable {
1616
/**
1717
* Gets information about the external API in the form expected by the CSV modeling framework.
1818
*/
19-
string asCSV(ExternalAPI api) {
19+
string asCsv(ExternalAPI api) {
2020
result =
2121
api.getDeclaringType().getPackage() + ";?;" + api.getDeclaringType().getSourceDeclaration() +
2222
";" + api.getName() + ";" + paramsString(api)

java/ql/src/Telemetry/ExternalLibraryUsage.ql

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -9,13 +9,13 @@
99
import java
1010
import ExternalAPI
1111

12-
from int Usages, string jarname
12+
from int usages, string jarname
1313
where
14-
Usages =
14+
usages =
1515
strictcount(Call c, ExternalAPI a |
1616
c.getCallee() = a and
1717
not c.getFile() instanceof GeneratedFile and
1818
a.jarContainer() = jarname and
1919
not a.isTestLibrary()
2020
)
21-
select jarname, Usages order by Usages desc
21+
select jarname, usages order by usages desc

java/ql/src/Telemetry/SupportedExternalSinks.ql

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ from ExternalAPI api
1515
where
1616
not api.isTestLibrary() and
1717
supportKind(api) = "sink"
18-
select api.asCSV(api) as csv,
18+
select api.asCsv(api) as csv,
1919
strictcount(Call c |
2020
c.getCallee() = api and
2121
not c.getFile() instanceof GeneratedFile

java/ql/src/Telemetry/SupportedExternalSources.ql

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ from ExternalAPI api
1515
where
1616
not api.isTestLibrary() and
1717
supportKind(api) = "source"
18-
select api.asCSV(api) as csv,
18+
select api.asCsv(api) as csv,
1919
strictcount(Call c |
2020
c.getCallee() = api and
2121
not c.getFile() instanceof GeneratedFile

java/ql/src/Telemetry/SupportedExternalTaint.ql

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ from ExternalAPI api
1515
where
1616
not api.isTestLibrary() and
1717
supportKind(api) = ["summary", "taint-preserving"]
18-
select api.asCSV(api) as csv,
18+
select api.asCsv(api) as csv,
1919
strictcount(Call c |
2020
c.getCallee() = api and
2121
not c.getFile() instanceof GeneratedFile

java/ql/src/Telemetry/UnsupportedExternalAPIs.ql

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ from ExternalAPI api
1515
where
1616
not api.isTestLibrary() and
1717
not api.isSupported()
18-
select api.asCSV(api) as csv,
18+
select api.asCsv(api) as csv,
1919
strictcount(Call c |
2020
c.getCallee() = api and
2121
not c.getFile() instanceof GeneratedFile

0 commit comments

Comments
 (0)