Does Clover Measure MC/DC Coverage?

Linghuan Hu October 28, 2014

Dear all,

I noticed that the official documents says

"Clover measures three basic types of coverage analysis:

Statement

Statement coverage measures whether each statement is executed.

Branch

Branch coverage (sometimes called Decision Coverage) measures which possible branches in flow control structures are followed. Clover does this by recording if the boolean expression in the control structure evaluated to both true and false during execution.

In Groovy code, Clover also treats Elvis expressions (a :? b), safe method calls (a?.b()), safe property calls (a?.b) and safe attribute calls (a?.@b) as branches.

Method

Method coverage measures if a method was entered at all during execution.

"

I just wondering does Clover measure other coverage metrics like MC/DC (Modified Condition Decision Coverage)?

Thanks!

1 answer

0 votes
Marek Parfianowicz
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
December 22, 2014

No. Clover does not measure MC/DC.

I know only one tool capable of this - http://codecover.org/

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events