MantisBT - CDash
View Issue Details
0006798CDashpublic2008-04-14 08:542008-04-15 07:52
Alexandre Ab 
Julien Jomier 
normalminoralways
closedfixed 
0.8 
1.0 
0006798: Warning message when browsing coverage
I have a warning message when I want to watch the coverage of my test in the case of a null coverage (0%). Here is the message :
Warning: Division by zero in CDash/viewCoverage.php on line 71

You should add a test on ($coverage_array["loctested"]+$coverage_array["locuntested"]) to see if it's not null or something like that.

Alex
No tags attached.
Issue History
2008-04-14 08:54Alexandre AbNew Issue
2008-04-14 10:10Julien JomierStatusnew => assigned
2008-04-14 10:10Julien JomierAssigned To => Julien Jomier
2008-04-15 07:52Julien JomierStatusassigned => closed
2008-04-15 07:52Julien JomierNote Added: 0011319
2008-04-15 07:52Julien JomierResolutionopen => fixed
2008-04-15 07:52Julien JomierFixed in Version => 1.0

Notes
(0011319)
Julien Jomier   
2008-04-15 07:52   
Fixed in SVN. Thanks for the report.