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