PR# 19483 Add code analysis rule to check for count > 0
Problem Report Summary
Class: Feature Request
Synopsis: Add code analysis rule to check for count > 0
Perhaps there should be a code analysis rule that suggests replacing list.count > 0 with not list.is_empty Similar to existing rule that suggests replacing "list.count = 0" with "list.is_empty". Also, I noticed that "list.count <= 0" is not reported as a "Zero count test" violation, though perhaps it should be a separate rule that suggests changing "<=" to just "=" in this case.