Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

> I have no figures to back this up, but I strongly suspect the % of equivalent mutants will be highly dependent on coding style and the domain in which the code operates.

Agreed. In everything I've written, at least, I can identify multiple places where such equivalent mutants do exist, even with just the default operators. (In particular, hashcode methods - there are very few mutators that break the contract of a hashcode method, though removing entropy in most cases) But I can easily see that not being the case with other coding styles.

Are the mutations done documented anywhere? I had to look through the source to see what's done.



The mutators are documented at http://pitest.org/quickstart/mutators/




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: