18 lines (14 with data), 624 Bytes
# Unfortunately, Build testcover reports test coverage wrong.
# To get a complete coverage report, just run this file as a shell script
# on a linux box (or execute the equivalent commands on another OS):
# Note that this shell script requires Devel::CoverX::Covered - if you
# don't have it, comment out the line noted below
find . -type f -name '*.t' | xargs -n 1 /usr/bin/perl -MDevel::Cover=-silent,1,-summary,0 -I../lib > /dev/null
cover -ignore_re \.t$ -ignore_re ^lib -coverage="statement" -coverage=condition -coverage=subroutine -coverage="branch"