Quantcast

'Last 12 Months' stats are not static

classic Classic list List threaded Threaded
4 messages Options
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

'Last 12 Months' stats are not static

Mike Purcell
Running the same report from day to day yields different results for developer's 12-month history.  The data below is a snippet from two different day's reports on the same user.  I can understand why the current month (10/2011) might be different, but why do the previous months' data keep changing?

report from 2011_10_24:
         5/2011 6/2011 7/2011 8/2011   9/2011   10/2011
user1 686 (1.6%) 106 (0.5%) 140 (1.0%) 1502 (6.4%)  1245 (4.9%) 3447 (27.9%)
user2 1295 (3.0%)1954 (8.7%)1 (0.0%) 5847 (24.8%) 0 (0.0%)     0 (0.0%)

report from 2011_10_22:
         5/2011 6/2011 7/2011 8/2011 9/2011   10/2011
user1 746 (1.6%) 153 (0.7%) 37 (0.1%) 2145 (7.9%) 690 (2.8%)   3460 (25.6%)
user2 1295 (2.8%)1954 (8.8%)1 (0.0%) 6016 (22.2%)0 (0.0%)      0 (0.0%)
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: 'Last 12 Months' stats are not static

jkealey@lavablast.com
>From what I can see in StatCVS AbstractRollingLocTableReport.calculateChangesAndLinesPerDeveloper, it starts with the latest commit date and goes back 12 months from that date.

And, looking at findMap, it appears it assigns the cell based on the diff in number of months between the last date and the commit's date. Therefore, Each cell isn't from the 1st to the last day in the month but rather offset related to the last commit date. 

PS: Not saying that it is the best way to do things - I find it confusing too. 

Hope this helps,
---
Jason Kealey, Ing. - [hidden email]
FranchiseBlast, franchise software - http://www.franchiseblast.com
Simplifying day-to-day franchise operations


On Wed, Oct 26, 2011 at 2:04 PM, Mike Purcell <[hidden email]> wrote:
Running the same report from day to day yields different results for
developer's 12-month history.  The data below is a snippet from two
different day's reports on the same user.  I can understand why the current
month (10/2011) might be different, but why do the previous months' data
keep changing?

report from 2011_10_24:
        5/2011          6/2011         7/2011  8/2011     9/2011          10/2011
user1 686 (1.6%) 106 (0.5%)     140 (1.0%) 1502 (6.4%)  1245 (4.9%) 3447 (27.9%)
user2 1295 (3.0%)1954 (8.7%)1 (0.0%)    5847 (24.8%) 0 (0.0%)     0 (0.0%)

report from 2011_10_22:
        5/2011          6/2011         7/2011  8/2011   9/2011            10/2011
user1 746 (1.6%) 153 (0.7%) 37 (0.1%)   2145 (7.9%) 690 (2.8%)   3460 (25.6%)
user2 1295 (2.8%)1954 (8.8%)1 (0.0%)    6016 (22.2%)0 (0.0%)      0 (0.0%)

--
View this message in context: http://statsvn.1260.n2.nabble.com/Last-12-Months-stats-are-not-static-tp6933681p6933681.html
Sent from the StatSVN Users mailing list archive at Nabble.com.

------------------------------------------------------------------------------
The demand for IT networking professionals continues to grow, and the
demand for specialized networking skills is growing even more rapidly.
Take a complimentary Learning@Cisco Self-Assessment and learn
about Cisco certifications, training, and career opportunities.
http://p.sf.net/sfu/cisco-dev2dev
_______________________________________________
Statsvn-users mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/statsvn-users


------------------------------------------------------------------------------
The demand for IT networking professionals continues to grow, and the
demand for specialized networking skills is growing even more rapidly.
Take a complimentary Learning@Cisco Self-Assessment and learn
about Cisco certifications, training, and career opportunities.
http://p.sf.net/sfu/cisco-dev2dev
_______________________________________________
Statsvn-users mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/statsvn-users
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: 'Last 12 Months' stats are not static

Mike Purcell
So, if I understand you correctly, assuming someone has checked in code on the 1st of each month and  I run a report on the 1st of every month, I should be able to get a higher degree of correlation from report-to-report?
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: 'Last 12 Months' stats are not static

jkealey@lavablast.com
Based on my very quick checks, yes. However, you *might* run into problems based on month lengths (28 days to 31 days) - I have not looked at the Java reference for the code used by this functionality.

From what I can see, the code should be fairly easy to patch to make it work as we'd initially expect. Feel free to contribute a patch if you invest the time required!

Thanks,
---
Jason Kealey, Ing. - [hidden email]
FranchiseBlast, franchise software - http://www.franchiseblast.com
Simplifying day-to-day franchise operations


On Wed, Oct 26, 2011 at 8:47 PM, Mike Purcell <[hidden email]> wrote:
So, if I understand you correctly, assuming someone has checked in code on
the 1st of each month and  I run a report on the 1st of every month, I
should be able to get a higher degree of correlation from report-to-report?

--
View this message in context: http://statsvn.1260.n2.nabble.com/Last-12-Months-stats-are-not-static-tp6933681p6934775.html
Sent from the StatSVN Users mailing list archive at Nabble.com.

------------------------------------------------------------------------------
The demand for IT networking professionals continues to grow, and the
demand for specialized networking skills is growing even more rapidly.
Take a complimentary Learning@Cisco Self-Assessment and learn
about Cisco certifications, training, and career opportunities.
http://p.sf.net/sfu/cisco-dev2dev
_______________________________________________
Statsvn-users mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/statsvn-users


------------------------------------------------------------------------------
The demand for IT networking professionals continues to grow, and the
demand for specialized networking skills is growing even more rapidly.
Take a complimentary Learning@Cisco Self-Assessment and learn
about Cisco certifications, training, and career opportunities.
http://p.sf.net/sfu/cisco-dev2dev
_______________________________________________
Statsvn-users mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/statsvn-users
Loading...