用于解析 Velocity 模板以检查代码质量的 Sonar 插件

发布于 2025-01-07 14:23:55 字数 205 浏览 2 评论 0原文

是否有任何 Sonar 插件可以解析速度模板以检查代码质量?

我正在使用 Liferay 门户,并且有很多 Liferay 主题,它们使用速度模板作为模板引擎。我想获取那些 Liferay 主题的指标。

我尝试使用 Sonar 获取指标,但问题是它们不解析 .vm 文件。我成功地获得了 Liferay Portlet 的指标,但我被 Liferay 主题困住了。

Is there any Sonar plugin to parse velocity templates to check the code quality?

I am using Liferay portal and I have lot of Liferay themes which uses velocity templates as template engine. I want to get the metrics for those Liferay themes.

I have tried to get the metrics using Sonar, but the problem is they dont parse .vm files. I was successful to get the metrics for Liferay Portlets, but I am stuck with Liferay Themes.

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(1

若相惜即相离 2025-01-14 14:23:55

我们还没有听说过这样的插件,但如果您找到(或编码)一个,请在 Sonar 用户邮件列表中告诉我们,谢谢!

We haven't heard of such a plugin, but if you ever find (or code) one, please let us know on the Sonar user mailing list, thanks!

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文