loc
loc copied to clipboard
Count lines of code quickly.
I saw some of my C++ files report all zero lines and did not understand why. Then I noticed they contained some non ASCII chars in comments or strings, and...
OS: Windows 10 loc: 0.4.1 **test.tf** ```terraform resource "aws_s3_bucket" "b" { bucket = "my-tf-test-bucket" acl = "private" tags = { Name = "My bucket" Environment = "Dev" } } ```...
I tried this tool for the very first time, to count the number of lines of code of a Python project. The numbers it reports are shockingly inaccurate. It reports...
Working on a project in Prolog, which happens to share the same .pl file extension as Perl. Seems CLOC get's it. https://i.imgur.com/nZ41e7l.png
In a folder of 146 Python files (137 ending .py, 9 ending .pyw), loc always ignores the .pyw files. This is even true if I use --include .pyw
**Describe the bug** `loc` ignores files with `cmake` extension, furthermore `CMakeLists.txt` files are reported as `Plain Text` files instead of CMake files. **Expected behavior** 1. `loc` should report the number...
I found `cloc`'s `--diff` option to be extremely useful for repository branch comparisons: http://cloc.sourceforge.net/#diff It would be great if `loc` could do the same. Congrats on the amazing tool, by...
Currently you run `loc`, it prints its result and exits. You could add a kind of interactive mode: ``` % loc -i >loc [prints a count of lines in the...
Cython / Pyrex files can show as .pyx | .pxi | .pxd and share most of the Python syntax. Issue #99
[Cython](http://cython.org) is a third-party tool to make Python extensions (filenames of whose code file usually end with .pxd or .pyx). Would you consider to add it?