Maximum Methods Count Check rulesets/extensions.xml/MaximumMethodsCountCheck Maximum number of methods authorised Maximum number of methods authorised. Default is 2. Avoid if without using brace rulesets/extensions.xml/AvoidIfWithoutBrace //VariableDeclarator[../Type/ReferenceType/ClassOrInterfaceType[@Image='EmptyClass']] Prevent use of EmptyClass class