NDepend Blog

Improve your .NET code quality with NDepend

Improve Your Code Review Game with NDepend

April 21, 2023 3 minutes read Code review is a subject with which I’m quite familiar.  I’m familiar first as a participant, both reviewing and being reviewed, but it goes...
Erik Dietrich April 21, 2023

What is Code Review? – Guidelines and Best Practices

July 19, 2021 9 minutes read Code review is the process of mandating systematically one or several developers to review the code written by another developer in other to detects...
NDepend July 19, 2021

The proper usages of Exceptions in C#

December 16, 2020 9 minutes read The C# exception basics are generally well understood. However exceptions are often used as a way to sweep error handling duty under the carpet....
NDepend December 16, 2020

Top 10 .NET 5.0 new APIs

September 21, 2020 9 minutes read When a new major .NET version hits Release Candidate, it is time to use the NDepend code review changes capabilities to browse which new...
NDepend September 21, 2020

Architecture of a C# game rendered with Blazor, Xamarin, UWP, WPF, and Winforms

September 15, 2020 5 minutes read When I wrote my last post Blazor Internals you need to know I came across this great project on github: AsteroidsWasm. This project is...
NDepend September 15, 2020

Case Study : Complex UI Testing

April 29, 2020 6 minutes read In the previous post Case Study: 2 Simple Principles to achieve High Code Maintainability I explained that the principles layered code + high coverage...
NDepend April 29, 2020

Exploring .NET Core 3.0 new API

February 21, 2019 9 minutes read .NET Core 3.0 is representing a major step for the .NET community. It is interesting to analyze what’s new in the API directly from...
NDepend February 21, 2019

Shotgun Surgery: What It Is and How to Stop It

October 2, 2018 1 minutes read I really love the name “shotgun surgery” for describing a code smell.  It’s sort of an interesting mix of aggressive and comical, and so...
Erik Dietrich October 2, 2018

5 Tips to Help You Visualize Code

November 16, 2017 2 minutes read Source code doesn’t have any physical weight — at least not until you print it out on paper.  But it carries a lot of...
Erik Dietrich November 16, 2017

Static analysis of .NET Core 2.0 applications

October 12, 2017 3 minutes read NDepend v2017.3 has just been released with major improvements. One of the most requested features, now available, is the support for analyzing .NET Core 2.0...
NDepend October 12, 2017

Should You Aim for 100 Percent Test Coverage?

June 22, 2017 2 minutes read Test coverage serves as one of the great lightning rods in the world of software development.  First, people ask whether it makes for a...
Erik Dietrich June 22, 2017

How to Use NDepend’s Trend Charts

June 8, 2017 1 minutes read Imagine a scene for a moment.  A year earlier, a corporate VP spun up a major software project for his organization.  He brought a slew...
Erik Dietrich June 8, 2017

Static Analysis Issue Management Gets a Boost

March 23, 2017 2 minutes read Years ago, I led a team of software developers.  We owned an eclectic portfolio of software real estate.  It included some Winforms, Webforms, MVC, and...
Erik Dietrich March 23, 2017

Exploring the Technical Debt In Your Codebase

March 3, 2017 1 minutes read Recently, I posted about how the new version of NDepend lets you compute tech debt.  In that post, I learned that I had earned...
Erik Dietrich March 3, 2017

The Relationship Between Team Size and Code Quality

January 19, 2017 1 minutes read Over the last few years, I’ve had the occasion to observe lots of software teams.  These teams come in all shapes and sizes, as...
Erik Dietrich January 19, 2017

Adding Static Analysis to Your Team’s DNA

January 12, 2017 1 minutes read Stop me if this sounds familiar.  (Well, not literally.  I realize that asynchronous publication makes it hard for you to actually stop me as...
Erik Dietrich January 12, 2017

New Year’s Resolutions for Code Quality

December 29, 2016 2 minutes read Perhaps more than any other holiday I can think of, New Year’s Day has specific traditions.  With other holidays, they range all over the map....
Erik Dietrich December 29, 2016

Detecting Performance Bottlenecks with NDepend

December 15, 2016 2 minutes read In the past, I’ve talked about the nature of static code analysis.  Specifically, static analysis involves analyzing programs’ source code without actually executing them....
Erik Dietrich December 15, 2016

Keep Your Codebase Fit with Trend Metrics

September 1, 2016 2 minutes read A while back, I wrote a post about the importance of trends when discussing code metrics.  Metrics have an impact when teams are first...
Erik Dietrich September 1, 2016

The Biggest Mistake Static Analysis Could Have Prevented

May 5, 2016 2 minutes read As I’ve probably mentioned before, many of my clients pay me to come do assessments of their codebases, application portfolios and software practice.  And,...
Erik Dietrich May 5, 2016