Skip to content

Commit

Permalink
Adding filename and index to the mutation report
Browse files Browse the repository at this point in the history
  • Loading branch information
oscarlvp committed Apr 24, 2019
1 parent 9bf6fd6 commit f727e5b
Showing 1 changed file with 4 additions and 0 deletions.
Expand Up @@ -59,6 +59,10 @@ public void handleMutationResult(ClassMutationResults classMutationResults) {
report.writeAttribute("detected", status.isDetected());
report.writeAttribute("status", status.name());
report.writeAttribute("mutator", details.getMutator());
report.writeAttribute("line", details.getLineNumber());
report.writeAttribute("block", details.getBlock());
report.writeAttribute("file", details.getFilename());
report.writeAttribute("index", details.getFirstIndex()); // Saving only the first index

report.beginObjectAttribute("method");
report.writeAttribute("name", method);
Expand Down

0 comments on commit f727e5b

Please sign in to comment.