Is there something equivalent to Sonar for Perl? [

2020-07-06 16:19发布

Is there something equivalent to Sonar for Perl ?

2条回答
家丑人穷心不美
2楼-- · 2020-07-06 16:57

For code analysis, you can use PerlCritic

查看更多
手持菜刀,她持情操
3楼-- · 2020-07-06 17:01

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.

查看更多
登录 后发表回答