Borrar filtros
Borrar filtros

Is there a situation where there are too many logical modules that cannot fully cover MCDC?

2 visualizaciones (últimos 30 días)
Each AND has three identical inputs, and controlling one input separately affects the output, but I can only cover the MCDC of one AND; Some==Operators can override conditions, while others cannot, but their inputs are the same. May I ask why?
  3 comentarios
李
el 28 de Sept. de 2023
Each AND is connected to a switch. Is the Multiport Switch you demonstrated also not working? Is there any other way?@Atsushi Ueno
Atsushi Ueno
Atsushi Ueno el 28 de Sept. de 2023
Editada: Atsushi Ueno el 28 de Sept. de 2023
> Is the Multiport Switch you demonstrated also not working?
No, it does not. Because the input of the Multiport Switch is fixed to 1. Any coverage is not measured unless the path leads to the output of the model.
> Is there any other way?
In case of Multiport Switch I demonstrated,
  1. Change Constant value to 1 ("Constant" is the first input of the Multiport Switch)
  2. Input all combinations to the topmost AND block
  3. Change Constant value to 2
  4. Input all combinations to the second AND block
  5. Change Constant value to 3
  6. Input all combinations to the third AND block
  7. ...

Iniciar sesión para comentar.

Respuestas (0)

Categorías

Más información sobre Verification, Validation, and Test en Help Center y File Exchange.

Etiquetas

Productos


Versión

R2020b

Community Treasure Hunt

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

Start Hunting!

Translated by