I'm trying to create a user interface in JavaScript that shows the analytics of a parsed in Java program.

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.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.