Firefox Browser Add-ons
  • Extensions
  • Themes
    • for Firefox
    • Dictionaries & Language Packs
    • Other Browser Sites
    • Add-ons for Android
Log in
Preview of 代码计数工具

代码计数工具 by chuanyu

统计代码文件和文件夹的行数,支持多种编程语言

0 (0 reviews)0 (0 reviews)
Download Firefox and get the extension
Download file

Extension Metadata

Screenshots
About this extension
代码计数器 (Code Counter) - 专为开发者打造的轻量级代码统计工具

这是一款安全、高效、完全在本地运行的 Chrome 插件,旨在帮助开发者、项目经理和审计人员快速统计代码量与分析项目结构。

主要功能:

单文件统计: 支持通过拖拽、上传或直接粘贴代码,快速计算总行数、纯代码行数、注释行数和空行数。

文件夹深度遍历: 支持一键选择本地项目文件夹,递归遍历所有子文件夹及文件。

多语言智能识别: 自动识别 Javascript, TypeScript, Python, Java, C++, Go, HTML, CSS, Vue 等数十种常见编程语言的注释规则(如 //, #, / /)。

智能过滤机制: 默认自动忽略 node_modules, .git, dist, build 等无关文件夹,支持自定义过滤规则。

可视化数据报告: 按文件类型(后缀)分类统计并展示占比,生成清晰的代码量前 10 文件排行榜。

隐私与安全:

100% 本地运行: 插件不设任何后端服务器,所有的文件读取、解析和计数过程完全在您的浏览器本地进行。

绝对隐私: 您的代码绝不会被上传到任何网络,100% 保护您的企业源码与知识产权安全。
Rated 0 by 0 reviewers
Sign in to rate this extension
There are no ratings yet

Star rating saved

5
0
4
0
3
0
2
0
1
0
No reviews yet
Permissions and data

Required data collection, according to the developer:

  • Browsing activity
Learn more
More information
Add-on Links
  • Support site
  • Support Email
  • Copy add-on ID
Version
1.0.2
Size
137.54 KB
Last updated
18 days ago (Jun 6, 2026)
Related Categories
  • Web Development
License
Mozilla Public License 2.0
Privacy Policy
Read the privacy policy for this add-on
Version History
  • See all versions
Add to collection
Report this add-on
Go to Mozilla’s homepage

Add-ons

  • About
  • Firefox Add-ons Blog
  • Extension Workshop
  • Developer Hub
  • Developer Policies
  • Community Blog
  • Forum
  • Report a bug
  • Review Guide

Browsers

  • Desktop
  • Mobile
  • Enterprise

Products

  • Browsers
  • VPN
  • Relay
  • Monitor
  • Pocket
  • Bluesky (@firefox.com)
  • Instagram (Firefox)
  • YouTube (firefoxchannel)
  • Privacy
  • Cookies
  • Legal

Except where otherwise noted, content on this site is licensed under the Creative Commons Attribution Share-Alike License v3.0 or any later version.