AppPage.net

About MC/DC Generator

▶ MC/DC Generator builds MC/DC (Modified Condition/Decision Coverage) test cases from the if-conditions of C/C++, Java, JavaScript and Python code.

▶ For N distinct conditions - a singular Boolean expression (SBE), where every condition occurs once - it generates the minimum N+1 Unique-Cause MC/DC cases with the "Robin's Rule" algorithm. Every condition is shown to independently affect the outcome, so the cases suit unit tests of safety-related software (aerospace, automotive, railway, medical devices …).

▶ Two criteria: Unique-Cause / Masking
• Unique-Cause: only the condition under test changes between the two cases (Robin's Rule, N+1 cases)
• Masking: other conditions may change if an operator masks the change. When a condition occurs more than once (`(a && b) || (a && c)`), or conditions on one variable conflict so Unique-Cause would need infeasible cases, every condition is shown with executable cases only

▶ Key features
• Type a condition, e.g. `(a && b) || c` or `a > 10 && !(b <= 5)`, and press Start; the `&&` `||` `!` `( )` `<` `>` `=` buttons insert operators
• Open a source file: every if / else if / while / for / do-while decision (if / elif / while in Python) is listed with its line number - analyse one, each of them, or merge all into one suite (Pro)
• Nested decisions respect their path: for `if (A) { if (B) … }` the cases of B get inputs that make A true; cases that can never run are marked "unreachable"
• Arithmetic conditions are solved for the variable: for `a + 5 >= 10` the input goes to `a` (5 / 4); `10 - cnt > 3` and `x * 3 >= 10` too
• De Morgan's laws and reordering: `!(a || b)` and other negations are handled
• Results as tables: Test Suite (T/F per condition) and Input Data (actual values per variable), with the MC/DC check (PASS / FAIL), expected MC/DC coverage and the reason for every FAIL
• Tap FAIL to jump to that decision, list only decisions that need attention, search the analysis log
• Save the result as .txt, the input data as .csv (Excel-compatible)
• Decimal constants (2.5) and a variable on the right (50 < c) are supported

▶ Supported expressions
• Logical operators `&&`, `||`, `!` with parentheses and comparisons `<`, `<=`, `>`, `>=`, `==`, `!=`. XOR, bitwise and ternary operators are not supported.
• N+1 cases are guaranteed for Unique-Cause MC/DC when the expression is an SBE. If a condition appears twice (`a && (a || b)`), Unique-Cause shows a warning, while Masking changes all its occurrences together. A condition that can never change the outcome (b above) is reported as FAIL by name.
• Python's and / or / not / is / in are converted (`a < b < c` becomes two conditions); C++ and / or / not, Java's instanceof and JavaScript's === are read as they are.

▶ How to use
1. Enter a condition or open a source file (.c · .cpp · .java · .js · .py).
2. Pick the criterion and press Start - the cases appear as a table.
3. Save from the menu : Save txt / Save csv.

▶ Free / Pro
• Free: no limit on the number of conditions, source files (one decision or each decision), .txt export, .csv export after watching an ad, a small banner ad.
• Pro (one-time purchase): combined analysis (every decision of a file merged into one suite), .csv export with per-variable inputs and the expected outcome, no ads. Google Play shows the price in your local currency; the purchase is tied to your Google account and restores on any device.

▶ Notice (limitation of liability)
• The generated cases and verification results are an aid to test design. Review them before use; you are responsible for how they are used.
• The app is provided "as is", without warranty of accuracy, completeness or fitness for a purpose; to the extent permitted by law, we are not liable for damage arising from its use.
• This is not a qualified or certified tool and is not affiliated with any standards or certification body. Conditions and source files are processed on the device only and never sent to a server.

Contact : [email protected]

What’s new

Version 1.11.18.1 · Updated November 17, 2026

Bug fixes and performance improvements.

Alternatives to MC/DC Generator

Looking for apps like MC/DC Generator? Here are 3 similar Android apps on Google Play. The highest rated is ResQ for Techs (5.0/5), and all 3 are free to download.

MC/DC Generator vs. alternatives
App Rating Price Installs Last updated Compare
MC/DC Generator – Free 10+ Nov 17, 2026
EPA 608 Exam Prep & HVAC Test 4.9 / 5 Free 10,000+ Oct 15, 2026 Compare
Momentum by Sohee – Free 1,000+ Nov 1, 2026 Compare
ResQ for Techs 5.0 / 5 Free 5,000+ Nov 3, 2026 Compare

Compare MC/DC Generator with the top alternatives: ratings, updates, ASO score and keyword gaps →

Similar apps on Google Play