Code analysis automatically examines source code for quality issues as a gate in a CI/CD pipeline, before compilation, testing, and deployment. section 9.5
A practical pipeline typically proceeds through these gates:
- A successful commit or merged pull request triggers the pipeline. section 9.5
- Automated analysis checks source-code quality, commonly with a tool such as SonarQube. section 9.5
- The pipeline then compiles and builds the code, runs unit and security tests, and deploys only after required gates succeed. section 9.5
A failed quality gate
A developer merges code into the develop branch. Code analysis runs automatically; a failure is flagged for resolution before the build can proceed, preventing an unchecked change from reaching a server environment. section 9.5
Trace code analysis through the typical CI/CD pipeline and its successive gates. section 9.5




