Donate Share

Java Stopwatch

Tracker: Bugs

5 Report precision and units - ID: 2032511
Last Update: Settings changed ( azzazzel )

This is arguably two bugs, but equally arguably one.

A sample report:

Group="default" Label="render" Count=110 Min=14.0 Avg=107.0
Max=404.0 Total=11844.0


The count is fine, but the rest of the numbers aren't. Firstly, what are
the units? I presume milliseconds, but that's really only a guess.

Secondly, why the ".0"? 11844/110 is 107.67... so clearly what's happening
here is that integers are being displayed as having more precision than
they do.

Either of the following would be correct:

Group="default" Label="render" Count=110 Min=14ms Avg=108ms
Max=404ms Total=11844ms

Group="default" Label="render" Count=110 Min=14ms Avg=107.7ms
Max=404ms Total=11844ms

And I could excuse

Group="default" Label="render" Count=110 Min=14ms Avg=107ms
Max=404ms Total=11844ms

But to display significant figures which haven't been calculated is wrong.


Peter Taylor ( pjt33 ) - 2008-07-30 09:46

5

Closed

Fixed

Milen Dyankov

core

None

Public


Comment ( 1 )

Date: 2008-11-11 16:57
Sender: azzazzelProject AdminAccepting Donations

Fixed in trunk.
Will be in version 0.4 which should be ready soon.


Attached File

No Files Currently Attached

Changes ( 5 )

Field Old Value Date By
category_id GUI 2008-11-11 21:08 azzazzel
status_id Open 2008-11-11 16:53 azzazzel
resolution_id None 2008-11-11 16:53 azzazzel
close_date - 2008-11-11 16:53 azzazzel
assigned_to nobody 2008-09-09 15:24 azzazzel