The threshold values are different for different formula. As visual studio is considering below 20 as poor maintainability and maintainability derivative used by SEI is calculated below 60 as poor maintainability value. Why there are different formulas
for maintainability index. . They should be same..
Why there are different formulas for maintainability index. . They should be same..
Do you mean the there is not need to have 3 formulas for maintainability index?
I think these formulas are improved by different organizations.
They improve the formulas by the way which they think is better to show the maintainability
of codes.
So there are different version for maintainability index.
Best Regards,
Billy
MSDN Community Support
Please remember to click "Mark as Answer" the responses that resolved your issue.
If you have any compliments or complaints to MSDN Support, feel free to contact MSDNFSF@microsoft.com.
Member
46 Points
90 Posts
Maintainability Index Formula in Visual Studio
Oct 14, 2017 01:24 AM|farooqspecials|LINK
The original formula:
The derivative used by SEI is calculated as follows:
The derivative used by Microsoft Visual Studio (since v2008) is calculated as follows:
The threshold values are different for different formula. As visual studio is considering below 20 as poor maintainability and maintainability derivative used by SEI is calculated below 60 as poor maintainability value. Why there are different formulas for maintainability index. . They should be same..
Contributor
2260 Points
815 Posts
Re: Maintainability Index Formula in Visual Studio
Oct 16, 2017 03:16 AM|Billy Liu|LINK
Hi farooqspecials,
Do you mean the there is not need to have 3 formulas for maintainability index?
I think these formulas are improved by different organizations.
They improve the formulas by the way which they think is better to show the maintainability of codes.
So there are different version for maintainability index.
Best Regards,
Billy
Please remember to click "Mark as Answer" the responses that resolved your issue.
If you have any compliments or complaints to MSDN Support, feel free to contact MSDNFSF@microsoft.com.