ftomassetti / effectivejava

Run queries on your Java code to check if it meets the criteria suggested by the book Effective Java. And some others.
Apache License 2.0
506 stars 45 forks source link

Threshold for mc query is ignored in interactive mode #49

Closed davidor closed 9 years ago

davidor commented 9 years ago

The threshold seems to be set to 5 ignoring the user input. For example, using the examples classes included in the project:

mc th 7

class | numberOfConstructors

japa.parser.ast.body.BaseParameter | 5
japa.parser.ast.body.FieldDeclaration | 5
japa.parser.ast.body.MethodDeclaration | 5
japa.parser.ast.expr.ArrayCreationExpr | 5
org.springframework.jdbc.core.ResultSetSupportingSqlParameter | 6
org.springframework.jdbc.core.SqlInOutParameter | 7
org.springframework.jdbc.core.SqlOutParameter | 7
org.springframework.jdbc.core.SqlParameter | 7
org.springframework.jdbc.core.support.SqlLobValue | 8