Improve summary message for map conversion outcome
This commit is contained in:
parent
490e588cf3
commit
f27d5b3adf
|
@ -113,7 +113,7 @@ public class R4R5MapTester implements IValidatorResourceFetcher {
|
||||||
|
|
||||||
public String summary() {
|
public String summary() {
|
||||||
if (errors.size() == 0) {
|
if (errors.size() == 0) {
|
||||||
return "All OK";
|
return "All OK (~"+(elements == 0 ? "n/a" : ((lostElements * 100) / elements))+"% lost in "+total+" examples)";
|
||||||
} else {
|
} else {
|
||||||
return String.join(", ", errors);
|
return String.join(", ", errors);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue