How to use multimetric python library for calculating code parameters?

529 Views Asked by At

I am working on project which deals with calculation of halsted matrix and mccabe cyclomatic complexity for the codes in various languages. I found this library multimeric but its documentation is not intuitive. Please explain to me how to use this library for finding code metrics. if you know any other library which does this work then please suggest.

1

There are 1 best solutions below

1
Wei Ren On

install multimetric follow the instruction from PyPI. go to the code(example.py) location. e.g. cd /user/Desktop/code Then type these in terminal: multimetric example.py then you can see the result.