Purpose

 Violation for quality rule ' Avoid Subroutines with a very low comment/code ratio (RPG300)' seems to be not correct.

Applicable in CAST Version
Release
Yes/No
8.3.x(tick) 
Applicable RDBMS
RDBMS
Yes/No
CSS(tick)
Details

By seeing the below screenshot you can assume that AA05_FIRST has 7 comment lines but there is only one comment which is highlighted in yellow, rest are blank comments (C* are not considered as comments as these are blank) which analyzer doesn't treat as comment. Also note that only inner comment lines are considered while calculating the comment/code ratio & the threshold value of Comment/code ratio is 10 i.e. if the ratio is less than this value it will violate otherwise not and in this case the subroutine has comment/code ratio less than 10, so the violation is correct.

Notes/comments