NDepend Blog

Improve your .NET code quality with NDepend

.NET 9.0 LINQ Performance Improvements

November 19, 2024 5 minutes read NET 9.0 brings significant improvements to LINQ performance, with some scenarios showing remarkable gains. Let’s take a closer look at what’s driving these enhancements....
NDepend November 19, 2024

Alternate Lookup for Dictionary and HashSet in .NET 9

November 18, 2024 3 minutes read In .NET 9, a new method called GetAlternateLookup<TKey, TValue, TAlternate>() has been introduced for hash tables classes, including Dictionary<TKey, TValue>, HashSet<T>, ConcurrentDictionary<TKey, TValue>, FrozenDictionary<TKey,...
NDepend November 18, 2024

The Issue with using the Cobertura Code Coverage Format in .NET

November 14, 2024 1 minutes read Since December 2023, Microsoft has added support to Microsoft.CodeCoverage and dotnet-coverage for exporting code coverage data in the Cobertura format (see the announcement here). [crayon-6757b3f9e9ef7269086263/] Because...
NDepend November 14, 2024

Why Is Counting Lines of Code (LOC) Useful?

November 7, 2024 2 minutes read In the previous post How do you count your number of Lines Of Code (LOC) ?, we explained how to count the LOC of...
NDepend November 7, 2024

How do you count your number of Lines Of Code (LOC) ?

November 6, 2024 2 minutes read Counting Lines of Code (LOC) is not as straightforward as it seems. Developers often wonder: Should method signature declarations count? What about lines with...
NDepend November 6, 2024