Resolving missing coverage using simulink design verifier and not by using simulink test
2 ビュー (過去 30 日間)
古いコメントを表示
I have a complex stateflow subsystem which has given me less coverage while using simulink coverage and simulink design verifer license. Is there any formal method to resolve the missing coverage without using simulink Test license nor do I use reactis license
My approaches so far
I have even tried generating multiple .cvt files (coverage files) but thats not helping me to maximise the coverage.
Does entering range of min and max values of inputs help to maximise the coverage.
0 件のコメント
採用された回答
Prahladavaradan Sampath
2021 年 6 月 20 日
Simulink Test will help you manage and construct a test-suite - I am not sure it will help you in achieving coverage on its own. For example, Simulink Test can help if you want to manually author test-case in additio to auto-generating test-cases from Simulink Design Verifier, or if you want to manage test-suites across multiple components (models/subsystems etc.), and automate test-execution, coverage measurement etc.
Have you tried identifying dead-logic in the state-chart? Are there "unsatisfiable" objectives in the chart? Have you analyzed the chart for design-errors?
Entering min-max values for inputs would make the formal analysis problem more tractable, it can convert some "undecided" objectives into "satisfied". But you do need to be careful that the ranges reflect the actual intended usage of the stateflow chart. If you over-constrain the ranges, some objectives in the chart may become unsatisfiable.
Could you also clarify the workflow you are using with cvt files? The cvt files save coverage data in a file, and by themselves would not help maximizing coverage.
5 件のコメント
Dharaneedharan Arumugam
2021 年 6 月 28 日
Hai, is there a way to conevert the CVT data to EXcel? inca se i want to view and analyse the coverage data inexcel?
その他の回答 (0 件)
参考
カテゴリ
Help Center および File Exchange で Generate Tests についてさらに検索
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!