Pablissimo / SonarTsPlugin

SonarQube plugin for TypeScript files
MIT License
185 stars 106 forks source link

Added comment lines and comment density metrics. #179

Open SimoKutlin opened 6 years ago

SimoKutlin commented 6 years ago

Hello together,

basically I've inverted and tweaked the LOCSensor logic from identifying code lines towards comment lines and put it into a separate sensor file. It get's called in the combined coverage sensor and now also comment density can be computed.

Greets Simo

coveralls commented 6 years ago

Coverage Status

Coverage decreased (-1.4%) to 91.079% when pulling 7d1c24822fc9181607b22ec3c15fb72728bcdf73 on SimoKutlin:master into 62d7405dc9eb819baf9d45e414d589527ec458de on Pablissimo:master.