GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — GitHub - ucx15/slocc: command line program to count Source lines of code in a directory.(currently only Python 3.x)

BranchesTags
Open more actions menu

Latest commit

 

History

1 Commit
1 Commit

Folders and files

NameName
Last commit message
Last commit date
Src
Src
 
 
.gitignore
.gitignore
 
 
License.md
License.md
 
 
Readme.md
Readme.md
 
 

Repository files navigation

Source Lines of Code

Description

slocc (Source Lines of Code in C++) is a command line program which can be used to count Source lines of code in a given directory made in C++.

Currently, it only supports PYTHON but in coming days, I will add support for other languages also.

I made it because I didn't like the cloc project, and wanted to try something I made as a tool in my other projects.

Build

$ g++ Src/main.cpp -std=c++20 -O2 -o slocc.exe

Usage

$ ./slocc [options] [path]

Examples

$ ./slocc Test/
Checking: Test/

Parsing 3 Files

__________________________________________________
Lines   cmnts   Blanks  SLOC    File
__________________________________________________
1000    94      243     665     Test/a_orig.py
1000    94      243     665     Test/a_orig2.py
1000    94      243     665     Test/a_orig3.py
__________________________________________________
3000    282     729     1995    TOTAL
__________________________________________________

Took    2.2738 ms @ (3958131 lines/s)

Author

ucx15

About

command line program to count Source lines of code in a directory.(currently only Python 3.x)

Topics

cpplines-of-codesloccount

Resources

Readme
MIT license
Activity

Stars

0 stars

Watchers

1 watching

Forks

0 forks
Report repository

Releases

Packages

Contributors

Languages

You are visitor 01402503 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.