| Info | ||||
|---|---|---|---|---|
| ||||
|
Sonar Architecture
| Concept | Definition | Related Topics | ||||
|---|---|---|---|---|---|---|
| Batch that analyzes the source code to compute snapshots. | See Architecture Overview. | ||||
| Batch that runs the analyzers. | See Architecture Overview. | ||||
| Stores:
| See Architecture Overview. | ||||
| Web Server that is used to navigate the snapshots and make configuration | See Architecture Overview . |
Quality
| Concept | Definition | Related Topics | ||||
|---|---|---|---|---|---|---|
| Check | Check = Coding Rule. | |||||
| A good coding practice. Violating coding rules leads to quality flows. Coding rules can check quality on files, unit tests or packages. | See Viewing Unit Tests > Violations Tab | ||||
| A property of a resource. Examples: number of lines of code, complexity, etc. A metric may be either:
The value of the metric for a given resource is called measure. | See detailed documentation on metrics. | ||||
| The value of a metric for a given resource at a given time. Examples:
| |||||
| A set of coding rules. Each snapshot is based on a single quality profile. | See Quality Profile. | ||||
| A piece of software. Examples: project, package, module, file, etc. | |||||
| A set of measures and violations on a given resource at a given time. A snapshot is generated for each Sonar analysis. | |||||
| When a resource does not comply with a coding rule, Sonar logs a violation into the snapshot. A violation can be logged on a file or on a unit test or on a package. |
Web Interface
| Concept | Definition | Related Topics | ||||
|---|---|---|---|---|---|---|
| Web page that provides a way to display any data stored in the database. A dashboard is a set of widgets. | See Dashboards. | ||||
| It is a box that displays data on a dashboard. There are two types of widget:
|

