Prev - Next - Down | SDMetrics - the UML design measurement tool |
Rule: Unnamed | Category: Completeness |
Severity: 1-high | Applies to: all areas |
Interface has no name.
|
Rule: Unused | Category: Completeness |
Severity: 1-high | Applies to: all areas |
The interface is not used anywhere. The interface is not implemented anywhere, has no associations, and is not used as parameter or attribute type.
|
Rule: NotCapitalized | Category: Naming |
Severity: 3-low | Applies to: all areas |
Interface names should start with a capital letter.
|
Rule: Keyword | Category: Naming |
Severity: 2-med | Applies to: design |
Interface name is a Java or C++ keyword; find another name for it.
|
Rule: PubOpsOnly | Category: Correctness |
Severity: 1-high | Applies to: all areas |
The interface has operations that are not public. All operations in interfaces must have public visibility.
|
Rule: PubAttrOnly | Category: Correctness |
Severity: 1-high | Applies to: all areas |
The interface has attributes that are not public. All attributes in interfaces must have public visibility.
|
Rule: AttrOnIF | Category: Style |
Severity: 3-low | Applies to: all areas |
The interface has attributes or outgoing associations. Interfaces can have attributes and outgoing associations since UML2.0. This rather appears to be a concession to certain component technologies, and should otherwise be avoided.
|
Prev | Up | Next |
Appendix C.1 "Class Rules" | Contents | Appendix C.3 "Datatype Rules" |