User defined rules check with Coding Standard Violations?

6 vues (au cours des 30 derniers jours)
Chandrakant Bhor
Chandrakant Bhor le 2 Fév 2022
Commenté : Anirban le 3 Fév 2022
Can we have user defined rules check with Coding Standard Violations?

Réponses (2)

Anirban
Anirban le 2 Fév 2022
Modifié(e) : Anirban le 2 Fév 2022
Can you give an example of the kind of rules you are thinking of? There is a set of custom rules for naming conventions, but even otherwise, you can extend quite a few of the Polyspace checkers. For instance, you can define a list of forbidden functions and have Polyspace Bug Finder check for use of those functions.
One of these extensions can serve your needs.

Chandrakant Bhor
Chandrakant Bhor le 3 Fév 2022
Hi Anirban,
Thanks for reply.
Are these options supported by Server version as well or only Desktop version?
We are using Server version of Polyspace Bugfinder.
Thanks,
Chandrakant
  1 commentaire
Anirban
Anirban le 3 Fév 2022
Yes, both custom rules and extensions of Polyspace Bug Finder checkers are available with the desktop and server version.

Connectez-vous pour commenter.

Produits


Version

R2020b

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by