Metric to measure object-orientedness

Posted by Jono on Stack Overflow See other posts from Stack Overflow or by Jono
Published on 2010-04-17T11:11:14Z Indexed on 2010/04/17 11:13 UTC
Read the original article Hit count: 233

Is there a metric that can assist in determining the object-orientedness of a system or application? I've seen some pretty neat metrics in the .NET Reflector Add-ins codeplex project, but nothing like this yet. If such a metric doesn't exist, would it even be possible or useful? There are the 3 supposed tenets of object-oriented programming: encapsulation, inheritance, and polymorphism; a tool that ranked programs against these might be able to show areas of a C# (or similar) code base where the whole object-oriented ideal was discarded, and perhaps how many bugs are associated with that area versus the rest of the project.

© Stack Overflow or respective owner

Related posts about object-oriented

Related posts about code-metrics