You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Given the code coverage of 65%, there is a 18% difference so Code Coverage was a terrible quality measurement in this example.
I don't get where the 65% comes from. I guess it's just used as an example here. The "the" in the sentence feels like we've seen it before.
I don't understand the relation between the 18% difference and the conclusion of code coverage being a terrible quality measurement.
I can feel that there might be some relation between escaping mutants and code coverage, but I'm unable to formulate it properly in my head. Can someone help me with this?
Not really important for now, just to keep it in mind: 18% should probably be 18 points here, like later in the documentation.
I also have trouble with Mutation Code Coverage, mostly because I'm not sure what a not covered mutant is. My bet is that it's a mutant which mutation is on a line that tests do not cover. Is it correct?
Thanks in advance for your help.
Have a great day
The text was updated successfully, but these errors were encountered:
You have a point. The math there is the following:
A project has code coverage of 67% (we take this number from MCC, which is assumed to be about same the usual coverage).
And MSI of 47% means that tests verifiably test only 47% of the code.
This means there's a 20% difference between "estimated" and "proven" code coverage.
If you can make this and other sections more clear, you're very much welcome.
My bet is that it's a mutant which mutation is on a line that tests do not cover. Is it correct?
Hi all,
First, thanks for the great project.
I've been reading the metrics explanation several times, and I have difficulty understanding the part related to coverage.
Can someone help me clarify some points?
After the discussion, if we feel that we can improve this part once done, I'll be glad to create a PR.
About the MSI, the documentation says:
I don't get where the 65% comes from. I guess it's just used as an example here. The "the" in the sentence feels like we've seen it before.
I don't understand the relation between the 18% difference and the conclusion of code coverage being a terrible quality measurement.
I can feel that there might be some relation between escaping mutants and code coverage, but I'm unable to formulate it properly in my head. Can someone help me with this?
Not really important for now, just to keep it in mind: 18% should probably be 18 points here, like later in the documentation.
I also have trouble with Mutation Code Coverage, mostly because I'm not sure what a not covered mutant is. My bet is that it's a mutant which mutation is on a line that tests do not cover. Is it correct?
Thanks in advance for your help.
Have a great day
The text was updated successfully, but these errors were encountered: