shunmu
(Shunmugam Udhayakumar)
July 2, 2020, 6:54am
1
We are using * Community Edition Version 8.2 …
We are looking to analyse the open connections, Prepared statements & Result set in Java & Node.js code base.
In short, we are looking for an alternative & to automate the process for PMD (https://pmd.github.io/ ) which we are currently following.
ganncamp
(G Ann Campbell)
July 2, 2020, 7:02pm
2
Hi,
Welcome to the community!
Have you tried analysis with the built-in Java and JavaScript rules?
Ann
Raja
(Raja)
July 9, 2020, 6:04am
3
Hi @ganncamp ,
The built-in rules available for checking open database connection and streams in Java using Find-bugs plugins rules.
But I didn’t see any rules to check the open connections and streams in Nodejs code base.
Kindly share your thoughts to analyse the Nodejs open connections and streams
Thanks,
Raja
Hello,
Can you share some examples of problems you would expect SonarQube to detect for NodeJS apps?
Thanks
Alex
Raja
(Raja)
July 14, 2020, 7:33am
5
Hi @Alexandre_Gigleux ,
Sorry for the delayed response. I have added the Non complaint code and complaint code samples. Please check this link .
Thanks,
Raja
Thanks for sharing the code samples. We will do our best to consider these use cases when we will start implementing more bug detection rules for JavaScript. As of now, I have no ETA to provide.