Update code coverage to work with drupal 7 unstable 9

R.Muilwijk - September 17, 2009 - 14:40
Project:Code coverage
Version:7.x-1.x-dev
Component:Code
Category:bug report
Priority:critical
Assigned:R.Muilwijk
Status:needs review
Description

Attached is a patch to allow code coverage on drupal 7 unstable. I have only checked the HTML report.

@cwgordon,
this night I'm running a full coverage report on Core. Do you mind me release this somewhere or are you going to do this again on the initial coverage site?

AttachmentSize
unstable_9.patch12.96 KB

#1

Berdir - September 22, 2009 - 11:07

Updated the patch...

- Fixed some DBTNG stuff
- Improved parsing of the coverage logfile. According to my tests, just the parsing (moving information into $data) is now 2-3x faster and uses *a lot* less memory:

Testing with an 80MB file, Before:
Total time: 234.750s
Memory usage: 170,135,096 bytes

After:
Total time: 89.968s
Memory usage: 10,627,856 bytes

Note that the patch does not patch the coverage.patch file because it's not part of repository anymore.

AttachmentSize
unstable_9.1.patch 11.48 KB
coverage.patch 1.94 KB
 
 

Drupal is a registered trademark of Dries Buytaert.