Calculations for stat graph?
From: Carsten Johnsen <cjo_at_kirktelecom.com>
Date: 2006-07-14 11:07:42 CEST
Hi dev@
I was looking at the stat graph today and something looks wrong to me...
The first thing I did was to upgrade to latest nightly: TortoiseSVN 1.4.0, Build 7023 - 32 Bit -dev
The problem:
I've used the TortoiseSVN repo for the example, so it should be easily reproduceable.
Rightclick TSVN trunk and chose "show log..."
Graph Log Delta
It looks like Q1/05 and Q1/06 are correct, but the three other quarters are wrong (this looks to be the case no matter what year I focus on). When looking at a full year the value looks to be OK.
I've done a bit of digging, and I found out that when looking at the log from 2005-04-01 and 1048 commits ahead (equals Q2/05 in the graph) this number is reached at 2005-07-31 sĺ the graph counts in an extra month (M4/05-M7/05)
Unfortunately I'm no expert at C++ (I normally deal with Delphi), so I'm no good at correcting this myself, but I tried to make the report as accurate as possible.
If you need any more information please let me know, and I will be happy to help.
Btw: I like the new view with the dynamic increment on the X-axis - esspecially now that the labels are correct :o)
Best regards / Venlig hilsen,
Carsten Johnsen
---------------------------------------------------------------------
|
This is an archived mail posted to the TortoiseSVN Dev mailing list.
This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.