Saturday, April 16, 2011

Automatic MCDC Test Case Generation Tool

Modified Condition/Decision Coverage (MC/DC) is a code coverage approach, necessary as per DO-178C guidelines to ensure that Level A (Catastrophic) software is tested adequately.

To satisfy the MC/DC coverage criterion, during testing all of the below must be true at least once[1]:

* Each decision tries every possible outcome
* Each condition in a decision takes on every possible outcome
* Each entry and exit point is invoked
* Each condition in a decision is shown to independently affect the outcome of the decision.

Tool is available commercially with added features. Visit 

MCDC Tool

Independence of a condition is shown by proving that only one condition changes at a time.

The most critical (Level A) software, which is defined as that which could prevent continued safe flight and landing of an aircraft, must satisfy a level of coverage called Modified Condition/Decision Coverage (MC/DC).

This MCDC Tool generates MC/DC test cases from input condition. Below is the illustration of the tool functionality:

Eaxmple 1: Boolean Expression: (A and B) or C













Example 2: Boolean Expression: (A or B) and (not(A) or C)) (coupled conditions)














For coupled conditions each condition is treated as different input and test case is generated such that impact on output is just because of one input.

Note: The input expression needs to be non-reducible form. 


Tool is available commercially with added features. Visit  

MCDC Tool


20 comments:

sdh++ said...

Why "tempA1" is used ?

Sandeep said...

coupled condition like 'A' are renamed so that each ones effect can be shown independently (just for better understanding).

Unknown said...

Is the source code available for use?

Sandeep said...

Sorry Taylor, I can update the tool to give output in different format.

Unknown said...

why do we need the 6th set inputs?.

a = 1 b = 1 and c = 0?

Sandeep said...

A and not(A) are considered two different inputs so independence has to be shown for both these input. 3rd set is for A (tempA1) and 6th set for not(A).

Sabarish said...
This comment has been removed by the author.
Unknown said...

Your tool is fine. I need help in building this app, I'm doing my final year project in this so I like to have ur email id.

Deekshit said...

Hello Sandeep as you know in many companies external applications cannot be installed.
Could you kindly provide the source code

Swapnil's said...

Hi
I am not able to download this can you provide any another link for the same.
Thanks
Swap

Tester said...

Hi,

could you provide the source?

Unknown said...

Hello.

Is it possible to export the result table into excel

Sandeep said...

send a mail to sandeeppatil2u@gmail.com, I will provide updated application.

Unknown said...

Hi
is it possible to get source codes?

patlap said...

Very interesting,can i get source code please?

Anonymous said...

Can you please share me mcdc tool to my mail id lokanthreddygangireddy56@gamil.com

Unknown said...

Please share MCDC tool to my mail bhavya.sakalas@gmail.com

beest112 said...

Great tool, works like a charm, would it be possible to get the source code please?

Sid said...

Please share MCDC tool to my mail siddu.sudineni@gmail.com

Sandeep said...

commercially available now. Please follow below link.
https://samhitaengg.com/mc-dc-test-generator/