« December 11, 2006 | Main | December 21, 2006 »

December 19, 2006 Archives

December 19, 2006

OCI8 is Leading DB Driver Code Coverage Numbers

Nuno Lopes has been putting much needed work into PHP code coverage,  adding new tests and working on the test system.

A week or so ago he enabled oci8 tests on PHP's Test and Code Coverage Analysis system.  The PHP 5.2 Code Coverage numbers are in good shape for the oci8 extension. The work done on re-factoring the extension and its subsequent maintenance mostly by Antony Dovgal is commendable.

On the 2006-12-19 run, oci8 extension code coverage was ahead of the other DB drivers listed.

ext/oci877.4 %
ext/sqlite68.2 %
ext/mysqli61.1 %
ext/pgsql58.4 %
ext/dbase35.0%
ext/mysql26.8 %

Update: The drivers for Oracle's Berkeley DB actually come in second at 76.8% coverage in combined total.

While all these drivers may get plenty of real world testing when a new PHP version is released, having good coverage is key to early detection of problems during the development cycle. Please help PHP by contributing tests.

About December 2006

This page contains all entries posted to Christopher Jones on OPAL in December 2006. They are listed from oldest to newest.

December 11, 2006 is the previous archive.

December 21, 2006 is the next archive.

Many more can be found on the main index page or by looking through the archives.

Powered by
Movable Type and Oracle