False positives in Javascript


(Pradeep Joshi) #1

We are seeing a number of false positives in both Java and Javascript (UI5) repositories as below. Request you to please suggest if we need to update anything at a tool level or CoDePiPeS level to improve it, not show any false positives.

Javascript
Many false positives such as the below one:

•Considers the whole file as a function, though we have multiple functions
•The parameter is not at a function level, this is sap.ui.define dependencies


(Pradeep Joshi) #2

Hello,

Any update on my last query ?

Best Regards,
Pradeep


(G Ann Campbell) #3

Hi,

It’s likely you didn’t get answers to this because it’s about multiple subjects (FPs in both Java and JavaScript) without a lot of detail.

Please consider re-focusing this thread to a single false positive in a single language with code examples showing where you believe issues are wrongly raised. Then open additional threads for each additional rule raising false positives.

 
Ann