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 Reply

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

Please turn AdBlock off
Animated Social Media Icons by Acurax Responsive Web Designing Company

Discover more from Direct DevOps from Quality Thought

Subscribe now to keep reading and get access to the full archive.

Continue reading

Visit Us On FacebookVisit Us On LinkedinVisit Us On Youtube