The leading edge of scripting languages and Oracle Database brought to you by the Data Access Development team

  • php
    December 19, 2006

OCI8 is Leading DB Driver Code Coverage Numbers

Christopher Jones
Senior Principal Product Manager

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/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.

Be the first to comment

Comments ( 0 )
Please enter your name.Please provide a valid email address.Please enter a comment.CAPTCHA challenge response provided was incorrect. Please try again.