Skip to content

OOP Inspections

InspectionMeaning
DeclaresAttributeis a given attribute declared?
DeclaresClassis a given class declared?
DeclaresInterfaceis a given interface declared?
DeclaresMethodis a given method declared?
DeclaresObjectis a given named object declared?
DeclaresPrimitiveIs the given primitive operator overriden?
DeclaresSuperclassis a given class declared as superclass?
Implementsis the given interface implemented?
Includesis a given mixins included?
Inheritsis a given class declared as superclass? - alias of declaresSuperclass
Instantiatesis the given class instantiated?
UsesDynamicPolymorphismare there two or more methods definitions for some sent selector?
UsesDynamicMethodOverloadis there a class that defined two methods with different arity but with the same name?
UsesInheritanceis any superclass explicitly declared?
UsesMixinsis any mixins explicitly included?
UsesObjectCompositionis there a class that declares an attributes and sends a message to it?
UsesStaticMethodOverloadis there a class that defined two method signatures but with the same name?
UsesStaticPolymorphismis there an interface with at least a method signature that is implemented by two or more classes and used in the code?
UsesTemplateMethodis there a class that sends a message whose corresonding method is not declared?

Code Smells