View Issue Details
|ID||Project||Category||View Status||Date Submitted||Last Update|
|0023627||mantisbt||feature||public||2017-11-12 23:08||2018-02-06 21:17|
|Priority||normal||Severity||minor||Reproducibility||have not tried|
|Target Version||2.11.0||Fixed in Version||2.11.0|
|Summary||0023627: Summary page enhancement with bugs ratio support|
In summary page, it is helpfull to add two columns as in manageri's veiw, in by_project, by_enum, by_developer and by_reporter summary tables: resolved bug ratio, i.e. (resolved + closed)/total *100%, and item ratio, i.e. (item total)/(sum of total bugs).
|Tags||No tags attached.|
MantisBT: master 1c2b9340
Committer: dregad Details Diff
|Summary: added bugs ratio and resolved ratio
In summary page, added two columns in by_project, by_enum, by_developer
and by_reporter summary tables:
- resolved bug ratio, i.e. (resolved + closed)/total * 100%
- item ratio, i.e. (item total)/(sum of total bugs).
A new 'summary_header' string variable was added in replacement of the
old 'orct' one, to support the 2 new columns; structure and processing
of this string was changed from the original, it is no longer wrapped in
parenthesis, so it can be parsed with a simple explode() call instead of
relying on preg_split().
This commit is a squash of rainflood's original work, following
discussion in PR https://github.com/mantisbt/mantisbt/pull/1231,
including some adjustments by dregad.
Note: the change includes refactoring of the original code, to reduce
duplication, remove useless code and simplify it.
Signed-off-by: Damien Regad <firstname.lastname@example.org>
|mod - core/summary_api.php||Diff File|
|mod - lang/strings_english.txt||Diff File|
|mod - summary_page.php||Diff File|