Issue with covered and uncovered Lines

Hi Community,

I added the below line of code in 6 functions on a single file and added corresponding test case as well but in sonarqube dashboard showing 4 lines are covered and 2 lines are uncovered. I don’t know why it is showing like this.

Below line I added 6 times in a same file.

Nsvalidations validator -new Nsvalidatons(this.getClass().getsSimpleName().request);


Hi Naresh,

Are you certain you have test cases for all 6 locations? Are you certain those tests are actually run?