[{"data":1,"prerenderedAt":276},["ShallowReactive",2],{"repo-aldanial-cloc-zh-CN":3,"i18n-aldanial-cloc-zh-CN":273},{"mirrorPool":4,"detail":13,"relatedProjects":168},[5,9],{"key":6,"label":7,"base":8,"type":6},"github","mirror.github","https:\u002F\u002Fgithub.com\u002F",{"key":10,"label":11,"base":12,"type":10},"auto-proxy","mirror.autoProxy","https:\u002F\u002Fgithub.xxlab.tech\u002F",{"owner":14,"repo":15,"repoId":16,"repoUrl":17,"starCount":18,"language":19,"description":20,"languages":21,"screenshots":36,"homepage":37,"pushedAt":38,"ownerAvatar":39,"ownerName":37,"ownerBio":40,"lastSyncTime":41,"lastReleaseTime":42,"tags":43,"license":46,"category":47,"subgroup":48,"releases":49},"AlDanial","cloc",42029482,"https:\u002F\u002Fgithub.com\u002FAlDanial\u002Fcloc",23669,"Perl","cloc counts blank lines, comment lines, and physical lines of source code in many programming languages.",{"Perl":22,"C++":23,"R":24,"Swift":25,"Python":25,"TypeScript":26,"Logtalk":26,"ANTLR":27,"C":27,"Racket":28,"Fortran":28,"TeX":29,"Makefile":29,"GAP":30,"Zig":30,"Shell":31,"MATLAB":31,"Assembly":31,"Linker Script":31,"Idris":32,"Nushell":32,"Java":32,"hoon":32,"Thrift":32,"ReScript":32,"Cangjie":33,"HCL":33,"Haxe":33,"Dockerfile":33,"C3":33,"Xtend":33,"Typst":33,"Forth":33,"P4":33,"TSQL":33,"Lean":33,"Visual Basic 6.0":33,"C#":33,"Astro":33,"Haskell":33,"Odin":33,"PigLatin":33,"Circom":33,"Ruby":33,"Pascal":34,"Jupyter Notebook":34,"Smalltalk":34,"Scheme":34,"Objective-C":34,"Pony":34,"kvlang":34,"Vyper":34,"Clean":34,"Wolfram Language":34,"NetLogo":34,"PLSQL":34,"Imba":34,"Prolog":34,"JavaScript":34,"Cairo":34,"Elixir":34,"SystemVerilog":34,"WGSL":34,"Common Lisp":34,"IL Assembly":34,"JCL":34,"Modelica":34,"Vue":34,"Salt":34,"Fennel":34,"PEG.js":34,"Futhark":34,"OpenEdge ABL":34,"LFE":34,"Nix":34,"GLSL":34,"Meson":34,"RAML":34,"Blueprint":34,"Chapel":34,"Haml":34,"WebAssembly":34,"Raku":34,"Nim":34,"ASP.NET":34,"Go":34,"OpenSCAD":34,"Metal":34,"EJS":34,"Brainfuck":34,"Asymptote":34,"COBOL":34,"Janet":34,"RobotFramework":34,"TLA":34,"MoonBit":34,"Ring":34,"Scala":34,"Gleam":34,"HTML":34,"Gherkin":34,"PHP":34,"Apex":34,"Dhall":34,"Lua":34,"HolyC":34,"Agda":34,"Hare":35,"Cadence":35,"Starlark":35,"DenizenScript":35,"Answer Set Programming":35,"Pkl":35,"Visual Basic .NET":35,"CUE":35,"XSLT":35,"SCSS":35,"F#":35,"Puppet":35,"Nextflow":35,"Carbon":35,"Bicep":35,"Just":35,"Stata":35,"BitBake":35,"Svelte":35,"Euphoria":35,"Wren":35,"SurrealQL":35,"Blade":35,"Open Policy Agent":35,"Mustache":35,"Processing":35,"IDL":35,"Smarty":35,"AppleScript":35,"IGOR Pro":35,"Julia":35,"FreeMarker":35,"Dafny":35,"E":35,"VBA":35,"Clarity":35,"Squirrel":35,"AL":35,"Jai":35,"Brightscript":35,"SourcePawn":35,"LLVM":35,"CodeQL":35,"Jsonnet":35,"Pawn":35,"GDShader":35,"XQuery":35,"Rhai":35,"Slint":35,"Logos":35,"Mako":35,"Slang":35,"Vala":35,"Jinja":35,"Nunjucks":35,"Slim":35,"Kotlin":35,"SWIG":35,"Nickel":35,"templ":35,"Reason":35,"SugarSS":35,"Mojo":35,"APL":35,"Luau":35,"xBase":35,"VBScript":35,"ColdFusion":35,"Tcl":35,"Batchfile":35,"Mathematical Programming System":35,"Elm":35,"OCaml":35,"Isabelle":35,"Groovy":35},70.4,3.4,1.7,1.6,0.9,0.8,0.7,0.6,0.5,0.4,0.3,0.2,0.1,0,[],"","2026-11-13","https:\u002F\u002Favatars.githubusercontent.com\u002Fu\u002F1459933?v=4","Author of Python for MATLAB Development (Apress 2022),\r\nhttps:\u002F\u002Flink.springer.com\u002Fbook\u002F10.1007\u002F978-1-4842-7223-7","2026-11-13T18:00:30.092467+00:00","2026-11-13T05:14:32Z",[15,44,45],"count-lines","programming-language","GPL-2.0","development","代码质量工具",[50,61,71,87,104,119,138,153],{"tag":51,"publishAt":42,"semVer":52,"prerelease":53,"assets":54},"v2.12",[35,35,35],false,[55],{"fileName":56,"sizeMb":57,"sha256":58,"downloadCount":59,"originUrl":60},"cloc-2.12.exe",9.54,"b800034063ae3e3733ce34579d5d74cacd4dc4b842534d3f4b910d5a03ef63b1",209,"https:\u002F\u002Fgithub.com\u002FAlDanial\u002Fcloc\u002Freleases\u002Fdownload\u002Fv2.12\u002Fcloc-2.12.exe",{"tag":62,"publishAt":63,"semVer":64,"prerelease":53,"assets":65},"v2.10","2026-07-04T19:26:14Z",[35,35,35],[66],{"fileName":67,"sizeMb":57,"sha256":68,"downloadCount":69,"originUrl":70},"cloc-2.10.exe","97786c4b5bb71d2be67e42061a2f5d03db73bbf88228f8710001d770e867bbef",27587,"https:\u002F\u002Fgithub.com\u002FAlDanial\u002Fcloc\u002Freleases\u002Fdownload\u002Fv2.10\u002Fcloc-2.10.exe",{"tag":72,"publishAt":73,"semVer":74,"prerelease":53,"assets":75},"v2.08","2026-01-25T01:07:18Z",[35,35,35],[76,81],{"fileName":77,"sizeMb":57,"sha256":78,"downloadCount":79,"originUrl":80},"cloc-2.08.exe","4529557d957ade0dd45746eae10e9c51ee01061bb617eeeab256672faf6e42c6",26684,"https:\u002F\u002Fgithub.com\u002FAlDanial\u002Fcloc\u002Freleases\u002Fdownload\u002Fv2.08\u002Fcloc-2.08.exe",{"fileName":82,"sizeMb":83,"sha256":84,"downloadCount":85,"originUrl":86},"cloc-2.08.tar.gz",0.73,"ce3c86d1edb448728278079eff6d99687477b3c1fe84b2f1a4dc14cfb2f811dc",5358,"https:\u002F\u002Fgithub.com\u002FAlDanial\u002Fcloc\u002Freleases\u002Fdownload\u002Fv2.08\u002Fcloc-2.08.tar.gz",{"tag":88,"publishAt":89,"semVer":90,"prerelease":53,"assets":91},"v2.06","2025-06-25T03:07:07Z",[35,35,35],[92,98],{"fileName":93,"sizeMb":94,"sha256":95,"downloadCount":96,"originUrl":97},"cloc-2.06.tar.gz",0.72,"27b6b007a5d482e5f50b23984cbe10f6a9f26e1052e9c7e010edfdcf879dc554",7265,"https:\u002F\u002Fgithub.com\u002FAlDanial\u002Fcloc\u002Freleases\u002Fdownload\u002Fv2.06\u002Fcloc-2.06.tar.gz",{"fileName":99,"sizeMb":100,"sha256":101,"downloadCount":102,"originUrl":103},"cloc-2.06.exe",11.62,"bbe48de9102d0f2520d292d65897001c1d068340eb7cd74dd1ee30c1a9091c4a",54281,"https:\u002F\u002Fgithub.com\u002FAlDanial\u002Fcloc\u002Freleases\u002Fdownload\u002Fv2.06\u002Fcloc-2.06.exe",{"tag":105,"publishAt":106,"semVer":107,"prerelease":53,"assets":108},"v2.04","2025-01-31T16:21:17Z",[35,35,35],[109,114],{"fileName":110,"sizeMb":111,"sha256":37,"downloadCount":112,"originUrl":113},"cloc-2.04.tar.gz",0.69,76686,"https:\u002F\u002Fgithub.com\u002FAlDanial\u002Fcloc\u002Freleases\u002Fdownload\u002Fv2.04\u002Fcloc-2.04.tar.gz",{"fileName":115,"sizeMb":116,"sha256":37,"downloadCount":117,"originUrl":118},"cloc-2.04.exe",9.44,24385,"https:\u002F\u002Fgithub.com\u002FAlDanial\u002Fcloc\u002Freleases\u002Fdownload\u002Fv2.04\u002Fcloc-2.04.exe",{"tag":120,"publishAt":121,"semVer":122,"prerelease":53,"assets":123},"v2.02","2024-08-02T22:51:51Z",[35,35,35],[124,129,134],{"fileName":125,"sizeMb":126,"sha256":37,"downloadCount":127,"originUrl":128},"cloc-2.02.exe",9.43,24381,"https:\u002F\u002Fgithub.com\u002FAlDanial\u002Fcloc\u002Freleases\u002Fdownload\u002Fv2.02\u002Fcloc-2.02.exe",{"fileName":130,"sizeMb":131,"sha256":37,"downloadCount":132,"originUrl":133},"cloc-2.02.tar.gz",0.67,14558,"https:\u002F\u002Fgithub.com\u002FAlDanial\u002Fcloc\u002Freleases\u002Fdownload\u002Fv2.02\u002Fcloc-2.02.tar.gz",{"fileName":135,"sizeMb":126,"sha256":37,"downloadCount":136,"originUrl":137},"cloc-2.02-winget.exe",8460,"https:\u002F\u002Fgithub.com\u002FAlDanial\u002Fcloc\u002Freleases\u002Fdownload\u002Fv2.02\u002Fcloc-2.02-winget.exe",{"tag":139,"publishAt":140,"semVer":141,"prerelease":53,"assets":142},"v2.00","2024-02-17T20:51:18Z",[35,35,35],[143,148],{"fileName":144,"sizeMb":145,"sha256":37,"downloadCount":146,"originUrl":147},"cloc-2.00.exe",9.31,154986,"https:\u002F\u002Fgithub.com\u002FAlDanial\u002Fcloc\u002Freleases\u002Fdownload\u002Fv2.00\u002Fcloc-2.00.exe",{"fileName":149,"sizeMb":150,"sha256":37,"downloadCount":151,"originUrl":152},"cloc-2.00.tar.gz",5.22,73525,"https:\u002F\u002Fgithub.com\u002FAlDanial\u002Fcloc\u002Freleases\u002Fdownload\u002Fv2.00\u002Fcloc-2.00.tar.gz",{"tag":154,"publishAt":155,"semVer":156,"prerelease":53,"assets":157},"v1.98","2023-08-19T20:13:12Z",[35,35,35],[158,163],{"fileName":159,"sizeMb":160,"sha256":37,"downloadCount":161,"originUrl":162},"cloc-1.98.tar.gz",0.63,8213,"https:\u002F\u002Fgithub.com\u002FAlDanial\u002Fcloc\u002Freleases\u002Fdownload\u002Fv1.98\u002Fcloc-1.98.tar.gz",{"fileName":164,"sizeMb":165,"sha256":37,"downloadCount":166,"originUrl":167},"cloc-1.98.exe",9.3,27861,"https:\u002F\u002Fgithub.com\u002FAlDanial\u002Fcloc\u002Freleases\u002Fdownload\u002Fv1.98\u002Fcloc-1.98.exe",[169,196,213,230,246,259],{"owner":170,"repo":171,"repoId":172,"category":47,"subgroup":48,"language":173,"tags":174,"starCount":185,"ownerUid":186,"latestTag":187,"platforms":188,"lastReleaseTime":193,"downloadCount":194,"description":195},"astral-sh","ruff",523043277,"Rust",[175,176,177,178,171,179,180,181,182,183,184],"linter","pep8","python","python3","rust","rustpython","static-analysis","static-code-analysis","style-guide","styleguide",51220,115962839,"0.17.5",[189,190,191,192],"windows","mac","linux","other","2026-11-12T17:55:55Z",1282,"Ruff 是用 Rust 编写的极快 Python 代码检查与格式化工具，一个工具即可替代 Flake8、isort、Black 等多个工具，适合大型项目与持续集成场景。",{"owner":197,"repo":198,"repoId":199,"category":47,"subgroup":48,"language":200,"tags":201,"starCount":206,"ownerUid":207,"latestTag":208,"platforms":209,"lastReleaseTime":210,"downloadCount":211,"description":212},"koalaman","shellcheck",6731432,"Haskell",[202,203,204,175,205,181],"bash","developer-tools","haskell","shell",40332,2818758,"v0.11.0",[190,191,192],"2025-08-04T00:27:19Z",19184366,"一款GPLv3许可的Shell脚本静态分析工具，为bash\u002Fsh脚本提供警告和建议，帮助发现语法问题、语义错误和潜在的陷阱。",{"owner":214,"repo":215,"repoId":216,"category":47,"subgroup":48,"language":217,"tags":218,"starCount":223,"ownerUid":224,"latestTag":225,"platforms":226,"lastReleaseTime":227,"downloadCount":228,"description":229},"realm","SwiftLint",35732214,"Swift",[219,220,175,221,181,222],"code-quality","hacktoberfest","linting","swift",19748,7575099,"0.65.1",[189,190,191,192],"2026-08-21T20:29:47Z",519979,"强制执行 Swift 风格和约定的工具，基于 SwiftSyntax。",{"owner":231,"repo":232,"repoId":233,"category":47,"subgroup":48,"language":234,"tags":235,"starCount":239,"ownerUid":240,"latestTag":241,"platforms":242,"lastReleaseTime":243,"downloadCount":244,"description":245},"golangci","golangci-lint",132145189,"Go",[236,237,238,232,175],"ci","go","golang",19443,35628013,"v2.15.0",[189,190,191,192],"2026-10-16T11:33:37Z",780,"一个快速的 Go 语言代码检查工具运行器，支持并行执行、缓存、YAML 配置和主流 IDE 集成，包含超过一百种检查器。",{"owner":247,"repo":248,"repoId":249,"category":47,"subgroup":48,"language":250,"tags":251,"starCount":252,"ownerUid":253,"latestTag":254,"platforms":255,"lastReleaseTime":256,"downloadCount":257,"description":258},"microsoft","pyright",175129788,"Python",[],15689,6154722,"1.1.414",[192],"2026-09-09T20:40:05Z",1107,"Pyright 是微软推出的 Python 静态类型检查器，功能完整、面向高性能与大型代码库设计，提供命令行工具与 VS Code 扩展。",{"owner":260,"repo":260,"repoId":261,"category":47,"subgroup":48,"language":200,"tags":262,"starCount":266,"ownerUid":267,"latestTag":268,"platforms":269,"lastReleaseTime":270,"downloadCount":271,"description":272},"hadolint",46234189,[263,264,265,204,175,198,181],"docker","dockerfile","dockerfile-linter",12451,34047791,"v2.15.1",[189],"2026-07-31T10:13:06Z",19050,"一个智能的Dockerfile Linter，通过将Dockerfile解析为AST并执行最佳实践规则，帮助构建更优质的Docker镜像，同时集成ShellCheck对RUN指令中的Bash代码进行静态检查。",{"description":274,"readmeHtml":275},"统计多种编程语言源代码中的空行、注释行和物理行数。","\u003Ch2 id=\"项目概述\">项目概述\u003C\u002Fh2>\u003Cp>cloc（Count Lines of Code）统计多种编程语言源代码中的空行、注释行和物理行数。\u003C\u002Fp>\n\u003Ch2 id=\"主要功能\">主要功能\u003C\u002Fh2>\u003Cul>\n\u003Cli>统计源代码行数（空行、注释、代码）\u003C\u002Fli>\n\u003Cli>支持多种编程语言\u003C\u002Fli>\n\u003Cli>支持文件、目录、归档文件和 Git 提交\u003C\u002Fli>\n\u003Cli>提供 Windows 可执行文件\u003C\u002Fli>\n\u003Cli>支持 Docker 运行\u003C\u002Fli>\n\u003C\u002Ful>\n\u003Ch2 id=\"适用人群\">适用人群\u003C\u002Fh2>\u003Cul>\n\u003Cli>需要统计代码量的开发者和项目经理\u003C\u002Fli>\n\u003Cli>开源项目维护者\u003C\u002Fli>\n\u003Cli>技术评估和审计人员\u003C\u002Fli>\n\u003C\u002Ful>\n\u003Ch2 id=\"快速上手\">快速上手\u003C\u002Fh2>\u003Col>\n\u003Cli>通过包管理器安装或从 \u003Ca href=\"https:\u002F\u002Fgithub.com\u002FAlDanial\u002Fcloc\u002Freleases\" target=\"_blank\" rel=\"noopener noreferrer\">Releases\u003C\u002Fa> 下载\u003C\u002Fli>\n\u003Cli>统计单个文件：\u003Ccode>cloc hello.c\u003C\u002Fcode>\u003C\u002Fli>\n\u003Cli>统计目录：\u003Ccode>cloc gcc-5.2.0\u002Fgcc\u002Fc\u003C\u002Fcode>\u003C\u002Fli>\n\u003Cli>统计归档文件：\u003Ccode>cloc master.zip\u003C\u002Fcode>\u003C\u002Fli>\n\u003Cli>统计 Git 提交：\u003Ccode>cloc 6be804e07a5db\u003C\u002Fcode>\u003C\u002Fli>\n\u003C\u002Fol>\n\u003Ch2 id=\"核心优势\">核心优势\u003C\u002Fh2>\u003Cul>\n\u003Cli>支持大量编程语言\u003C\u002Fli>\n\u003Cli>多种输入源（文件、目录、归档、Git）\u003C\u002Fli>\n\u003Cli>跨平台（Windows、Linux、macOS）\u003C\u002Fli>\n\u003Cli>开源免费，持续维护\u003C\u002Fli>\n\u003C\u002Ful>\n\u003Ch2 id=\"系统要求\">系统要求\u003C\u002Fh2>\u003Cul>\n\u003Cli>操作系统：跨平台（Windows、macOS、Linux）\u003C\u002Fli>\n\u003Cli>支持架构：x86_64、arm64\u003C\u002Fli>\n\u003Cli>额外依赖：Perl（源码版本）或 Docker（Docker 版本）\u003C\u002Fli>\n\u003C\u002Ful>\n\u003Ch2 id=\"注意事项\">注意事项\u003C\u002Fh2>\u003Cul>\n\u003Cli>Windows 可执行文件无额外依赖\u003C\u002Fli>\n\u003Cli>最新版本 v2.10（2026年7月4日）\u003C\u002Fli>\n\u003C\u002Ful>\n",1794593573353]