如何测量前端代码行数(HTML、CSS、JS、JSP)?
我工作的公司正在接受审计,我必须提供一些有关我们代码库的指标。
我使用一些 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 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
要获取 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"...