lexington soft

What is Code Review? Guidelines and Best Practices

Thursday, July 22, 2021

Code review is the process of mandating systematically one or several developers to review the code written by another developer in other to detects defect and to improve it. Code review is more often performed by an experienced developer considering the various aspects including the quality and security of code, sharing the knowledge, enabling better …

Refactored code architecture

Clean Architecture Refactoring: A Case Study

Thursday, April 29, 2021

Introduction to Clean Architecture   The recent post Clean Architecture for ASP.NET Core Solution: A Case Study explained that one of the most interesting property promoted by Clean Architecture is the abstraction of the infrastructure code. This way the application can consume the infrastructure code without being bound with its implementation. The infrastructure code represents basically all kinds of frameworks an application can use: UI, …

traffic lights

10 Reasons Why You Should Write Tests

Thursday, February 11, 2021

As many, I started programming when I was a child 3 decades years ago. With no doubt, the most important practice I’ve adopted during my professional career is to write automatic tests. Not only there are plenty of short/mid/long terms benefits but it just leads to better code and more pleasant working days. I’d like …

New Release!

What’s new in NDepend v2021.1

Thursday, February 04, 2021

Importing Code Coverage Data from NCrunch Since NCrunch version 4.5.0 released in November 2020, NCrunch can export coverage data to OpenCover format XML files. NDepend can now import coverage data from the OpenCover format XML files generated by NCrunch. Improved resolving of assemblies from a Visual Studio solution Improved support for MSBuild variables: $(SolutionDir) $(Configuration) New …

nDepend dotnet software testing

Case Study : Complex UI Testing

Thursday, June 11, 2020

This post was originally posted at https://blog.ndepend.com/case-study-complex-ui-testing/. Author: Patrick Smacchia In the previous post Case Study: 2 Simple Principles to achieve High Code Maintainability I explained that the principles layered code + high coverage ratio by test are 2 simple principles that can be objectively applied, validated and measured. When these 2 principles are applied they lead to High …

NDepend screen shot

Case Study: 2 Simple Principles to achieve High Code Maintainability

Monday, May 04, 2020

High Code Maintainability is the key to make both the management and the developers happy: Maintainability lets a product evolves naturally at a sustained pace with controlled cost. Maintainability lets developers add new features and improve existing ones without spending most of their time refactoring old dusty code and fixing bugs. After 16 years of …

Explore a flexible C/C++ SonarQube plugin based on CppDepend.

Thursday, February 27, 2020

Both CppDepend and SonarQube are static analyzers that offer a rule-based system to detect problems in C/C++ code. However, the CppDepend default Rules-Set has very few overlaps with the SonarQube rules. Basically, the SonarQube rules are good at analyzing what is happening inside a method, the code flow while the CppDepend code model, on which the …