Keep business rules and raise findings

Write down what the system is meant to do, add evidence, mark a rule as checked and raise a finding when it breaks.

In short

Rules is the fourth part of Analytics › Reports. A rule says what the system is meant to do, where it belongs and the evidence that it holds. A finding raised against a rule shows in the Code quality report. Your rules are yours alone.

Before you start

Add a rule

  1. Open Analytics › "Reports" and choose "Rules".
  2. Press "New rule".
  3. Write "What the rule says" and its "Source": the module, service or script it belongs to. Turn on "Comes from documentation" only when it does; a rule inferred from code is the weaker claim.
  4. Under "Evidence", press "Add evidence", choose its kind - Code, Documentation, Test or Runtime - and write where it is.
  5. Press "Save".

Check a rule and raise a finding

  1. Click a rule in the list. It opens beside the list.
  2. To record that you checked it today, turn on "Mark as checked today" and press "Save", or choose "Mark as checked today" in the row's menu.
  3. Under "Findings raised against it", write "What went wrong", choose a "Severity" - Warning, High or Critical - and press "Raise a finding".
  4. Click a finding's title to open it on its own page.

Good to know

If something goes wrong

Related