cloc
cloc copied to clipboard
cloc counts blank lines, comment lines, and physical lines of source code in many programming languages.
**If you want an unsupported language added, provide:** - language name: Zig - file extension(s): `.zig` - method(s) of commenting text: `//` - location of sample code: See https://ziglang.org As...
Add supports for [nunjucks](https://mozilla.github.io/nunjucks/) files with the `.njk` file extension. The current workaround is to use `--force-lang="Jinja Template",njk`, and [given the similarities](https://mozilla.github.io/nunjucks/faq.html#can-i-use-the-same-templates-between-nunjucks-and-jinja2-what-are-the-differences) this appears to produce an accurate count of...
I get a timeout when invoking cloc on a [particular QML file](https://raw.githubusercontent.com/graphia-app/graphia/c1e9a61ee99f8866aefb1928d5bf5588f907b2d3/source/updater/editor/main.qml). The weird thing is, if I add a comment line as follows, it works fine: ``` --- a/source/updater/editor/main.qml...
**Describe the bug** Run cloc with option --git --diff may produce broken report with duplicate keys: **cloc; OS; OS version** - cloc version: 1.92 - If running the cloc source,...
Is it possible to change the style of the output? For example, with the `--md` flag, the `SUM` is as: ```md ... --------|--------|--------|--------|-------- SUM:|63|16.96|14.61|6227 ``` However, I'd like to have...
https://jsonnet.org/learning/tutorial.html
When running cloc against a git hash, it uses tar to package up the files for comparison. However, on Windows, if you are running tar on a different drive than...
* linux 4.15.4 * perl 5.26.1 I'm no longer able to build cloc since https://github.com/AlDanial/cloc/commit/fcc846eb91edc4583343152064d563259965e6dd Unfortunately `ForkManager` is not available easily for me but perhaps this outcome wasn't intentional. ```...
[DiemLOC.zip](https://github.com/AlDanial/cloc/files/5428107/DiemLOC.zip) I using windown, when counter cloc-1.87 vs cloc-1.88 then different results  You can support me, tks