VBcoders Guest



Don't have an account yet? Register
 


Forgot Password?



Updated: Get Code Stats (number of lines of code)


Category: Complete Applications
Compatability: Visual Basic 3.0
Difficulty: Intermediate
Date Added: Wed 3rd February 2021
Rating: (5 Votes)

This is an update to my "Count the Number of Lines in your Code" submission back in May. It has may updates as you can tell from the screen shot.
There is a listbox where you can select any file in a project or directory and get the number of lines of code. Also added an option to check all subdirectories when you are doing a directory search. You can now specify the typs of files you want to query and get a count of the number of functions in your project.
ORIGINAL: I was recently at an interview where I was asked how many lines of code I have writen. The question kind of caught me off guard -- I had no idea!! Ya, probably in the tens of thousands, but no real clue. That sparked the idea to make this application. With this app, you can specify a directory, a single file, or a VB project file, and it will analyze the data and tell you how many lines of code are in the project. This is the first beta release of the code, so please leave feedback if you encounter any bugs, or if you have any suggestions that I should add to my next version. Just select the type of code you want to analyze from the dropdown box and select the location of the file. The application will return to you: 1. The number of forms in the project 2. The number of modules in the project 3. The number of class modules in the project 4. The number of Blank Lines in the project 5. The number of Commented Lines in the project 6. The number of actual coded lines in the project 7. The total number of lines in the project This is still a work in progress. I'm thinkin of adding as an output the number of procedures in the project. Maybe even break the numbers down per file. Please leave feedback and let me know what you think. If you like the code, please vote for it.

Rate Updated: Get Code Stats (number of lines of code)

Download Updated: Get Code Stats (number of lines of code)

Download Updated: Get Code Stats (number of lines of code) (19 KB)

Updated: Get Code Stats (number of lines of code) Comments

No comments have been posted about Updated: Get Code Stats (number of lines of code). Why not be the first to post a comment about Updated: Get Code Stats (number of lines of code).

Post your comment

Subject:
Message:
0/1000 characters