Giter Site home page Giter Site logo

raffaelefiorillo / codelinescounter Goto Github PK

View Code? Open in Web Editor NEW
1.0 1.0 0.0 10.75 MB

A tool that, when executed inside a folder, creates a profile of all the code inside that directory and its sub-directories. (Right now it only works with .py files. The Result is a .txt file with the total number of lines of code (with and without counting empty lines)

License: MIT License

Python 100.00%

codelinescounter's Introduction

LinesCounter

Ever wondered how big your coding masterpiece has become, but dread the thought of manually counting lines? Fear not, because LinesCounter is here to save the day! ๐Ÿš€

LinesCounter is a nifty command-line tool meticulously crafted to help you gauge the size of your project's codebase, without breaking a sweat. Whether you're neck-deep in Python, sailing through C#, soaring with JavaScript, etc. LinesCounter effortlessly counts lines of code, making your life as a developer a whole lot easier. With just a few clicks and even less seconds, it swoops through your project directory and sub-directories, crunches the numbers, and presents you with an insightful report.

Features

  • Counts lines of code in files of specified types (e.g: .py, .cs, .js) within a given directory and all its sub-directories.
  • Counts both total lines number and non-empty lines number for each file and whole project.
  • Generates a detailed report in a user-friendly format.
  • Saves the information in a file named Lines_of_Code_Report.txt.

How to Use

  1. Download LinesCounter.exe (Windows) or LinesCounter.py (Windows, Linux, Mac, ...) and the LinesCounter-config.txt file;
  2. Place them in the root folder of your project;
  3. Open the LinesCounter-config.txt and change the configuratoin according to your needs;
  4. Execute the tool: 4-a. (Using LinesCounter.exe) double click on it; 4-b. (Using LinesCounter.py) open terminal/comand prompt and execute it;
  5. Once the process is complete, check the Lines_of_Code_Report.txt file in the same directory for the detailed report, including total lines of code and total non-empty lines of code.

Improvements

LinesCounter is designed for simplicity and ease of use, providing a quick way to assess the size and complexity of your codebase. Feel free to customize and enhance the tool to suit your specific needs. If you encounter any issues or have suggestions for improvements, please feel free to contribute to the project. Happy coding!

codelinescounter's People

Contributors

raffaelefiorillo avatar

Stargazers

 avatar

Watchers

 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.