开发者

In what kind of situations should I not care about the Maintainability Index in Visual Studio's Code Metrics?

I just today stumbled upon the Code Metrics thing, after having used Visual Studio pra开发者_StackOverflow中文版ctically every day for... practically my whole life. I think it's been there since around VS2008, but I haven't cared to play with it.

Most of my projects in my solution have fairly high Maintainability Indices -- 85, 83, 86, and 76 and 59 on my "scrap" projects. I do remember putting very little effort into making those scrap projects presentable, so I agree with the index.

But I can't imagine it being a perfect measure. In what situations should I rightfully disagree with an index?


"A Practical Model for Measuring Maintainability" talks about the problems with the maintainability index. One of the main drawbacks is that it is a composite index of several other metrics, so it's hard to say why the score is bad.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜