How to calculate the Maintainability Index of my code?
I’m creating unit test for my code in R and one of the metrics I need to calculate is the Mantainability Index. I’m using testthat for creating my tests, but they do not provide this metric. I have taken the definition of Python’s radon package as reference. However, I haven’t been able to find an R package that calculates this index. Has anyone encountered this problem before? How can I calculate this metric?
Is there a package in R that calculates the Mantainability Index of my code?
I’m creating unit test for my code in R and one of the metrics I need to calculate is the Mantainability Index. I’m using testthat for creating my tests, but they do not provide this metric. I have taken the definition of Python’s radon package as reference. However, I haven’t been able to find an R package that calculates this index. Has anyone encountered this problem before? Is there an existing R library that calculates this metric?