Let’s say we have a variation point in our system model, as shown in the Figure 1. This variation point refers to a feature named Speed in the feature model. Figure 1. Example activity showing a Variation point named Speed Now let’s say somebody has changed the feature model renaming the feature Speed to WindSpeed . As a result, our variation point expression is no longer valid. To detect and correct such situations, you can run a validation suite which will detect such situations in the model and provide suggestions for fixing them. Figure 2. Validation Results panel after running a validation suite Additionally, there are three more validation rules to check for simple errors in variation point declarations: - Variation points not connected to any model element.
- Variation points referring to a wrong UML property.
- Variation points referring to a wrong tag.
|