Bug 50438 - code calculates average with integer math, expecting double value
Summary: code calculates average with integer math, expecting double value
Status: RESOLVED FIXED
Alias: None
Product: JMeter - Now in Github
Classification: Unclassified
Component: HTTP (show other bugs)
Version: Nightly (Please specify date)
Hardware: All All
: P2 normal (vote)
Target Milestone: ---
Assignee: JMeter issues mailing list
URL:
Keywords:
Depends on:
Blocks:
 
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
Comment 5 The ASF infrastructure team 2022-09-24 20:37:45 UTC
This issue has been migrated to GitHub: https://github.com/apache/jmeter/issues/2438