Statistic returns incorrect average number when escaped hour is less then 1 hour

XMLWordPrintable

    • Type: Bug
    • Resolution: Unresolved
    • Priority: Normal
    • None
    • Affects Version/s: 9.6.4
    • Component/s: None
    • None

      Steps to Reproduce

      1. check its code
        	public double getAverageSessionCount() {
        		return _nsess / getEscapedHours();
        	}
        

      Current Result

      when _nsess = 1, getEscapedHours()= 0.02
      its result is 50, which violate "the average number of sessions being created in an hour"

      Expected Result

      when it's less than an hour, treat it as 1 hour

            Assignee:
            Unassigned
            Reporter:
            hawk
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated: