LOC duplicates issue

Must-share information (formatted with Markdown):

  • which versions are you using (SonarQube, Scanner, Plugin, and any relevant extension) : 8.5
  • what are you trying to achieve : LOC issue which including duplicates in the LOC of developer edition.
  • what have you tried so far to achieve this : Waiting for the reply for above query.

LOC issue which including duplicates in the LOC of developer edition?

Hi,

Welcome to the community!

Sorry, but I don’t understand the question.

 
Ann

Hi Ann,

I am using developer edition for code analysis, initially i took 100k LOC while i used for code analysis in sonarqube dashboard my code is having 33% duplicates and overall code is 98K, my query is without duplicates LOC policy is applicable or with duplicates it is applicable?

Hi,

Thanks for clarifying. Yes, every LOC counts, even the duplicates.

(If you weren’t already motivated to clean them up, I guess this will help! :joy:)

 
:smiley:
Ann