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 18 Next »

ConceptDefinitionRelated Topics
Check

Check = Coding Rule.

See Coding Rule.

 
Client See Architecture Overview.
Coding Rule  
Database See Architecture Overview.
Metric

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

A metric may be either:

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

The value of the metric for a given Sonar Concepts is called Sonar Concepts.

See detailed documentation on the metrics.
Measure

The value of a Sonar Concepts for a given Sonar Concepts at a given time.

Examples:

  • 125 lines of code on class myClass
  • Density of duplicated lines of 30.5% on project myProject
 
ResourceA piece of software. Example: project, package, module, file, etc. 
Server See Architecture Overview .
Violation  

 

 

To be removed

Concept

Definition

Examples

Metric

A metric is a property of a piece of software.

See detailed documentation on the metrics.

Lines of code, Cyclomatic complexity, Code coverage

Measure

A measure is the value of a metric at a given time

12'000 Lines Of Code, 234 units tests on december 24th

Component

An component is a piece of software regardless of the granularity of this piece

Maven projects, Maven modules, Packages, Classes

Project

TODO

Project Tomcat on Nemo

Snapshot

A snapshot is a measures set on a given entity at a given time

Measures set on Tomcat project on december 24th 

Coding rule

TODO

Don't import java.lang package

Coding rule violation

This is a violation of a coding rule in a particular piece of software. A piece of software can of course contain several violations on the same coding rule.

Line 4 of file "DummyClass" : Don't import java.lang package

Coding rules profile

A coding rules profile is a given coding rules set

Sonar way on Nemo

Plugin

A plugin is a set of extensions that put together brings a new functionality to Sonar

PL/SQL plugin, Clover plugin

Coding rules extension

TODO

 

Analysis phase

TODO

 

Collect phase

TODO

 

Injection phase

TODO

 

Quantitative measure

A quantitative measure is a measure that indicates the size of something in a project

# of lines of code, # of classes, ...

Qualitative measure

A qualitative measure is a measure that gives some indication on the quality of the project

Cyclomatic complexity per method, RCI, ...

  • No labels