Skip to content

Defect patterns

A defect pattern is a mistake that has happened more than once in ConnectSoft code and is likely to happen again. Each pattern has an ID (CS-DP-<AREA>-NNN) and five sections:

  • Symptom: what a user, a test or a log shows.
  • Cause: why it happens.
  • Check: what to look for in a review.
  • Test: the test that catches it.
  • Related rules: the standards rules the defect breaks.

Reviewers cite a pattern ID next to the rule ID when a change shows the pattern. The rule index lists every pattern with its severity.

Groups

Group Area Status
Authorization CS-DP-AUZ Active
Blazor UI CS-DP-UI Active
Gateway, mapping and pipeline CS-DP-API Active
Persistence CS-DP-PER Active
Test quality CS-DP-TST Active
Observability CS-DP-LOG Active
Messaging and Orleans CS-DP-MSG Active
Build and dependencies CS-DP-DEP Active
Templates CS-DP-TPL Active
Documentation tooling CS-DP-DOCS Active