Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Web frontend for Metrix++ #15

Open
mstoerzel opened this issue Jun 8, 2020 · 9 comments
Open

Web frontend for Metrix++ #15

mstoerzel opened this issue Jun 8, 2020 · 9 comments

Comments

@mstoerzel
Copy link
Collaborator

Hi there,

I discovered metrix++ as an easy to use yet powerful static code analyzing tool. I wanted it to use for our internal code quality reporting, but to convince my coworkers I needed a more fancy look & feel. So I decided to add a web user interface, i. e. scripts to turn the reports into web pages.

Please feel free to have a look at https://github.com/mstoerzel/SourceMetrix.

Cheers,

Marc

@avkonst
Copy link
Contributor

avkonst commented Jun 8, 2020

Hi, looks interesting. Could you please post few screenshots?
Also would you consider to extend the view command of the Metrix++ tool to make html format for report as a native feature of Metrix++?

@mstoerzel
Copy link
Collaborator Author

Hi, please find attached a screenshot - although a screenshot doesn't transfer the dynamics, i. e. by using chart.js the diagrams pop up smoothly and the filelist shows up hovering etc.
I thought about extending the view command of metrix++, but idea is to have additional sources as input for the csv database, such as doxygen-logfiles or lint output.
image

@avkonst
Copy link
Contributor

avkonst commented Jun 9, 2020

This is really cool. Great job!

"but idea is to have additional sources as input for the csv database, such as doxygen-logfiles or lint output" sorry, I do not understand how it stops you from extending view command...

@avkonst avkonst mentioned this issue Jun 16, 2020
@mstoerzel
Copy link
Collaborator Author

Hi avkonst,

thank you very much for the positive feedback. I just made my first release, which shifts logic from some 'makefile magic' to Python code. With this I hopefully have paved the road to integrate functionality to the view command. Although the overall idea of SourceMetrix is to have a consistent look for the diagrams, the filelist and the details listing.

@prozessorkern
Copy link
Contributor

Hi mstoerzel,

this looks really good!

I am working on an additional tool "report" right now to export the metrix data to be integrated in some software quality reports.
So far I added export functions for doxygen to integrate the metrix data into a doxygen documentation.

You can take a look at it here:
https://github.com/metrixplusplus/metrixplusplus/tree/feature/%2311-add-report-plugin

I have planned on adding a html export as well.
It would be great to integrate your tool there.

@mstoerzel
Copy link
Collaborator Author

mstoerzel commented Jun 20, 2020 via email

@prozessorkern
Copy link
Contributor

Hi mstoerzel,

sorry for the late response. Here are some screenshots from the doxygen report:

You get a overview page with all files and file based metrics which are linked to the file documentation:

image

The report tool takes the limits as input parameter so it is possible to document all exceeded limits as well.
They are put into \xrefitem tags to generate a metrics warning list:

image

And all region based metrics are printed in the file documentation:

image

@mstoerzel
Copy link
Collaborator Author

mstoerzel commented Jul 1, 2020 via email

@prozessorkern
Copy link
Contributor

prozessorkern commented Aug 13, 2020 via email

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants