Question

Is there something equivalent to Sonar for Perl ?

Was it helpful?

Solution

Smolder is a continuous integration framework that runs smoke tests and produces coverage reports, stats, and nice graphs. It accepts TAP input, so anything that can provide this can be plugged in. You can use the various TAP modules to provide integration on the Perl side.

You can also adapt off-the-shelf build systems. Hudson, Cruise Control and BuildBot can all be configured for Perl projects, although feature support will vary (Hudson is a little Java-centric). You can plug them together in different ways. For example, TAP::Harness::JUnit produces JUnit-like output, which can be fed to your tools.

There's also the Devel::Cover module which points out areas of untested code.

Here's an interesting discussion of code coverage in Perl.

OTHER TIPS

For code analysis, you can use PerlCritic

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top