GithubHelp home page GithubHelp logo

linecounter's Introduction

LineCounter

Build Status

Count all lines under a given path. Categorization by file type. This is a useful tool for finding what languages are in a code base and how much code there is.

Results can be exported to CSV.

Example

PS C:\gitcode\LineCounter\bin\Release\net6.0> .\LineCounter.exe --path C:\myrepo\
Line Counter --- run dotnet linecounter.dll --help for help
----------------------------------------------------------------------

Scanning: C:\myrepo\
Category                  Files  Lines    Code     Comments  Empty   Files Inc.  Files Excl.
--------------------------------------------------------------------------------------------
Batch                     120    3846     3140     10        696     120         0
BUILD-Extensionless       474    49160    44650    2         4508    474         0
CMake                     21     2903     1660     822       421     21          0
C++                       7188   1172126  874066   138815    159245  7188        0
Dockerfile-Extensionless  8      230      182      0         48      8           0
Go                        5      627      527      27        73      5           0
Git                       75     734      613      46        75      75          0
Ini                       54     1608     1051     51        506     54          0
Java                      26     2800     2139     242       419     26          0
Json                      75     4762     4745     0         17      75          0
Markdown                  358    24179    18275    0         5904    358         0
Projects                  10     2038     2038     0         0       10          0
Python                    1651   251801   196334   10141     45326   1651        0
Text                      190    124927   121265   0         3662    190         0
Web                       11     2080     1708     6         366     11          0
XML                       283    39241    34520    3757      964     283         0
YAML                      994    3361632  3358192  0         3440    994         0
TOTAL                     11543  5044694  4665105  153919    225670  11543       0

Scan Time: 1s:430ms

linecounter's People

Contributors

mikefourie avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.