Improve summary message for map conversion outcome

This commit is contained in:
Grahame Grieve 2023-03-24 22:19:37 +11:00
parent 490e588cf3
commit f27d5b3adf
1 changed files with 1 additions and 1 deletions

View File

@ -113,7 +113,7 @@ public class R4R5MapTester implements IValidatorResourceFetcher {
public String summary() {
if (errors.size() == 0) {
return "All OK";
return "All OK (~"+(elements == 0 ? "n/a" : ((lostElements * 100) / elements))+"% lost in "+total+" examples)";
} else {
return String.join(", ", errors);
}