Item that contains a ‘message’ has zero coverage#408
Merged
SurajBDeore merged 2 commits intomainfrom Aug 20, 2025
Merged
Conversation
- The item with the message shall have 0% coverage. - The traced-to item remains at 100% coverage Issue: SWF-20649
mugdhadhole1
approved these changes
Aug 20, 2025
phiwuu
reviewed
Aug 30, 2025
| req.System_Requirement_Aspect Message_Trace_Coverage { | ||
| description = ''' | ||
| IF an item contains a "message" and traces to another item, | ||
| THEN the traced item shall have 100% coverage, |
Member
There was a problem hiding this comment.
This is wrong! The traced item may be traced by several items! If there are only two items in total, then the formulation is correct.
Furthermore:
- it is irrelevant if the item under test traces to another item or not. If there is a message, then the item shall be counted as "not okay".
- a single item cannot have a coverage. A coverage is allocated to a level, which consists of zero or more items.
So a system requirement can only specify that the item shall be counted as "not okay" if it has got a message. And this rule has precedence over all other traceability rules. So even if the item properly traces to another item (as requested by the tracing policy), the item must still be counted as "not okay" if it has got a message.
However, a justification has even higher priority. An item with "justification" is counted as "okay", even if it has got a "message".
Member
|
Fix: #461 |
TannazVhdBMWExt
pushed a commit
that referenced
this pull request
Nov 6, 2025
Item contains a "message" and traces to another item - The item with the message shall have 0% coverage. - The traced-to item remains at 100% coverage Issue: SWF-20649
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Item contains a "message" and traces to another item
Issue: SWF-20649