A different take on meta information: 5 alternatives to attributes

Attributes are everywhere: When we record requirements, we typically record a priority, generate an ID, save the author, etc. in addition to the description. All of these are attributes. Specific attributes are then often added, such as a security requirement level. Attributes are also used in further development: For example, many SysML model elements have dozens of predefined attributes. And, of course, these can be extended by attributes defined by the user.
Disrupting Requirements: Webinar with Colin Hood, Christer Fröling and Michael Jastram on April 26 at 17:00 - Register now >>
But we often resort to attributes without thinking about whether there might be better alternatives. Five of these alternatives are presented today.
Which attributes?
Ursula Meseberg recently published the article A matter of opinion: Which attributes does a requirement need? Although it deals with attributes of requirements, the concepts can also be easily transferred to other system development artifacts.
Attribution also harbors dangers. The following two in particular can lead to problems:
Wild growth: Wild growth occurs when attributes are created ad hoc. How great the danger is usually depends on the tool used. Extreme example Excel: A new attribute is created by introducing a new column. As Excel does not have a rights system, any user can create new attributes. It is also not possible with Excel to ensure that different tables have the same columns.
Older RE tools also have this problem, such as the "classic" IBM Rational DOORS, where each "module" has its own set of attributes. This means that two specification modules can have different attributes. With modern solutions such as Jama Software, the attributes are administered centrally.
Unkempt/aged attributes: What use are attributes if they are not filled? It should be carefully considered whether an attribute is really needed. It is even worse if too many attributes are made mandatory fields. In this case, the element can only be created if all mandatory attributes are filled. This often leads to nonsensical and meaningless placeholder values. Incorrect or obsolete attributes can cause a lot of damage.
Alternatives to attributes
In many cases, attributes are the right choice for recording meta information. But it is worth thinking about whether an alternative might be more suitable in one situation or another. In particular, many readers may not even be aware that there are alternatives. The following list shows five alternatives that I personally consider to be very effective.
Referencing is a reference to another element. Referencing is useful if the referenced elements can change.
Concrete example: A hazard is usually considered in a risk assessment. This could simply be created as an enumerated list, which would manifest itself as a drop-down in the tool, i.e. a list of hazard identifiers. With a Referencing an element of type "Hazard" would be selected from a library.
The difference: The hazard type itself could be provided with further attributes. In addition, hazards would now be a versioned element: hardly any tools version enumeration lists - I am not aware of any.
The following apply to a link the same advantages as with referencing, except that here we are talking about enumerated lists where more than one value can be selected. There is also another advantage: when linking, the element for the Traceability can be used.
Here is another example: If we integrate the risk via linking, we could consider a linking chain: For example, which requirements are relevant to safety for a component because they are indirectly linked via a risk.
All elements that are versioned individually usually also allow so-called "commit statements". This is free text that is added to this version when it is saved in the database.
A classic attribute that would be better placed in a commit statement is "Rationale", or "rationale". The rationale can change over time, and especially for drastic changes, the reason should be recorded. For example, if the number of screens is increased from 1 to 2, the reason should be easy to find, but the original rationale should not be lost.
I have implemented this in a useful way in software development at gitHub where dialogs are even used to Actions executed can be used. When a developer commits a code, the corresponding bug can be automatically resolved via the commit text.
The Main problem The problem with commit statements is that they are neglected in many tools. Nevertheless, they are extremely useful in an audit, for example.
What works in social media can also work in development. Tags are identifiers that can be attached to elements on an ad hoc basis. The nice thing about tags is that they orthogonal to the data model are. I wrote above that we don't want to have wild growth in the data model. Tags give us the freedom to create our own structure without calling the formal procedure into question. Each project usually develops its own system, which makes the Improved communication and the Productivity of the team.
You can create your own tag system using an attribute, but this is not recommended: this "pollutes" the version history of the elements, and created tags usually have such poor usability that they are not used at all. Tags should only be used if the tool supports them properly.
How much valuable information are lost in e-mailsor disappear in the chat of Slack and similar tools? If we could "staple" these dialogs to our elements, a lot of meta-information would be captured in the right place by itself.
Modern tools have also started to make this possible. I already mentioned gitHub, which actively integrates communication to record information and carry out activities.
In product development Jama Software an example of where communication can be initiated in the context of an element (e.g. a request). The relevant participants are informed by e-mail and can also Reply directly by e-mailbut the dialog is recorded in Jama in the context of the request.
Dialogs can still be used as Question, Decision or problem (Issue), which makes decisions comprehensible. The status of the dialogs (e.g. open or completed decisions) is used to dynamic task lists and maintained automatically. The following screenshot shows on the right how Jason and Peter are discussing an issue that was decided by "Sample User". All stakeholders involved and their roles are listed on the left-hand side.
Conclusion
Attributes are important and indispensable - and we will continue to need them. However, there is meta-information that can be better recorded using other mechanisms. A few examples were given in this article. I assume that many of these techniques will become more and more widespread over the next few years.







