Bug 50438 - code calculates average with integer math, expecting double value
code calculates average with integer math, expecting double value
Status: RESOLVED FIXED
Product: JMeter
Classification: Unclassified
Component: HTTP
Nightly (Please specify date)
All All
: P2 normal (vote)
: ---
Assigned To: JMeter issues mailing list
:
Depends on:
Blocks:
  Show dependency tree
 
Reported: 2010-12-08 23:36 UTC by Dave Brosius
Modified: 2012-01-14 22:42 UTC (History)
2 users (show)



Attachments
patch to use double averaging (554 bytes, patch)
2010-12-08 23:36 UTC, Dave Brosius
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Dave Brosius 2010-12-08 23:36:32 UTC
Created attachment 26380 [details]
patch to use double averaging

SamplingStatCalculator
Comment 1 Sebb 2010-12-09 20:51:00 UTC
Was that found by FindBugs?
Comment 2 Dave Brosius 2010-12-09 21:12:31 UTC
yes
Comment 3 Sebb 2011-10-06 15:17:26 UTC
URL: http://svn.apache.org/viewvc?rev=1044200&view=rev
Log:
Bug 50438 - code calculates average with integer math, expecting double value

Modified:
   jakarta/jmeter/trunk/src/core/org/apache/jmeter/visualizers/SamplingStatCalculator.java
Comment 4 Philippe Mouawad 2012-01-14 22:41:44 UTC
Date: Sat Jan 14 22:40:58 2012
New Revision: 1231598

URL: http://svn.apache.org/viewvc?rev=1231598&view=rev
Log:
Bug 50438 - code calculates average with integer math, expecting double value
Adding to changes (fix made by sebb)

Modified:
   jmeter/trunk/xdocs/changes.xml