My previous post was about NDepend on Linux and how to utilize the NDepend to check your code quality. Now, I will explain some functions of NDepend for Visual Studio 2022. Let's get started.
- If you want to use the Trial version or have bought the license, please download here
After downloading and extracting it, please open the
If you don't have the license yet, press
Start Evaluation. If you have the license, please insert into the box after the
Activatebutton and click the
Activatebutton. After activate the license, you may click
Since I will integrate with Visual Studio. Please select
Install Visual Studio Extensionbutton.
Installfor Visual Studio 2022. Please wait until the process is successful.
I will use different code/repositories to explore my code. I will use my old project when I was a Computer Science Student.
Tweety, Twitter Tweet Categorizer. Using KMP and Boyer Moore Algorithm that find matching string.
Demo & Related Projects
This app build with
C# (Based Language for Logic in KMP & Boyer Moore Algorithm) and
ASP.NET MVC (v0.1),
ASP.NET Core MVC (v0.2).
This app using
Twitter API, so you must have token key.
Youtube Review (v0.1) : Youtube Link
- Setup your Twitter API key in Environment
- You can deploy to Azure (read the documentation) to deploy ASP .NET Core MVC (v0.2 or above).
You can use
docker-compose.yml and provide environment like this:
CUSTOMER_KEY=... CUSTOMER_SECRET=... TOKEN=... TOKEN_SECRET=...
BSD 3-Clause License
BSD 3-Clause License Copyright (c) 2018, Bervianto Leo Pratama All rights reserved. Redistribution and use in…
I will attach NDepend Project to my project.
You will get this dialog. Anyway, I will try the Dependency Graph.
The Dependency Graph is a cool feature. Usually, when I want to know and understand the business flow or class interaction, I need to read the code from the top (controller/etc.). The Dependency Graph really helps me to browse my code easily and interactively.
Since in this project I use Unit Test, so I can explore more the Code Coverage too.
I also can see the visualization of my code coverage. This is cool!
So, what do you think? It's awesome, right? Mostly my main job is maintaining the existing code. That is why I'm highlighting the feature of Dependency Graph and Code Metrics View.
Anyway, I'm going to write something about DevOps Extension: Code Quality NDepend for Azure DevOps, TFS 2017 and TFS 2018. So stay tune!