Skip to content
Fetching contributors…
Cannot retrieve contributors at this time
31 lines (21 sloc) 1.21 KB
- BEGIN and CHECK blocks and code in modules is not reported.
- Doesn't play nicely with all of Perl's testsuite.
- elsif and else coverage is reported on the same line as the if
statement. This is because perl doesn't store the line number for the
elsif and elses. For the same reason the following warning is
reported on line 1 rather than line 2:
perl -we 'if ($a) {}
elsif ($a + 1) {}'
Use of uninitialized value in addition (+) at -e line 1.
- Pod coverage only reports data for modules, not top level scripts.
This is a limitation in Pod::Coverage.
- Pod coverage does not work well with source filters including Switch.
Line numbers are reported incorrectly.
- If an END block installs another END block it won't be covered. More
generally, any code run after Devel::Cover's END block won't be covered.
- Empty subs will be ignored in Perl 5.8.1.
- inc_sub test fails under bleadperl:
panic: Can't use %- because Tie::Hash::NamedCapture is not available at /usr/local/pkg/bleadperl/lib/5.9.5/i686-linux/B.pm line 244.
CHECK failed--call queue aborted.
panic: Can't use %! because Errno is not available at /usr/local/pkg/bleadperl/lib/5.9.5/i686-linux/B.pm line 244.
END failed--call queue aborted.
Jump to Line
Something went wrong with that request. Please try again.