Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 28 Next »

Table of Contents

 

Architecture

ConceptDefinitionRelated Topics
AnalyzerBatch that analyzes the source code to compute snapshots.See Architecture Overview.
Client

Batch that runs source the code analyzers.

See Architecture Overview.
Database

Stores:

  • configuration of Sonar
  • snapshots
See Architecture Overview.
Server Web Server that is used to navigate the snapshots and make configurationSee Architecture Overview .

 

Quality

ConceptDefinitionRelated Topics
Check

Check = Coding Rule.

 
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
Metric

A property of a resource. Examples: number of lines of code, complexity, etc.

A metric may be either:

  • qualitative: gives a quality indication on the resource (ex: density of duplicated lines, line coverage by unit tests, etc.)
  • or quantitative: does not give a quality indication on the resource (ex: number of lines of code, complexity, etc.)

The value of the metric for a given resource is called measure.

See detailed documentation on metrics.
Measure

The value of a metric for a given resource at a given time.

Examples:

  • 125 lines of code on class myClass
  • Density of duplicated lines of 30.5% on project myProject
 
Quality Profile

A set of coding rules.

Each snapshot is based on a single quality profile.

See Quality Profile.
ResourceA piece of software. Examples: project, package, module, file, etc. 
Snapshot

A set of measures and violations on a given resource at a given time.

A snapshot is generated for each Sonar analysis.

 
Violation

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

 

ConceptDefinitionRelated Topics
Dashboard

Web page that provides a way to display any data stored in the database.

A dashboard is a set of widgets.

See Dashboards.

Widget

It is a box that displays data on a dashboard.

There are two types of widget:

  • Global widget that can displays data from multiple projects. So far there is only one global widget available: filter.
  • Project widget that only displays data from a specific project
 
  • No labels