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:
- XS, if lines < 1000
- S, if lines between 1000 and 10000
- M, if lines between 10000 and 100000
- L, if lines between 100000 and 500000
- XL, if lines > 500000