You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@maven.apache.org by "Michael Osipov (Jira)" <ji...@apache.org> on 2023/06/11 17:17:00 UTC
[jira] [Closed] (MINVOKER-345) Use ChoiceFormat to selectively render percentage and elapsed time in InvokerReportRenderer
[ https://issues.apache.org/jira/browse/MINVOKER-345?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Michael Osipov closed MINVOKER-345.
-----------------------------------
Resolution: Fixed
Fixed with [3df7c384accf3489122a7f17995c778755d7ba88|https://gitbox.apache.org/repos/asf?p=maven-invoker-plugin.git;a=commit;h=3df7c384accf3489122a7f17995c778755d7ba88].
> Use ChoiceFormat to selectively render percentage and elapsed time in InvokerReportRenderer
> -------------------------------------------------------------------------------------------
>
> Key: MINVOKER-345
> URL: https://issues.apache.org/jira/browse/MINVOKER-345
> Project: Maven Invoker Plugin
> Issue Type: Improvement
> Affects Versions: 3.5.1
> Reporter: Michael Osipov
> Assignee: Michael Osipov
> Priority: Major
> Fix For: 3.6.0
>
>
> This ticket aims to improve this:
> * Get rid of {{NumberFormat}} and use choice format with the resource bundles where the former will do all necessary magic for us
> * Selective scale the percentage to one decimal position if the value is neither 0 nor 100, both will display as integer value only
> * Scale the elapsed time of a test set to exactly four digits including fractional values which improves the harmony of readability (see attachment) and with a increasing decimal position (times 10) one decimal (fractional) position is displayed less, e.g., no one cares about microseconds if your test runs hundreds of seconds.
--
This message was sent by Atlassian Jira
(v8.20.10#820010)