how can I check checkers-activation-file versus checkers-selection-file
조회 수: 6 (최근 30일)
이전 댓글 표시
What's the differ between a checkers-activation-file and a checkers-selection-file ?
Only the revision number in the xml-header ?
댓글 수: 0
답변 (2개)
Jinal
2023년 3월 15일
Hey Horst,
I understand that you wish to know the difference between ‘ checkers-activation-file’ and ‘checkers-selection-file’. Both Analysis Options are possible ways using which a custom set of coding rules can be defined and enabled for the Polyspace Bug Finder analysis. Though quite similar, there are a few differences in the usage of these options to enable customization.
For cases in which User Interface is not accessible, using the ‘-checkers-selection-file’ option you can modify writeable copies of XML files containing predefined rules for various coding standards. On the other hand, using ‘-checkers-activation-file’ option, you can activate the custom selection of coding rules and Bug Finder defects in a new activation XML file.
For more information you can refer the following links -checkers-activation-file -checkers-selection-file
I hope the above information resolves your query.
댓글 수: 0
Anirban
2023년 3월 16일
편집: Anirban
2023년 3월 17일
Couple of differences:
- The option -checkers-activation-file allows you to specify all checkers supported by Bug Finder: defect checkers, checkers for coding standards such as MISRA-C:2012, etc. The option -checkers-selection-file does not support defect checkers.
- The option -checkers-activation-file both specifies the checkers and activates them. The option -checkers-selection-file only specifies a bunch of checkers. You then have to use an additional option to enable them. For instance, -checkers-selection-file afile.xml -misra3 from-file enables the MISRA-C:2012 standard and then picks checkers from afile.xml.
Basically, -checkers-activation-file is the new, improved way of specifying checkers. The older option -checkers-selection-file is there for compatibility reasons and might be removed at some point.
댓글 수: 0
참고 항목
카테고리
Help Center 및 File Exchange에서 Bug Finder Analysis에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!