Simulink Test를 통한 Function & Function Call Coverage 측정 방법 문의
8 visualizzazioni (ultimi 30 giorni)
Mostra commenti meno recenti
현재 Simulink Test Tool을 이용 중인데, 해당 Tool로 MC/DC Coverage외에
Function Coverage 및 Function Call Coverage도 측정 가능한지 문의드립니다.
가능하다면 방법도 문의드립니다.
감사합니다.
0 Commenti
Risposte (1)
Amish
il 12 Set 2023
제 언어 제한으로 인해 귀하의 질문에 영어로 답변해 드리겠습니다. 난 당신이 이해 바랍니다.
Hi Jinseop,
I understand that you are looking to know if it is possible to calculate Function Coverage and Function Call Coverage and how to do it if possible.
From R2017b onwards, it is indeed possible to calculate them. Although you need to use the SIL mode or PIL mode to do so.
Here is a small description about them, according to the release notes:
• Function Coverage: Function coverage determines whether all the functions of your code have been called during simulation.
• Function Call Coverage: Function call coverage determines whether all function calls in your code have been executed.
These metrics are reported in the top-level Summary and in the Details section of the HTML Coverage Report when you record code coverage.
Here is an example from the Documentation for you: https://in.mathworks.com/help/slcoverage/ug/collect-code-coverage-metrics.html
More details about different code coverage metrics can be found in the documentation at: https://in.mathworks.com/help/slcoverage/ug/types-of-code-coverage.html#mw_94ad9ee4-f7bc-4f9b-a761-232e5a9201fc
Hope this helps.
Regards
Amish
0 Commenti
Vedere anche
Categorie
Scopri di più su Collect Coverage for Models in Help Center e File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!