mc-imperial / dredd

A mutation testing tool designed to work with large C++ (and C) codebases.
Apache License 2.0
13 stars 3 forks source link

Query mutant info not working properly for multi-line statements #308

Closed afd closed 1 month ago

afd commented 3 months ago

Showing info for mutant 138 of the math example (a for loop) doesn't work at present.

JonathanFoo0523 commented 3 months ago

Seems like it work for me? The output is:

Remove statement at math/src/exp.cc, 55:3--57:4

This is the removed statement:

  for (int i = 0; i < Mod(exp); ++i) {
  }
afd commented 2 months ago

The problem is that the body of the loop is not shown (but should be). I'll fix in due course.