konveyor / rulesets

Collections of static code analysis rules
Apache License 2.0
1 stars 18 forks source link

Too wide match of hibernate4-00039 rule #81

Open aufi opened 3 months ago

aufi commented 3 months ago

On tackle-testapp-public analysis with eap7 target, rule hibernate4-00039 is triggered on @Entity line, source: https://github.com/konveyor/tackle-testapp-public/blob/main/src/main/java/io/konveyor/demo/ordermanagement/model/Customer.java#L11

This looks to be incorrect.

Rule file: https://github.com/konveyor/rulesets/blob/09d506bb79748633fd0deb47997d7e720a456510/default/generated/eap7/110-hibernate4.windup.yaml#L968-L1015

image