Métric number of lines of code for e function

SonarQube returns a metrtic by a rule (c:S138 Functions/methods should not have too many lines) but this metrics take into account the comment lines and the lines without instructions. Is there a metric which computes the number of the code lines only without the comment lines and blanck lines ?
Thanks a lot.

Hello @FredAubert,

I apologize for the late reply.

Your request totally makes sense and we have a ticket to track it. We will try to handle it soon. Feel free to watch the ticket for updates.


1 Like