We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent c023808 commit 918a6c7Copy full SHA for 918a6c7
csharp/ql/src/Telemetry/UnsupportedExternalAPIs.ql
@@ -0,0 +1,17 @@
1
+/**
2
+ * @name Usage of unsupported APIs coming from external libraries
3
+ * @description A list of 3rd party APIs used in the codebase. Excludes test and generated code.
4
+ * @kind metric
5
+ * @tags summary
6
+ * @id csharp/telemetry/unsupported-external-api
7
+ */
8
+
9
+import csharp
10
+import ExternalAPI
11
12
+from ExternalAPI api, int usages
13
+where
14
+ not api.isUninteresting() and
15
+ not api.isSupported() and
16
+ usages = strictcount(Call c | c.getTarget() = api)
17
+select api.getInfo() as info, usages order by usages desc
0 commit comments