Category: Let’s Build a Metric
Our Let’s Build a Metric series, where we walk you through creating your first code metric with NDepend.
Announcing the Singleton Challenge
September 21, 2017 2 minutes read About a month ago, I made a post about what the singleton pattern costs you. Although I stated my case in terms of trade-offs...
Let’s Build a Metric: Wrapping Up
April 7, 2016 1 minutes read In the penultimate post in the metrics series, I explained the reasoning for winding down this series. I also talked about performing one last...
Let’s Build a Metric Reconsidered
February 18, 2016 2 minutes read If you’ve been keeping track, you’ll noticed that it’s been a while since the last post in this series. In case you’d forgotten or...
Let’s Build a Metric: Global and Local Scope
December 24, 2015 4 minutes read Last time in this series, I began an exploration of how a method might be impacted by the scope of the variables that it...
Let’s Build a Metric: Using CQLinq to Reason about Application State
December 3, 2015 4 minutes read I’ve been letting the experiments run for a bit before posting results so as to give all participants enough time to submit, if they...
Let’s Build a Metric: Incorporating Results and Exploring CQLinq
November 19, 2015 4 minutes read It turns out I was wrong in the last post, at least if the early returns from the second experiment are to be believed....
Let’s Build a Metric 7: Counting the Inputs
November 5, 2015 2 minutes read Over the last two Let’s Build a Metric installments of this series, I’ve talked about different ways to count lines of code and about...
Let’s Build a Metric 6: Cyclomatic Complexity Explained
October 15, 2015 3 minutes read In the last installment of this series, I talked a good bit about lines of code. As it turns out, the question, “what is a...
Let’s Build a Metric 5: Flavors of Lines of Code
October 1, 2015 1 minutes read The last episode of this series was heavy on theory, so let’s balance it out a bit with some applied science. The lofty goal...
Let’s Build a Metric 4: Science and Experiments
September 10, 2015 5 minutes read Last time around, I promised a foray into Newtonian mechanics, so I might as well start with that. This is the equation for gravitational...
Let’s Build a Metric 3: Compositeness
August 20, 2015 5 minutes read Last time, I talked through a little bit of housekeeping on the way to creating a metric that would be, uniquely, ours. Nevermind the...
Let’s Build a Metric 2: Getting the Units Right
August 13, 2015 5 minutes read Last time in this series, there was definitely some housekeeping to accomplish. I laid the groundwork for the series by talking a bit of...
Let’s Build a Metric 1: What’s in a Metric?
August 6, 2015 5 minutes read A while back, I made a post on my blog announcing the commencement of a series on building a better, composite code metric. Well, it’s...