Skip to content
This repository has been archived by the owner on Nov 15, 2019. It is now read-only.

ConditionCoverageOnNewCode_SonarCube4.5

Antonin Abherve edited this page Nov 23, 2017 · 3 revisions

Overview

On each line of code containing some boolean expressions, the condition coverage simply answers the following question: 'Has each boolean expression been evaluated both to true and false?'. This is the density of possible conditions in flow control structures that have been followed during unit tests execution. Restricted to new / updated source code.

MeasureDiagram

Measure Architecture

Measure Type DirectMeasure

Scope : SonarCube

Value Type Default Description
ServerURL string
Login string
Password string
ProjectKey string

Data Model : Numeric

Algorithmes

This metric is a proxy for the SonarCube 4.5 tool

Clone this wiki locally