[Yapcom] test coverage
Gabor Szabo
gabor at perl.org.il
Wed Nov 3 14:27:29 IST 2004
Yesterday, before I started to work on the code I ran test coverage
on the code as it was left about 6 month ago.
I was very happy to see we had this investment in testing:
---------------------------- ------ ------ ------ ------ ------ ------ ------
File stmt branch cond sub pod time total
---------------------------- ------ ------ ------ ------ ------ ------ ------
lib/YAPC/Config.pm 100.0 n/a n/a 100.0 n/a 0.2 100.0
lib/YAPC/DBI.pm 100.0 62.5 n/a 100.0 100.0 3.7 94.7
lib/YAPC/Error.pm 100.0 n/a n/a 100.0 n/a 0.6 100.0
lib/YAPC/Login.pm 100.0 62.5 n/a 100.0 75.0 4.9 92.0
lib/YAPC/Organizer.pm 87.9 51.6 26.3 89.1 9.1 83.7 72.2
lib/YAPC/Person.pm 96.5 83.3 33.3 100.0 75.0 5.5 84.5
lib/YAPC/Talk.pm 98.1 87.5 n/a 90.0 33.3 1.5 92.7
Total 91.6 60.8 27.5 93.2 24.4 100.0 78.5
---------------------------- ------ ------ ------ ------ ------ ------ ------
Things will be so much easier that we can mostly trust our test when
changing the code.
Still one of the tasks should be refactoring the test suit and
further improving coverage.
Gabor
More information about the Yapcom
mailing list