checkExemptionsRationale

This check searches for exemption tags that suppress CC4M check violations or MATLAB Code Analyzer warnings, and checks whether the exemption tag is followed by a rationale.

Configurable parameters

  • CodeCheckerExemptions (boolean): Enable checking rationale on CC4M exemption tags.

  • MatlabCodeAnalyzerExemptions (boolean): Enable checking rationale on MATLABs Code Analyzer exemption tags.

  • MinimumCommentLength (double): Minimum number of characters for the rationale (after trimming whitespace).