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: v1.88 (Sept. 12, 2020 )
8
+ Latest release: v1.90 (May 1, 2021 )
9
9
10
10
cloc moved to GitHub in September 2015 after being hosted
11
11
at http://cloc.sourceforge.net/ since August 2006.
@@ -57,8 +57,8 @@ Step 3: Invoke cloc to count your source files, directories, archives,
57
57
or git commits.
58
58
The executable name differs depending on whether you use the
59
59
development source version (` cloc ` ), source for a
60
- released version (` cloc-1.88 .pl ` ) or a Windows executable
61
- (` cloc-1.88 .exe ` ). On this page, ` cloc ` is the generic term
60
+ released version (` cloc-1.90 .pl ` ) or a Windows executable
61
+ (` cloc-1.90 .exe ` ). On this page, ` cloc ` is the generic term
62
62
used to refer to any of these.
63
63
64
64
** a file**
@@ -355,7 +355,8 @@ and Digest::MD5 installed locally.
355
355
# [ Building a Windows Executable ▲ ; ] ( #___top " click to go to top of document ")
356
356
357
357
The Windows downloads
358
- <tt >cloc-1.88.exe</tt > was built on a 64 bit Windows 10 computer
358
+ <tt >cloc-1.90.exe</tt > and
359
+ <tt >cloc-1.88.exe</tt > were built on a 64 bit Windows 10 computer
359
360
using
360
361
[ Strawberry Perl] ( http://strawberryperl.com/ )
361
362
5.30.2 and
@@ -398,6 +399,9 @@ executable and also check sites such
398
399
https://www.virustotal.com/ .
399
400
The entries for recent versions are:
400
401
402
+ cloc-1.90.exe:
403
+ https://www.virustotal.com/gui/file/d655caae55486f9bac39f7e3c7b7553bcfcfe2b88914c79bfc328055f22b8a37/detection
404
+
401
405
cloc-1.88.exe:
402
406
https://www.virustotal.com/gui/file/97d5d2631d1cccdbfd99267ab8a4cf5968816bbe52c0f9324e72e768857f642d/detection
403
407
@@ -468,7 +472,7 @@ C:> cpan -i Digest::MD5
468
472
C:> cpan -i Regexp::Common
469
473
C:> cpan -i Algorithm::Diff
470
474
C:> cpan -i PAR::Packer
471
- C:> pp -M Digest::MD5 -c -x -o cloc-1.86 .exe cloc-1.86 .pl
475
+ C:> pp -M Digest::MD5 -c -x -o cloc-1.90 .exe cloc-1.90 .pl
472
476
</pre >
473
477
474
478
A variation on the instructions above is if you installed the portable
@@ -1006,6 +1010,8 @@ Assembly (a51, asm, nasm, S, s)
1006
1010
AutoHotkey (ahk, ahkl)
1007
1011
awk (auk, awk, gawk, mawk, nawk)
1008
1012
Bazel (bazel, BUILD)
1013
+ BizTalk Orchestration (odx)
1014
+ BizTalk Pipeline (btp)
1009
1015
Blade (blade, blade.php)
1010
1016
Bourne Again Shell (bash)
1011
1017
Bourne Shell (sh)
@@ -1014,8 +1020,10 @@ builder (xml.builder)
1014
1020
C (c, cats, ec, idc, pgc)
1015
1021
C Shell (csh, tcsh)
1016
1022
C# (cs)
1023
+ C# Designer (designer.cs)
1017
1024
C++ (C, c++, cc, CPP, cpp, cxx, h++, inl, ipp, pcc, tcc, tpp)
1018
1025
C/C++ Header (H, h, hh, hpp, hxx)
1026
+ Cake Build Script (cake)
1019
1027
CCS (ccs)
1020
1028
Chapel (chpl)
1021
1029
Clean (dcl, icl)
@@ -1031,16 +1039,19 @@ Coq (v)
1031
1039
Crystal (cr)
1032
1040
CSON (cson)
1033
1041
CSS (css)
1042
+ CSV (csv)
1034
1043
Cucumber (feature)
1035
1044
CUDA (cu, cuh)
1036
1045
Cython (pxd, pxi, pyx)
1037
1046
D (d)
1038
1047
DAL (da)
1039
1048
Dart (dart)
1049
+ Delphi Form (dfm)
1040
1050
dhall (dhall)
1041
1051
DIET (dt)
1042
1052
diff (diff, patch)
1043
1053
DITA (dita)
1054
+ Dockerfile (Dockerfile, dockerfile)
1044
1055
DOORS Extension Language (dxl)
1045
1056
DOS Batch (BAT, bat, BTM, btm, CMD, cmd)
1046
1057
Drools (drl)
@@ -1069,8 +1080,11 @@ FXML (fxml)
1069
1080
GDScript (gd)
1070
1081
Gencat NLS (msg)
1071
1082
Glade (glade, ui)
1083
+ Gleam (gleam)
1072
1084
GLSL (comp, fp, frag, frg, fsh, fshader, geo, geom, glsl, glslv, gshader, tesc, tese, vert, vrx, vsh, vshader)
1073
1085
Go (go)
1086
+ Godot Resource (tres)
1087
+ Godot Scene (tscn)
1074
1088
Gradle (gradle, gradle.kts)
1075
1089
Grails (gsp)
1076
1090
GraphQL (gql, graphql, graphqls)
@@ -1101,6 +1115,7 @@ JSON5 (json5)
1101
1115
JSP (jsp, jspf)
1102
1116
JSX (jsx)
1103
1117
Julia (jl)
1118
+ Juniper Junos (junos)
1104
1119
Jupyter Notebook (ipynb)
1105
1120
Kermit (ksc)
1106
1121
Korn Shell (ksh)
@@ -1127,7 +1142,7 @@ Maven (pom, pom.xml)
1127
1142
Meson (meson.build)
1128
1143
Modula3 (i3, ig, m3, mg)
1129
1144
Mojo (mojom)
1130
- MSBuild script (csproj, vbproj , vcproj, wdproj, wixproj)
1145
+ MSBuild script (btproj, csproj, msbuild , vcproj, wdproj, wixproj)
1131
1146
MUMPS (mps, m)
1132
1147
Mustache (mustache)
1133
1148
MXML (mxml)
@@ -1144,7 +1159,7 @@ OpenCL (cl)
1144
1159
Oracle Forms (fmt)
1145
1160
Oracle PL/SQL (bod, fnc, prc, spc, trg)
1146
1161
Oracle Reports (rex)
1147
- Pascal (dfm, dpr, lpr, p, pas, pascal)
1162
+ Pascal (dpr, lpr, p, pas, pascal)
1148
1163
Pascal/Puppet (pp)
1149
1164
Patran Command Language (pcl, ses)
1150
1165
Perl (ack, al, cpanfile, makefile.pl, perl, ph, plh, plx, pm, psgi, rexfile, pl, p6)
@@ -1174,8 +1189,10 @@ RAML (raml)
1174
1189
RapydScript (pyj)
1175
1190
Razor (cshtml, razor)
1176
1191
ReasonML (re, rei)
1192
+ ReScript (res, resi)
1177
1193
reStructuredText (rest, rest.txt, rst, rst.txt)
1178
1194
Rexx (pprx, rexx)
1195
+ Ring (rform, rh, ring)
1179
1196
Rmd (Rmd)
1180
1197
RobotFramework (robot)
1181
1198
Ruby (appraisals, berksfile, brewfile, builder, buildfile, capfile, dangerfile, deliverfile, eye, fastfile, gemfile, gemfile.lock, gemspec, god, guardfile, irbrc, jarfile, jbuilder, mavenfile, mspec, podfile, podspec, pryrc, puppetfile, rabl, rake, rb, rbuild, rbw, rbx, ru, snapfile, thor, thorfile, vagrantfile, watchr)
@@ -1225,15 +1242,20 @@ TypeScript (tsx, ts)
1225
1242
Unity-Prefab (mat, prefab)
1226
1243
Vala (vala)
1227
1244
Vala Header (vapi)
1245
+ VB for Applications (VBA, vba)
1228
1246
Velocity Template Language (vm)
1229
1247
Verilog-SystemVerilog (sv, svh, v)
1230
1248
VHDL (VHD, vhd, VHDL, vhdl, vhf, vhi, vho, vhs, vht, vhw)
1231
1249
vim script (vim)
1232
- Visual Basic (BAS, bas, ctl, dsr, frm, FRX, frx, VB, vb, VBA, vba, VBHTML, vbhtml, VBS, vbs, cls)
1250
+ Visual Basic (BAS, bas, ctl, dsr, frm, FRX, frx, VBHTML, vbhtml, vbp, vbw, cls)
1251
+ Visual Basic .NET (VB, vb, vbproj)
1252
+ Visual Basic Script (VBS, vbs)
1233
1253
Visual Fox Pro (SCA, sca)
1254
+ Visual Studio Solution (sln)
1234
1255
Visualforce Component (component)
1235
1256
Visualforce Page (page)
1236
1257
Vuejs Component (vue)
1258
+ Web Services Description (wsdl)
1237
1259
WebAssembly (wast, wat)
1238
1260
Windows Message File (mc)
1239
1261
Windows Module Definition (def)
@@ -1255,6 +1277,7 @@ XSLT (XSL, xsl, XSLT, xslt)
1255
1277
Xtend (xtend)
1256
1278
yacc (y, yacc)
1257
1279
YAML (clang-format, clang-tidy, gemrc, glide.lock, mir, reek, rviz, sublime-syntax, syntax, yaml, yaml-tmlanguage, yml, yml.mysql)
1280
+ Zig (zig)
1258
1281
zsh (zsh)
1259
1282
</pre >
1260
1283
0 commit comments