5
5
* * *
6
6
cloc counts blank lines, comment lines, and physical lines of source code in many programming languages.
7
7
8
- Latest release: v2.00 (Feb. 17 , 2024)
8
+ Latest release: v2.02 (Aug. 2 , 2024)
9
9
10
- < a href = " https://github.com/AlDanial/cloc/graphs/contributors " alt = " Contributors " >
11
- <img src=" https://img.shields.io/github/contributors/AlDanial/cloc" /></a>
12
- < a href = " https://zenodo.org/badge/latestdoi/ 42029482 " >
13
- <img src=" https://zenodo.org/badge/42029482 .svg" alt="DOI"></a>
14
- < img src = " https://img.shields.io/github/downloads/AlDanial/cloc/total.svg " >
10
+ [ ![ Version ] ( https://img.shields.io/badge/version-2.02-blue.svg )] ( https:// github.com/AlDanial/cloc)
11
+ [ ![ Contributors ] ( https://img.shields.io/github/contributors/AlDanial/cloc.svg )] ( https://github.com/AlDanial/cloc/graphs/contributors )
12
+ [ ![ DOI ] ( https://zenodo.org/badge/doi/10.5281/zenodo. 42029482.svg )] ( https://doi.org/10.5281/zenodo.42029482 )
13
+ [ ![ Forks ] ( https://img.shields.io/github/forks/AlDanial/cloc .svg )] ( https://github.com/AlDanial/cloc/network/members )
14
+ [ ![ Downloads ] ( https://img.shields.io/github/downloads/AlDanial/cloc/total.svg )] ( )
15
15
16
16
cloc moved to GitHub in September 2015 after being hosted
17
17
at http://cloc.sourceforge.net/ since August 2006.
@@ -65,8 +65,8 @@ Step 3: Invoke cloc to count your source files, directories, archives,
65
65
or git commits.
66
66
The executable name differs depending on whether you use the
67
67
development source version (` cloc ` ), source for a
68
- released version (` cloc-2.00 .pl ` ) or a Windows executable
69
- (` cloc-2.00 .exe ` ).
68
+ released version (` cloc-2.02 .pl ` ) or a Windows executable
69
+ (` cloc-2.02 .exe ` ).
70
70
71
71
On this page, ` cloc ` is the generic term
72
72
used to refer to any of these.
@@ -410,14 +410,14 @@ C:> cpan -i Regexp::Common
410
410
C:> cpan -i Algorithm::Diff
411
411
C:> cpan -i PAR::Packer
412
412
C:> cpan -i Win32::LongPath
413
- C:> pp -M Win32::LongPath -M Encode::Unicode -M Digest::MD5 -c -x -o cloc-2.00 .exe cloc-2.00 .pl
413
+ C:> pp -M Win32::LongPath -M Encode::Unicode -M Digest::MD5 -c -x -o cloc-2.02 .exe cloc-2.02 .pl
414
414
</pre >
415
415
416
416
A variation on the instructions above is if you installed the portable
417
417
version of Strawberry Perl, you will need to run ` portableshell.bat ` first
418
418
to properly set up your environment.
419
419
420
- The Windows executable in the Releases section, <tt >cloc-2.00 .exe</tt >,
420
+ The Windows executable in the Releases section, <tt >cloc-2.02 .exe</tt >,
421
421
was built on a 64 bit Windows 10 computer using
422
422
[ Strawberry Perl] ( http://strawberryperl.com/ )
423
423
5.30.2 and
@@ -439,6 +439,9 @@ executable and also check sites such
439
439
https://www.virustotal.com/ .
440
440
The entries for recent versions are:
441
441
442
+ cloc-2.02.exe:
443
+ https://www.virustotal.com/gui/file/369ed76125f7399cd582d169adf39a2e08ae5066031fea0cc8b2836ea50e7ce2?nocache=1
444
+
442
445
cloc-2.00.exe:
443
446
https://www.virustotal.com/gui/file/7a234ef0cb495de1b5776acf88c5554e2bab1fb02725a5fb85756a6db3121c1f
444
447
@@ -1034,7 +1037,7 @@ Apex Class (cls)
1034
1037
Apex Trigger (trigger)
1035
1038
APL (apl, apla, aplc, aplf, apli, apln, aplo, dyalog, dyapp, mipage)
1036
1039
AppleScript (applescript)
1037
- Arduino Sketch (ino, pde )
1040
+ Arduino Sketch (ino)
1038
1041
ArkTs (ets)
1039
1042
Arturo (art)
1040
1043
AsciiDoc (adoc, asciidoc)
@@ -1130,6 +1133,8 @@ GDScript (gd)
1130
1133
Gencat NLS (msg)
1131
1134
Glade (glade, ui)
1132
1135
Gleam (gleam)
1136
+ Glimmer JavaScript (gjs)
1137
+ Glimmer TypeScript (gts)
1133
1138
GLSL (comp, fp, frag, frg, fsh, fshader, geo, geom, glsl, glslv, gshader, tesc, tese, vert, vrx, vsh, vshader)
1134
1139
Go (go, ʕ◔ϖ◔ʔ)
1135
1140
Godot Resource (tres)
@@ -1190,6 +1195,7 @@ LLVM IR (ll)
1190
1195
Logos (x, xm)
1191
1196
Logtalk (lgt, logtalk)
1192
1197
Lua (lua, nse, p8, pd_lua, rbxs, wlua)
1198
+ Luau (luau)
1193
1199
m4 (ac, m4)
1194
1200
make (am, Gnumakefile, gnumakefile, Makefile, makefile, mk)
1195
1201
Mako (mako, mao)
@@ -1199,9 +1205,10 @@ MATLAB (m)
1199
1205
Maven (pom, pom.xml)
1200
1206
Meson (meson.build)
1201
1207
Metal (metal)
1208
+ Modelica (mo)
1202
1209
Modula3 (i3, ig, m3, mg)
1203
- Mojom (mojom)
1204
1210
Mojo (mojo, 🔥)
1211
+ Mojom (mojom)
1205
1212
MSBuild script (btproj, csproj, msbuild, vcproj, wdproj, wixproj)
1206
1213
MUMPS (mps, m)
1207
1214
Mustache (mustache)
@@ -1210,6 +1217,7 @@ NAnt script (build)
1210
1217
NASTRAN DMAP (dmap)
1211
1218
Nemerle (n)
1212
1219
NetLogo (nlogo, nls)
1220
+ Nickel (ncl)
1213
1221
Nim (nim, nim.cfg, nimble, nimrod, nims)
1214
1222
Nix (nix)
1215
1223
Nunjucks (njk)
@@ -1223,16 +1231,18 @@ Oracle Forms (fmt)
1223
1231
Oracle PL/SQL (bod, fnc, prc, spc, trg)
1224
1232
Oracle Reports (rex)
1225
1233
P4 (p4)
1226
- Pascal (dpr, lpr, p, pas, pascal)
1234
+ Pascal (dpr, lpr, pas, pascal)
1235
+ Pascal/Pawn (p)
1227
1236
Pascal/Puppet (pp)
1228
1237
Patran Command Language (pcl, ses)
1238
+ Pawn (pawn, pwn)
1229
1239
PEG (peg)
1230
1240
peg.js (pegjs)
1231
1241
peggy (peggy)
1232
1242
Perl (ack, al, cpanfile, makefile.pl, perl, ph, plh, plx, pm, psgi, rexfile, pl, p6)
1233
1243
Pest (pest)
1234
1244
PHP (aw, ctp, phakefile, php, php3, php4, php5, php_cs, php_cs.dist, phps, phpt, phtml)
1235
- PHP/Pascal/Fortran (inc)
1245
+ PHP/Pascal/Fortran/Pawn (inc)
1236
1246
Pig Latin (pig)
1237
1247
PL/I (pl1)
1238
1248
PL/M (lit, plm)
@@ -1242,6 +1252,7 @@ Pony (pony)
1242
1252
PowerBuilder (pbt, sra, srf, srm, srs, sru, srw)
1243
1253
PowerShell (ps1, psd1, psm1)
1244
1254
Prisma Schema (prisma)
1255
+ Processing (pde)
1245
1256
ProGuard (pro)
1246
1257
Prolog (P, prolog, yap, pl, p6, pro)
1247
1258
Properties (properties)
@@ -1364,6 +1375,7 @@ XSLT (XSL, xsl, XSLT, xslt)
1364
1375
Xtend (xtend)
1365
1376
yacc (y, yacc)
1366
1377
YAML (clang-format, clang-tidy, gemrc, glide.lock, mir, reek, rviz, sublime-syntax, syntax, yaml, yaml-tmlanguage, yml, yml.mysql)
1378
+ Yang (yang)
1367
1379
Zig (zig)
1368
1380
zsh (zsh)
1369
1381
</pre >
0 commit comments