How it will work is you have a web app with a file explorer where you can select the source code of a Java program. The app will parse through the Java src code and will return values such as total lines of code, average lines of code per class, total number of methods, average lines per method, total number of classes, how many times a class was instantiated etc.
This information will be displayed on a web page using various graphs.
Are there any libraries that would help with doing something like this? If not, I would love to hear thoughts on potential approaches or if it is even possible.