27.03.2014 Views

SEKE 2012 Proceedings - Knowledge Systems Institute

SEKE 2012 Proceedings - Knowledge Systems Institute

SEKE 2012 Proceedings - Knowledge Systems Institute

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

o<br />

Guideline 6.4: Softgoal dependencies – typically,<br />

the softgoal dependency in i* is a n NFR for the<br />

intended system. Hence, a softgoal does not<br />

represent a use case, but an NFR associated with a<br />

specific use case or with the SPL as a whole;<br />

After applying Step 2 to the example, we discovered that<br />

only the “Photo Added” goal dependency can be mapped to a<br />

use case.<br />

Step 3 – Discovering and describing use case scenarios:<br />

<br />

Guideline 7: After discovering the use cases, the field<br />

“Feature” in their description (Table II) should be<br />

filled. Also, the scenario steps to be discovered by<br />

using the next guidelines should be annotated with the<br />

features related to them;<br />

o Guideline 7.1: If a task or resource dependency<br />

originated the use case, then the “Feature” field is<br />

filled with the name of the feature related to the<br />

task/resource on the table of traceability (Table I);<br />

o<br />

o<br />

Guideline 7.2: If a goal dependency originated the<br />

use case, then it is necessary to analyze the<br />

internal element to which the dependency is<br />

connected in the SPL actor. If such element is a<br />

task or resource, the “Feature” field is filled with<br />

the name of the feature related to that<br />

task/resource. If the element is a g oal, then the<br />

“Feature” field will be filled with the name(s) of<br />

the feature(s) related to the task(s) in which this<br />

goal is refined .<br />

Guideline 7.3: The steps obtained from tasks or<br />

resources should be annotated with the name of<br />

the related feature between brackets – [];<br />

Guideline 8: Analyze sub-elements of task<br />

decompositions in order to map them to m andatory<br />

steps of the use case primary scenario;<br />

o Guideline 8.1: If the decomposed task in analysis<br />

satisfies a dependency that was mapped to a use<br />

case, then the sub-elements of that decomposition<br />

will be mapped to mandatory steps of such use<br />

case;<br />

<br />

o<br />

o<br />

Guideline 8.2: Every step obtained from task<br />

decomposition sub-elements is identified by a<br />

unique number without parenthesis, according to<br />

PLUSS notation for mandatory steps;<br />

Guideline 8.3: If a sub-element of a t ask<br />

decomposition is a softgoal, then it is associated to<br />

the use case as an NFR;<br />

Guideline 9: When a means-end relationship has only<br />

one sub-element, the sub-element’s cardinality should<br />

be analyzed;<br />

o Guideline 9.1: If the cardinality is [1..1], the<br />

element will be mapped to a mandatory step.<br />

Hence, it will be identified by a unique number<br />

without parenthesis;<br />

<br />

<br />

<br />

o<br />

Guideline 9.2: If the cardinality is [0..1], the<br />

element will be mapped to an optional step.<br />

Hence, it will be identified by a unique number<br />

between parenthesis, according to th e PLUSS<br />

notation for optional steps;<br />

Guideline 10: When a means-end relationship has more<br />

than one sub-element, the relationship cardinality<br />

should be analyzed;<br />

o Guideline 10.1: If the cardinality is , the<br />

sub-elements will be mapped to mutually<br />

exclusive alternative steps. Therefore, they will be<br />

identified by equal numbers without parenthesis;<br />

o<br />

o<br />

o<br />

o<br />

Guideline 10.2: If the cardinality is , the<br />

sub-elements will be mapped to alternative steps<br />

where only one may be selected. Therefore, they<br />

will be identified by equal numbers between<br />

parenthesis;<br />

Guideline 10.3: If the cardinality is and<br />

n>1, the sub-elements will be mapped to<br />

alternative steps where none or at most n can be<br />

selected. Therefore, they will be identified by<br />

equal numbers between parenthesis, followed by a<br />

different letter for each alternative;<br />

Guideline 10.4: If the cardinality is , i ≠0 and<br />

j>1, the sub-elements will be mapped to<br />

alternative steps where at least i and at most j can<br />

be selected. Therefore, they will be identified by<br />

equal numbers without parenthesis, followed by a<br />

different letter for each alternative;<br />

Guideline 10.5: If there is cardinality only in the<br />

sub-elements, but not in the relationship, the subelements<br />

will be mapped to alternative steps and<br />

some of them may be o ptional, according to the<br />

cardinality. Therefore, they will be identified by<br />

equal numbers, followed by a different letter for<br />

each alternative. However, those with [0..1]<br />

cardinality should have their identifications<br />

between parenthesis;<br />

Guideline 11: The SR model should be analyzed to<br />

discover additional information about the use cases;<br />

o Guideline 11.1: A nalyze contribution links from<br />

other elements (source) to softgoals (target). If the<br />

source element is part of a use case, then the target<br />

softgoal will be associated to this use case as a<br />

non-functional requirement;<br />

o<br />

Guideline 11.2: Analyze links between elements<br />

that generated steps to different use cases. These<br />

links may represent that an element is a precondition<br />

of a u se case (obtained from the other<br />

element) or a rel ationship, such as “include” or<br />

“extend”, between use cases (obtained from the<br />

related elements);<br />

Guideline 12: Analyze use cases to check if they can be<br />

refined or generate new use cases. Each scenario step<br />

654

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!