You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Describe the bug
If you use a query with @kind problem in the metadata (or even without @kind, whose select clause has an element as first tuple value, e.g. select element, "my message") and all or some of the elements in the results don't have a source location (for example because they come from an external library), then they are not shown in the Variant Analysis Results view and there is no indication that they were omitted.
This differs from a run for a local database, whose result view includes these results, respectively offers to view the "raw results".
It also differs from a Variant Analysis run without @kind ... in the metadata and where for example a string is the first value in the result tuples (e.g. select "my message", element), which does show the raw results.
/** * @kind problem */import java
fromEnumTypetwherenott.fromSource()selectt,"my message"
Run Variant Analysis, for example on the top 10 repositories
Open the Variant Analysis Results
❌ Bug: No results are shown, and there is no indication and no way to show the actual results which don't have a source location
Expected behavior
Either:
There should be at least an indication that X results were omitted because they are not in the source code
Or better, there should be a way to view the "raw results" (i.e. shown as regular table), which include elements without source location
Additional context
This might affect other @kind types as well.
The text was updated successfully, but these errors were encountered:
you can clearly see the difference in results if you run this locally vs as a variant analysis. All of the results that are "not from source" will be omitted.
I've opened an internal issue to look into this more and we'll report back when there's any progress.
Describe the bug
If you use a query with
@kind problem
in the metadata (or even without@kind
, whoseselect
clause has an element as first tuple value, e.g.select element, "my message"
) and all or some of the elements in the results don't have a source location (for example because they come from an external library), then they are not shown in the Variant Analysis Results view and there is no indication that they were omitted.This differs from a run for a local database, whose result view includes these results, respectively offers to view the "raw results".
It also differs from a Variant Analysis run without
@kind ...
in the metadata and where for example a string is the first value in the result tuples (e.g.select "my message", element
), which does show the raw results.Version
Extension version
VS Code version
To reproduce
❌ Bug: No results are shown, and there is no indication and no way to show the actual results which don't have a source location
Expected behavior
Either:
Additional context
This might affect other
@kind
types as well.The text was updated successfully, but these errors were encountered: