有没有与 Perl 的 Sonar 等价的东西? [英] Is there something equivalent to Sonar for Perl?

查看:15
本文介绍了有没有与 Perl 的 Sonar 等价的东西?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

Perl 是否有与 Sonar 等效的东西?

Is there something equivalent to Sonar for Perl ?

推荐答案

Smolder 是一个持续集成框架它运行冒烟测试并生成覆盖率报告、统计数据和漂亮的图表.它接受 TAP 输入,因此可以插入任何可以提供此功能的内容.您可以使用各种TAP 模块在 Perl 端提供集成.

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.

您还可以调整现成的构建系统.哈德森, Cruise ControlBuildBot 都可以为 Perl 项目配置,尽管功能支持会有所不同(Hudson 有点以 Java 为中心).您可以通过不同的方式将它们连接在一起.例如,TAP::Harness::JUnit 产生类似 JUnit 的输出,可以提供给您的工具.

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.

还有 Devel::Cover 模块,它指出了未经测试的代码区域.

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

这是关于 Perl 中代码覆盖率的一个有趣的讨论.

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

这篇关于有没有与 Perl 的 Sonar 等价的东西?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆