Tamas Vajk
24a7a7644d
Remove superfluous conjunct to improve code quality
2024-02-05 13:50:20 +01:00
Tamas Vajk
c2c7826936
C#: Extract dependency restore telemetry data
2024-02-05 13:09:04 +01:00
Tamas Vajk
8008152199
List compiler /analyzer arguments in cs/telemetry/extraction-information
2024-01-31 08:32:16 +01:00
Tamas Vajk
055ead20e3
C#: Filter results of division by 0 from cs/telemetry/extraction-information
2024-01-25 12:08:15 +01:00
Tamas Vajk
3f843d820c
Add telemetry query for known/unknown expression kinds
2023-12-18 10:02:32 +01:00
Tamas Vajk
e62d542e8f
C#: Add telemetry query to report extractor information
2023-12-15 16:25:38 +01:00
Michael Nebel
57d5d71d03
C#: Only count calls in source code.
2023-12-13 11:57:32 +01:00
Tom Hvitved
b72f34591d
C#: Use {get,has}FullyQualifiedName throughout
2023-11-10 08:46:15 +01:00
Tom Hvitved
2a33a86c9d
C#: Merge ExternalFlow.qll and ExternalFlowExtensions.qll, and move to internal
2023-11-05 20:58:47 +01:00
Koen Vlaswinkel
0f4f98787c
Merge pull request #14200 from github/koesie10/add-csharp-model-editor-queries
...
C#: Add VS Code model editor queries
2023-09-28 10:12:57 +02:00
Michael Nebel
e997a7c923
C#: Address review comment.
2023-09-25 14:59:18 +02:00
Michael Nebel
0b84dee65e
C#: Minor improvements to the ExternalApi implementation.
2023-09-20 14:34:27 +02:00
Michael Nebel
13dd9a6c37
C#: Address review comments.
2023-09-20 13:43:38 +02:00
Koen Vlaswinkel
489561f4f1
C#: Fix formatting of ExternalApi
2023-09-18 15:49:59 +02:00
Koen Vlaswinkel
0cc74a2691
C#: Extract TestLibrary to separate module
2023-09-18 13:40:18 +02:00
Michael Nebel
23a119b8c2
Java/C#: Reduce the amount of telemetry being produced.
2023-07-03 16:54:07 +02:00
Koen Vlaswinkel
6812389fc8
C#: Fix external API name for nested types
...
This fixes the name of reported external APIs for nested types. The
`getDeclaringType().getUnboundDeclaration()`'s `toString()` method
reports the name of the type, but not the name of the declaring type.
This results in missing information in the
`UnsupportedExternalAPIs.ql` query.
For example, previously it would report:
```
GitHub.Nested#NestedClass.Test()
```
However, the `NestedClass` class does not exist in the namespace and is
only a nested type within `MyFirstClass`. The correct name should be:
```
GitHub.Nested#MyFirstClass+NestedClass.Test()
```
This name also matches the format of MaD.
2023-06-27 16:31:06 +02:00
Michael Nebel
47c69d924b
C#: Update comment on the isSupported predicate.
2023-02-22 09:05:28 +01:00
Michael Nebel
f594411c43
C#: Re-factor isSupported for the telemetry queries.
2023-02-20 13:53:18 +01:00
Michael Nebel
f6a02310d3
C#: Fix bad join order in TestLibrary characteristic predicate.
2023-02-08 16:37:49 +01:00
Michael Nebel
f8dbbe006e
C#/Java: Materialize sink/source/summary predicates to avoid join on input/output before filtering.
2023-02-08 10:04:43 +01:00
Michael Nebel
bfe5a0c438
C#: Rename query id's to be prefixed with cs instead of csharp.
2023-01-03 15:13:54 +01:00
Jami Cogswell
a889cc4f65
Java/C#: remove isTestLibrary
2022-12-13 10:34:04 -05:00
Jami Cogswell
08b5cf1415
Java/C#: fix formatting issue
2022-12-12 20:24:00 -05:00
Jami
84b69deb55
Merge branch 'main' into jcogs33/update-externalapi-charpredicate
2022-12-12 16:01:22 -05:00
Jami Cogswell
123fe5edfe
C#: add isParameterless predicate to Constructor class
2022-12-09 15:55:32 -05:00
Michael Nebel
ad90e58120
C#: Rename Negative Summary Model to Neutral Model.
2022-12-09 15:04:42 +01:00
Jami Cogswell
083b8d1de6
C#: make predicate private
2022-12-08 20:17:28 -05:00
Jami Cogswell
dc51226a56
C#: update qldocs
2022-12-08 17:24:50 -05:00
Jami Cogswell
a1908be165
C#: remove previous uses of isUninteresting
2022-12-08 17:12:26 -05:00
Jami Cogswell
ff85e2f9f2
C#: update ExternalApi characteristic predicate to include not isUninteresting
2022-12-08 17:07:24 -05:00
Michael Nebel
38e906f854
C#: Use hasQualifiedName instead of getQualifiedName.
2022-12-06 11:59:13 +01:00
Jami Cogswell
f1ebaf1ae1
add csharp query
2022-12-01 13:56:13 -05:00
Michael Nebel
ef50e57317
Merge pull request #11083 from michaelnebel/csharp/telemetry
...
C#: Telemetry query updates.
2022-11-11 10:57:54 +01:00
Michael Nebel
187ece610b
C#: Only evaluate api name and namespace strings if they are needed.
2022-11-04 11:20:33 +01:00
Michael Nebel
e0d7e277fb
C#: Align counting with Java and only count calls and not all possible dispatch calls.
2022-11-04 11:20:33 +01:00
Michael Nebel
be1129e782
C#: Only consider effectively public methods.
2022-11-04 11:20:33 +01:00
Michael Nebel
f0b5058760
C#: Remove filename from telemetry output.
2022-11-04 11:20:33 +01:00
Michael Nebel
afb604ee5f
C#: Remove all generated models.
2022-11-04 08:20:53 +01:00
Michael Nebel
6c6b4ce131
C#: Fix issue with TestLibraries not being excluded in the Telemetry queries and add Moq as a testlibrary.
2022-10-04 14:58:37 +02:00
Michael Nebel
3455dd5e06
C#: Re-factor telemetry queries to avoid code duplication.
2022-10-04 14:13:50 +02:00
Michael Nebel
2bbfdcf598
C#: Use api info string ordering and results to avoid multiplicity issues.
2022-10-04 13:51:35 +02:00
Michael Nebel
c3e21e8555
C#: Move NegativeSummary.qll to the internal folder.
2022-08-24 09:58:53 +02:00
Michael Nebel
929f1b324b
C#: Prepare for .NET negative summaries and use in UnsupportedExternalAPIs query.
2022-08-24 09:46:54 +02:00
Michael Nebel
cc44e89065
C#: Introduce support for Negative summary models.
2022-08-24 09:46:54 +02:00
Erik Krogh Kristensen
85a652f3d1
remove a bunch of repeated words
2022-07-14 12:42:48 +02:00
Michael Nebel
dc02a6e1a7
C#: Apply autoformatting.
2022-06-21 08:34:43 +02:00
Michael Nebel
169ef55890
Update csharp/ql/src/Telemetry/ExternalLibraryUsage.ql
...
Co-authored-by: Anders Schack-Mulligen <aschackmull@users.noreply.github.com >
2022-06-20 16:14:44 +02:00
Michael Nebel
9175421fa2
C#/Java: Update some QL Doc comments to comply with the standard and remove some redundant imports.
2022-06-15 11:32:54 +02:00
Michael Nebel
e3ecc5a66b
C#: Add qlDoc to the restrict predicate.
2022-06-15 10:45:32 +02:00