Architecture of Sonar

The core engine of the platform, Squid, is supported by additional code analyzers which Sonar orchestrates together to measure quality.

The following diagram represents the upper-level components of the platform and how they interact with each other:

Architecture of Sonar
  1. An analysis request is triggered using one of three possible methods:
    • Maven Plugin
    • Ant Task
    • Java Runner
  2. Sonar receives the request and starts analyzing the project's source code. The analysis is based on the project's Sonar profile activating any additional plugins or reporting capabilities, if any.
  3. When the analysis is over, results are stored to a database for future reference and ...

Get Sonar Code Quality Testing Essentials now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.