ShortMethodName

Detects when very short method names are used.

This rule is defined by the following XPath expression:

                  
//MethodDeclarator[string-length(@Image) < 3]
                  
              

Example:

                

public class ShortMethod {
  public void a( int i ) { // Violation
  }
}