|
Requirement Quality Comparison Table
[Previous]  [Next] 
|
![]() |
User Manual [Previous]  [Next] Requirement Quality Comparison TableOnce alternative designs have been tagged with quality classes through The feature is activated with the generate PlainRequirementsDoc; suboption "reqQC"; Or from the command line: umple -g PlainRequirementsDoc -s reqQC your_model.ump In UmpleOnline you can also select Requirements Doc with Comparison Table from the Generate dropdown, which invokes the same generator with The currently-active mixset (the one selected via a See also Sorting Requirements for other suboptions supported by the same generator, including Generating a comparison table for two alternative mixsets
// Full example producing the alternative-design comparison
// table. The reqQC suboption of PlainRequirementsDoc emits an
// HTML table with one row per quality requirement and one
// column per quality-tagged mixset.
generate PlainRequirementsDoc;
suboption "reqQC";
require subfeature [1..1 of {DesignA, DesignB}];
req Speed userStory {
who { architect }
what { compare speed across designs }
}
req Speed quality {
High {}
Low {}
}
req Security userStory {
who { architect }
what { compare security across designs }
}
req Security quality {
Perfect {}
Basic {}
}
implementsReq Speed(High), Security(Perfect);
mixset DesignA {
class FastSecureCar {}
}
implementsReq Speed(Low), Security(Basic);
mixset DesignB {
class SlowCar {}
}
use DesignA;
Load the above code into UmpleOnline |