The size rating is based on lines of code.
Lines of code is the number of physical lines that contain at least one character which is neither a whitespace or a tabulation or part of a comment.
The rating will calculate as follows: