4 projects tagged "code quality"
Quality-Check provides a small Java library for basic runtime code quality checks. It provides similar features to org.springframework.util.Assert or com.google.common.base.Preconditions without the need to include big libraries or frameworks such as Spring or Guava. The package Quality-Check tries to replace these libraries and provide all the basic code quality checks. These basic code checks avoid technical errors using a fail-early approach, by checking each input parameter to a public method to be technically valid.
CODERU is a Java code quality tool to enforce good design in respect to package dependencies. Its rules rely on reserved package names, and the allowed dependency rules between them are expressed in a general way. Unlike other tools that force you to define allowed or disallowed individual package dependencies, CODERU is based on a fixed set of general rules. The dependencies between packages need not be defined explicitly. These general dependency rules are based on common design practices which are reflected in preserved package names: "api", "common", "impl", and "factory". It includes a tool for checking your code for rule conformance.