Hi Apache Hadoop maintainers, I'm following up on a message I sent to the Apache Hadoop team on October 9 about our research on CodeQL alert noise. I'm Amirali Sajadi, a CS PhD candidate at Drexel University working with Prof. Preetha Chatterjee at Drexel and Prof. Saikat Dutta at Cornell. We refine existing CodeQL Java queries and run them with the standard CodeQL engine.
We analyzed Apache Hadoop at https://github.com/apache/hadoop/tree/73c119ad19ced60232bd2a115b4f25c2abf0a5c8. For CodeQL's "Comparison of narrow type with wide type in loop condition" query (java/comparison-with-wider-type), the original query produced 88 alerts and our refined version produced 37. This refinement filters findings in code classified as tests, examples, or other nonproduction code. This is one example from a broader set of refinements we have developed. Would you be willing to review a few of the removed findings? We can send the query changes and comparison results by email. Your assessment of whether filtering these findings is appropriate for your project would help our study. Thank you for your time. Best regards, Amirali Sajadi CS PhD candidate, Drexel University
