Reading database from /home/pjcj/g/perl/svk/dc/cover_db ------------------------------------------ ------ ------ ------ ------ ------ File stmt bran cond sub total ------------------------------------------ ------ ------ ------ ------ ------ tests/t1 100.0 n/a n/a 100.0 100.0 Total 100.0 n/a n/a 100.0 100.0 ------------------------------------------ ------ ------ ------ ------ ------ Run: ... Perl version: ... OS: ... Start: ... Finish: ... tests/t1 line err stmt bran cond sub code 1 #!/usr/bin/perl 2 3 # Copyright 2002-2007, Paul Johnson (pjcj@cpan.org) 4 5 # This software is free. It is licensed under the same terms as Perl itself. 6 7 # The latest version of this software should be available from my homepage: 8 # http://www.pjcj.net 9 10 use strict; 11 use warnings; 12 13 1 my @x; 14 15 sub xx 16 { 17 1 1 $x[shift]++; 18 } 19 20 1 xx(4); Covered Subroutines ------------------- Subroutine Count Location ---------- ----- ----------- xx 1 tests/t1:17