MantisBT - CDash
View Issue Details
0009295CDashpublic2009-07-22 12:012010-02-21 12:32
Rolf Eike Beer 
Julien Jomier 
normalminorhave not tried
closedfixed 
 
1.6 
0009295: "Time spent per project" only tracks last build
I have two hosts doing continuous build all the day. Since we worked a bit on the setup and other things they are far from 100% coverage for this project in the last 24 hours but they show up as only 3% and 5% which is _way_ too low. Here are the last time reports:

host1 (3%):

40.6 2009-07-22T16:06:05 CEST
40.5 2009-07-22T12:04:13 CEST
41.1 2009-07-22T09:47:16 CEST
42.3 2009-07-22T07:01:22 CEST
42.3 2009-07-22T05:46:22 CEST
41.6 2009-07-22T04:32:12 CEST
41.6 2009-07-22T03:17:47 CEST

host2 (5%):
66.5 2009-07-22T16:14:40 CEST
66.4 2009-07-22T13:51:47 CEST
66.5 2009-07-22T12:01:22 CEST
66.7 2009-07-22T09:34:03 CEST
No tags attached.
Issue History
2009-07-22 12:01Rolf Eike BeerNew Issue
2009-11-16 14:50Julien JomierStatusnew => assigned
2009-11-16 14:50Julien JomierAssigned To => Julien Jomier
2009-11-16 15:00Julien JomierNote Added: 0018453
2009-11-16 15:00Julien JomierStatusassigned => resolved
2009-11-16 15:00Julien JomierFixed in Version => 1.6
2009-11-16 15:00Julien JomierResolutionopen => fixed
2010-02-21 12:32Julien JomierStatusresolved => closed

Notes
(0018453)
Julien Jomier   
2009-11-16 15:00   
Thanks for the report. Now the SQL query performs the sum of the builds over a week and the average (divided by 7) is done in PHP. The only drawback is if the site has not been submitting for quite sometimes but it should work in most of the cases.