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

CommentsPercentBySonarCube

Antonin Abherve edited this page Nov 23, 2017 · 1 revision

Overview

Density of comment lines = Comment lines / (Lines of code + Comment lines) * 100

With such a formula:

-50% means that the number of lines of code equals the number of comment lines

  • 100% means that the file only contains comment lines

MeasureDiagram

Measure Architecture

Measure Type DirectMeasure

Scope : SonarCube

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

Data Model : Numeric

Value Type Description
value double

Algorithmes

This metric is a proxy for the SonarCube 4.5 tool

Clone this wiki locally