Hi, Manikanden -
What do you consider to be a "line of code" (LOC)? Is a comment a LOC? Is the entire syntax of an exported DataWindow data object to be included in the count of LOC's? Are object function and event prototypes LOC's? Are instance and global variable declarations LOC's? Also, how accurate does the count need to be?
I've recently developed a PB app that scans the exported object source for all or a selected subset of object types in all or a selected library (note: This app will not currently work in a PB 2025 app that uses the Solution format... it only works with Workspaces and PBL's). There are a couple of obscure edge cases where the scanning/parsing logic may not count LOC with 100% accuracy, but it should be very close.
I'm considering submitting the app to CodeXchange, but have not yet done so. Please elaborate on your needs/requirements so that I can evaluate if the utility app I've created will be suitable for your use.
Best regards, John