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.

Comments:

Post a Comment:
Comments are closed for this entry.
About

Tourists looking out over an Opal mine
I'm a Product Manager in Server Technologies, working on scripting languages and developer-access.
Email: christopher.jones@oracle.com
Twitter: http://twitter.com/ghrd
Book: Free PHP Oracle book
Download: PHP Linux RPMs with the OCI8 extension
Links: OTN PHP Developer Center

Search

Archives
« April 2014
SunMonTueWedThuFriSat
  
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
   
       
Today