Skip to content

Change score calculation from passed/total #89

Open
@Felixoid

Description

@Felixoid

Hello. I've found it a little bit inconvenient to see that skipped and duplicated mutations decrease the scores. https://github.com/zimmski/go-mutesting/blob/master/cmd/go-mutesting/main.go#L154

IMHO, the score should be calculated as in 7ccb9f3, so success / (success + failed). Skipped and duplicated should be still in totals, but not affect the scores.

In other words, I strictly disagree with the following calculation:

The mutation score is 0.586957 (27 passed, 0 failed, 7 duplicated, 19 skipped, total is 46)
The mutation score is 0.466667 (7 passed, 0 failed, 2 duplicated, 8 skipped, total is 15)

Activity

linked a pull request that will close this issue on Sep 10, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

      Development

      Participants

      @Felixoid

      Issue actions

        Change score calculation from passed/total · Issue #89 · zimmski/go-mutesting