tags:

views:

211

answers:

1

Is there something equivalent to Sonar for Perl ?

+7  A: 

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.

ire_and_curses
A small correction: Smolder doesn't actually run your tests (you set that up on your own), but it's really pretty easy to setup.
mpeters