Sanity4J is a code quality measurement tool for Java code. It is:
Sanity4J measurements are useful for Stage Gate assessments which internal projects must pass to transition through various environments and ultimately into production.
Using Sanity4J allows teams to build quality as they develop code, and provides an opportunity to make quality targets part of the development lifecycle. It helps developers and managers to identify coding issues throughout the process, reducing defect rates and ongoing development costs.