Comment has specific headlines#

The comment of an Operator shall have specific headlines.

Description#

The comment of an object shall have specific headlines defined in parameter. parameter: comma separated list of headlines, for example: Purpose, Algorithm

The list of expected headlines is given as a comma-separated string. The operator comment is expected to start with one line per headline, starting with the headline name and a column.

For example, when headline=Purpose,Algorithm, the expected comment pattern is:

Purpose: <any text>
Algorithm: <any text>
<any text>

Rationale#

This enforces compliance with a specific modeling standard by ensuring operators include a comment that start with a list of predetermined headlines.

Verification#

This rule checks each operator to ensure it has a comment and that the comment matches the expected pattern.

Resolution#

Modify offending operator comments to comply with the expected pattern.

Customization#

TODO