DevOps Classroom notes 18/Sep/2025

Code Analysis

  • Code analysis is done in 3 possible ways
    • linting: grammatical evaluation of code majorly with style guides. This is generally done in IDE and during commit as hooks.
    • static code analysis: Analyses the source code by parsing source code against best practices, known vulnerabilities.
    • dynamic analysis: Analyses the code executions.
  • Enterprise Use case:
    • Whenever a PR is created, synchronized then
      • execute static code analysis
      • Run unit tests & measure code coverage
      • Ensure Quality Gate (Minimum Approved Code Quality) checks are passed, if failed PR shouldnot be merged.
  • Tools:
    • Static Code Analysis:
      • SonarQube, Sonarcloud (Free for opensource repos):
      • CodeQL
    • Code Coverage:
      • SonarQube with additional plugins.

SonarCloud

Codeql

Published
Categorized as Uncategorized Tagged

By continuous learner

devops & cloud enthusiastic learner

Leave a comment

Turn on JavaScript to leave a comment.

This site uses Akismet to reduce spam. Learn how your comment data is processed.

Please turn AdBlock off
Social Media Icons Powered by Acurax Web Design Company
Exit mobile version
%%footer%%