| |
|
| java.lang.Object org.hammurapi.InspectorBase org.hammurapi.inspectors.metrics.NcssInspector
Method Summary | |
public void | leave(Repository repository) | public boolean | setParameter(String name, Object value) Configures the rule. | public void | visit(com.pavelvlasov.jsel.Package pkg) | public void | visit(TypeDefinition typeDefinition) | public void | visit(Method code) |
classAvg | double classAvg(Code) | | |
functionAvg | double functionAvg(Code) | | |
leave | public void leave(Repository repository)(Code) | | |
setParameter | public boolean setParameter(String name, Object value) throws ConfigurationException(Code) | | Configures the rule. Reads in the values of the parameters operation-max-complexity and
class-max-complexity.
Parameters: name - the name of the parameter being loaded from Hammurapi configuration Parameters: value - the value of the parameter being loaded from Hammurapi configuration exception: ConfigurationException - in case of a not supported parameter |
visit | public void visit(com.pavelvlasov.jsel.Package pkg)(Code) | | |
visit | public void visit(TypeDefinition typeDefinition)(Code) | | |
visit | public void visit(Method code)(Code) | | |
|
|
|