Prev - Next - Down | SDMetrics - the UML design measurement tool |
Rule: Unnamed | Category: Completeness |
Severity: 1-high | Applies to: all areas |
The attribute has no name.
|
Rule: Capitalized | Category: Naming |
Severity: 3-low | Applies to: all areas |
Attribute names should start with a lowercase letter. This is a recommended style guideline in the UML standards [OMG03], [OMG05].
|
Rule: Keyword | Category: Naming |
Severity: 2-med | Applies to: design |
Attribute name is a Java or C++ keyword.
|
Rule: PublicAttr | Category: Style |
Severity: 2-med | Applies to: all areas |
Non-constant attribute is public. External read/write access to attributes violates the information hiding principle. Allowing external entities to directly modify the state of an object is dangerous. State changes should only occur through the protocol defined by the interfaces of the object. Make the attribute private or protected.
|
Rule: NoType | Category: Completeness |
Severity: 2-med | Applies to: design |
The attribute has no specified type. Without a type, the attribute has no meaning in design, and code generation will not work. Specify a type for the attribute.
|
Prev | Up | Next |
Appendix C.3 "Datatype Rules" | Contents | Appendix C.5 "Operation Rules" |