Request for Code Examples with Issues and Solutions for Master's Research

Hello everyone,

My name is Pedro, and I am currently pursuing a master’s degree in Brazil. As part of my research, I am analyzing Python code examples that exhibit specific issues alongside their corresponding resolutions. These examples are crucial for the advancement of my study.

While exploring the official SonarQube documentation, I have found that the number of available examples is quite limited, which does not fully meet the requirements of my research.

docs.sonarsource.com

I am reaching out to inquire if any community members are aware of repositories, websites, or any other online resources where I can access a broader range of Python code examples showcasing identified issues and their solutions. Such resources would significantly contribute to the depth and quality of my academic work.

I appreciate any guidance or recommendations you can provide.

Best regards,

Pedro

Hi Pedro,

Welcome to the community!

You may find the SonarQube for Cloud Explore page helpful. It shows open source projects under analysis. You can filter it by language. From there you can check projects’ issues.

Filtering Issues on Status=Fixed will get you ones that have been addressed in code. The challenge here is that when an issue is Fixed, we remove the line number (not least because it may have shifted in the fixing), so fixed issues all “float” to the top. Your challenge will be to figure out where the issue used to be to see what the fix was.

 
HTH,
Ann

"Hi Ann,
Thank you for the warm welcome and for sharing the information about SonarQube for Cloud Explore. I appreciate the tips on filtering issues and understanding the challenges with fixed issues. I’ll definitely check it out and explore further.

Best regards,
Pedro"