A Quality Model for Conceptual Models of MDD Environments
Table 4
5 Defect types of conceptual models found in the literature and OCL rules.
Defects types found in the literature
OCL rules
Defect: An attribute of a class without the specification of the type
context Class inv: body self.features-select(t t.oclIsKindOf(TypedProperty))-collect(t t.oclAsType (TypedProperty))-select(a a.type.isEmpty())-isEmpty()
Defect: An argument of a service without the specification of the type
context Service inv: body self.features-select(s s.oclIsKindOf(Service))-collect(s s.oclAsType (Service)).argument.type-size1-isEmpty()