2

Given a smallint rule RBUnclassifiedMethodsRule new, how do I run the rule on all classes in the System?

Strangely enough RBUnclassifiedMethodsRule new run does not give me back the full results.

4

1 回答 1

2

您必须提供一个环境来告诉要检查哪些类。如果您想要RBUnclassifiedMethodsRule系统所有类的结果,请执行以下操作:

RBUnclassifiedMethodsRule new 
    runOnEnvironment: RBBrowserEnvironment new; 
    result
于 2013-04-30T08:04:53.337 回答