konveyor / analyzer-lsp

Add-on that is focused on providing analysis based on the Language Server Protocol.
Apache License 2.0
12 stars 45 forks source link

[BUG] [RULES] False positive on hibernate annotation rules hibernate-search-00750, hibernate-search-00800 and hibernate-search-00980 #653

Open abrugaro opened 4 months ago

abrugaro commented 4 months ago

Is there an existing issue for this?

Konveyor version

0.5 beta 1

Priority

Undefined (Default)

Anything else?

Tested with Kantra b0.5 beta1 Target: eap8 (and others) Source: none Source code used: https://github.com/sonatype/nexus-public Rules triggered:

Report: https://drive.google.com/file/d/1TbdLS4_728DgxbB88F7YcXw84jK2elty/view?usp=drive_link

These 3 rules are supposed to match deprecated or updated annotations for Hibernate Entities, however the reported a combination of 40 incidents where the majority of them do not belong to annotation but other elements (methods, classes, etc), and those elements do not even belong to Hibernate.

image image image image

konveyor-ci-bot[bot] commented 4 months ago

This issue is currently awaiting triage. If contributors determine this is a relevant issue, they will accept it by applying the triage/accepted label and provide further guidance. The triage/accepted label can be added by org members.