项目摘要 - 源代码行

发布于 2024-09-03 11:57:34 字数 314 浏览 2 评论 0原文

我正在寻找一个工具,可以计算我的 PHP 和 JavaScript 项目的文件数、行数(带或不带注释)以及可能的其他统计信息。

注意:

  • 我已经找到了SLOCCount,它看起来相当不错。它需要 Cygwin。

  • 是的,我可以为基本信息编写一个简单的脚本,但我正在寻找更复杂的东西。

您知道 Windows 的替代品吗?

谢谢!

I'm looking for a tool that would count the number of files, the number of lines (with or without comments) and possibly other statistics for my project in PHP and JavaScript.

Notes:

  • I've already found SLOCCount which seems quite nice. It requires Cygwin.

  • Yes, I can wrote a simple script for basic information but I'm looking for something more complex.

Do you know about alternatives for Windows?

Thanks!

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

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

发布评论

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

评论(1

2024-09-10 11:57:34

cloc 是一个非常好的 Perl 脚本(也可以在独立的 Windows 可执行文件中使用),它可以分解多少行您的文件中有空白、注释或实际来源。它还按文件类型显示这些统计信息。

cloc is a very nice Perl script (available in a standalone Windows executable too) that will break down how many lines of your files are blank, comments, or actual source. It also shows those statistics by file type.

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