Tag Archives: code metrics

Understand the complexity and maintainability of your code using Code Metrics in Visual Studio – Maintainability Index

By | January 1, 2016

Welcome back to the the 6th post in the series on understanding code complexity and maintainability.  Over the last few post we have talked about Line Of Code , Class Coupling , Depth of Inheritance  and Cyclomatic Complexity metrics. In this post we will talk about overall Maintainability Index  code metrics.  The maintainability index value measured between an… Read More »

Understand the complexity and maintainability of your code using Code Metrics in Visual Studio – Cyclomatic Complexity

By | December 23, 2015

This is the 5th post in this series on understanding code complexity and maintainability. In this post we are going to learn about Cyclomatic Complexity; which is an important aspect of the code metrics.  While other three metrics we discussed earlier – Line Of Code , Class Coupling and Depth of Inheritance define each and individual definition for… Read More »

Understand the complexity and maintainability of your code using Code Metrics in Visual Studio – Depth of Inheritance

By | December 21, 2015

This is the fourth post in the series of Understand the complexity and maintainability of your code using Code Metrics in Visual Studio. In this post we will explore another important code metrics called “Depth of Inheritance” . As the name says, this code metrics is very easy to understand with respect to the concept of Inheritance.  This… Read More »

Understand the complexity and maintainability of your code using Code Metrics in Visual Studio – Class Coupling

By | December 15, 2015

In the previous posts of this code metrics series, you have learned the basics of Code Metrics and how to get started with it and how Lines of Code (LoC) Metrics  indicates how many lines of source code you have in your application and how you can Measure the  complexity in terms of length, cleanness and single responsibility.… Read More »

Understand the complexity and maintainability of your code using Code Metrics in Visual Studio– Line of Code (LoC)

By | December 14, 2015

In the previous post you have learned the basics of Code Metrics and how to get started with it. Now, we will start looking into the individual metrics in details. To start with, we will pick the Line of Code first.  Lines of Code (LoC) – Indicates the approximate number of lines in the code.  We should write our method… Read More »

Understand the complexity and maintainability of your code using Code Metrics in Visual Studio

By | December 13, 2015

Code Metrics is one of the important software measures that give you an insight of your code maintainability and complexity. No one likes over engineered or too complex code.  As a developer when you are writing your code, you must adhere those boundary values of metrics to ensure your code is well written, understandable and maintainable. In short,… Read More »