Favorites

The Favorites ruleset contains links to rules that I like to use. Usually I combine this ruleset with the unusedcode.xml, basic.xml, and import.xml rulesets for my projects. This ruleset also serves as an example of how to do a custom ruleset.

This rule is defined by the following Java class:

Here's an example of code that would trigger this rule:

			
		

This rule is defined by the following Java class:

Here's an example of code that would trigger this rule:

			
		

This rule is defined by the following Java class:

Here's an example of code that would trigger this rule:

			
		

This rule is defined by the following Java class:

Here's an example of code that would trigger this rule:

			
		

This rule is defined by the following Java class:

Here's an example of code that would trigger this rule:

			
		

This rule is defined by the following Java class:

Here's an example of code that would trigger this rule:

			
		

This rule is defined by the following Java class:

Here's an example of code that would trigger this rule:

			
		

This rule is defined by the following Java class:

Here's an example of code that would trigger this rule:

			
		

This rule is defined by the following Java class:

Here's an example of code that would trigger this rule:

			
		

This rule is defined by the following Java class:

Here's an example of code that would trigger this rule:

			
		

This rule is defined by the following Java class:

Here's an example of code that would trigger this rule:

			
		

This rule is defined by the following Java class:

Here's an example of code that would trigger this rule:

			
		

This rule is defined by the following Java class:

Here's an example of code that would trigger this rule:

			
		

This rule has the following properties:

NameDefault valueDescription
reportLevel5