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 a7ece69 commit 1f1059bCopy full SHA for 1f1059b
csharp/ql/src/Telemetry/SupportedExternalSources.ql
@@ -0,0 +1,17 @@
1
+/**
2
+ * @name Supported sources in external libraries
3
+ * @description A list of 3rd party APIs detected as sources. Excludes test and generated code.
4
+ * @kind metric
5
+ * @tags summary
6
+ * @id csharp/telemetry/supported-external-api-sources
7
+ */
8
+
9
+import csharp
10
+import ExternalAPI
11
12
+from ExternalAPI api, int usages
13
+where
14
+ not api.isUninteresting() and
15
+ api.isSource() and
16
+ usages = strictcount(Call c | c.getTarget() = api)
17
+select api.getInfo() as info, usages order by usages desc
0 commit comments