[EMAIL PROTECTED] wrote:
Leif Eriksen wrote:
Can this be right ?
<snip>
----------------------------------- ------ ------ ------ ------ ------ ------
File stmt branch cond sub time total
----------------------------------- ------ ------ ------ ------ ------ ------
blib/lib/DBD/mysql.pm 71.9 42.3 38.6 75.9 12.0 60.1
blib/lib/DBD/mysql/GetInfo.pm 70.6 n/a n/a 62.5 0.9 68.0
blib/lib/Mysql.pm 67.3 42.3 40.0 59.5 82.6 60.2
blib/lib/Mysql/Statement.pm 38.5 36.1 0.0 70.8 4.5 40.3
Total 62.5 41.1 33.8 67.3 100.0 56.0
----------------------------------- ------ ------ ------ ------ ------ ------
<snip>
That being said, as Michael said, the coverage on Mysql::Statement is quite low and is pulling down the overall average.
OK, but if we remove that, the Stmt goes to ~70% wich is still shockingly low for such an important module. It is also very distressing that the Sub column isnt at 100% - why you would go to the effort of writing test cases and not at least call every method/function is beyond me.
And I'll start on this as soon as I finish C::DBI coverage....
-- Leif Eriksen Snr Developer http://www.hpa.com.au/ phone: +61 3 9217 5545 email: [EMAIL PROTECTED]