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.
- 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.
- Download LinesCounter.exe (Windows) or LinesCounter.py (Windows, Linux, Mac, ...) and the LinesCounter-config.txt file;
- Place them in the root folder of your project;
- Open the LinesCounter-config.txt and change the configuratoin according to your needs;
- Execute the tool: 4-a. (Using LinesCounter.exe) double click on it; 4-b. (Using LinesCounter.py) open terminal/comand prompt and execute it;
- 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.
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!