Resolving missing coverage using simulink design verifier and not by using simulink test
2 visualizaciones (últimos 30 días)
Mostrar comentarios más antiguos
Rahul
el 19 de Jun. de 2021
Comentada: Rahul
el 28 de Jun. de 2021
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 comentarios
Respuesta aceptada
Prahladavaradan Sampath
el 20 de Jun. de 2021
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 comentarios
Dharaneedharan Arumugam
el 28 de Jun. de 2021
Hai, is there a way to conevert the CVT data to EXcel? inca se i want to view and analyse the coverage data inexcel?
Más respuestas (0)
Ver también
Categorías
Más información sobre Generate Tests en Help Center y File Exchange.
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!