ssulav commented on code in PR #312: URL: https://github.com/apache/ozone-site/pull/312#discussion_r2749451063
########## docs/08-developer-guide/03-test/05-static-analysis.md: ########## @@ -2,8 +2,177 @@ sidebar_label: Static Analysis --- -# Static Analysis With SonarQube +# Static Code Analysis -**TODO:** File a subtask under [HDDS-9861](https://issues.apache.org/jira/browse/HDDS-9861) and complete this page or section. +Apache Ozone uses static code analysis tools to identify potential bugs, code smells, security vulnerabilities, and other issues before they make it into production. SonarQube is the primary tool used for comprehensive code quality analysis. -Document how Ozone uses SonarQube, how to access it, view results, and fix issues. +## SonarQube Overview + +[SonarQube](https://www.sonarqube.org/) is an open-source platform for continuous inspection of code quality. It performs automatic reviews with static analysis to detect: + +- Bugs and logic errors +- Code smells (maintainability issues) +- Security vulnerabilities +- Duplicated code +- Test coverage gaps +- Coding standard violations + +## SonarCloud for Apache Ozone + +Apache Ozone uses SonarCloud, a cloud-based version of SonarQube, for continuous code quality analysis. + +### Accessing SonarCloud + +The Ozone project's SonarCloud dashboard is publicly available at: https://sonarcloud.io/project/overview?id=apache_ozone Review Comment: Do I need extra privilege to monitor this? If yes, can we also mention how to get this access `The requested project does not exist, or you have not been granted access.` -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected] --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
