The calculation of the Imperative Abstraction smell should be based on the number of public methods and not on the number of public fields.
This smell should be detected only when a Type has one (and only one) public method and this method has lines of code > threshold.
https://github.com/tushartushar/DesigniteJava/blob/73f27ed47f76cdeda59af952d877df9d432497a9/src/Designite/smells/designSmells/AbstractionSmellDetector.java#L39
The calculation of the Imperative Abstraction smell should be based on the number of public methods and not on the number of public fields. This smell should be detected only when a Type has one (and only one) public method and this method has lines of code > threshold.