Entering the NDepend world
Today something unexpected happened. I got contacted by Patrick Smacchia, the creator of NDepend. He somehow found me online and offered a pro license š
I have never used NDepend so obviously I was very curious. In my daily job at Dell we obviously make an extensive use of static code analysis tools as part of our build pipelines. We also run them a bunch of times on our machine, but thatās not a mandatory step.
These tools are getting exceptionally good and they provide an enormous value on every codebase. Period.
They can easily assist spotting nasty issues that could even get past test pipelines. Moreover, some cases they can give very good refactoring suggestions, helping out cleaning the code.
So, going back to NDepend, itās one of the best .NET analysis tools on the market. Check out the website for the list of features, the list is definitely impressive.
The installation was pretty straightforward, no issues at all. Just follow the steps shown in the Getting Started section.
I installed the VS2019 integration and then loaded one of the projects Iām working on these days. It contains 4 class libraries and the relative test projects. Launched the NDepend analysis, filtered out the tests (with the ā-testā filter) and waited few seconds for the process to complete.
Now, I have to admit that big dashboards scare me. Iām not particularly good at reading stats and making immediately sense out of them. Usually takes me some time to get used to the results format.
But in this case almost everything was clearā¦also the results were quite nice and that definitely cheered me up š
All in all, Iām quite happy with NDepend . After less than 30 minutes I was already updating my codebase and committing changes based on the suggestions.
Of course I just scratched the surface, there are tons of features that I need to explore. I havenāt even used the Coverage tool yet.
I think Iām definitely going to add it to my daily routine. Iāll blog more in the next days as soon as I get more āintimateā with it š