bedirhan / wivet

Web Input Vector Extractor Teaser
MIT License
129 stars 36 forks source link

Various issues in functions.php and statistics.php break coverage calculation #5

Closed andresriancho closed 10 years ago

andresriancho commented 10 years ago

Migrated from https://code.google.com/p/wivet/issues/detail?id=17

[Fri Mar 21 17:31:09 2014] PHP Warning: Invalid argument supplied for foreach() in /tmp/wivet-read-only/wivet/functions.php on line 362 [Fri Mar 21 17:31:09 2014] PHP Notice: Undefined index: pageVisits in /tmp/wivet-read-only/wivet/offscanpages/statistics.php on line 145 [Fri Mar 21 17:31:09 2014] PHP Warning: Division by zero in /tmp/wivet-read-only/wivet/offscanpages/statistics.php on line 145 [Fri Mar 21 17:31:09 2014] PHP Warning: Invalid argument supplied for foreach() in /tmp/wivet-read-only/wivet/offscanpages/statistics.php on line 151

With all these, coverage is ALWAYS 0%

andresriancho commented 10 years ago

Fixed during merge to github (@bedirhan added some code there, not just because of the commit)