如何测量前端代码行数(HTML、CSS、JS、JSP)?

发布于 2024-12-05 01:44:11 字数 156 浏览 5 评论 0原文

我工作的公司正在接受审计,我必须提供一些有关我们代码库的指标。

我使用一些 Eclipse 插件提供了有关 Java 代码的一些统计数据。

但我还需要测量前端代码行数:HTML、CSS、JS、JSP。

有(Windows)工具可以帮助解决这个问题吗?

The company I work for is being audited and I have to provide some metrics on our codebase.

I have provided some statistics on our Java code using some plugins for Eclipse.

But I also need to measure lines of front-end code: HTML, CSS, JS, JSP.

Is there a (Windows) tool that would help with this?

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

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

发布评论

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

评论(1

若水般的淡然安静女子 2024-12-12 01:44:11

要获取 JS 和 HTML 中 javascript 的代码度量,您可以使用 ProjectCodeMeter (它将为您提供 LOC、常量、复杂性、算术甚至开发时间),但是对于 CSS 和 HTML 标记我不知道任何测量工具,当我想到时,这些大多是由 DreamWeaver 或 CMS 模板等编辑器生成的,所以它们并不是真正的“代码行” “……

for getting code metrics of javascript inside JS and HTML you can use ProjectCodeMeter (it will give you LOC, constants, complexity, arithmetic and even development time), but for CSS and HTML markup i don't know any measurement tool, when i think of it, these are mostly generated by editors like DreamWeaver or CMS templates, so they're not really "lines of code"...

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