-2

Good day

Requesting can you please let me know available Static Code Analysis Tools in Visual Studio 2017 and possible best practices etc.

  • I would suggest that any decent static analysis tool will work with VS - and some even have plugins to run the analyser from within the tool (although this is not always the best way...). For *best practice*, I'm biased but would naturally recommend MISRA... – Andrew Feb 07 '22 at 09:30

1 Answers1

0

For C#, Visual Studio includes "FXCop". See Microsoft Docs: Overview of code analysis for .NET in Visual Studio.

For C++, Visual Studio includes /analyze as well as C++ Core Guidelines checkers. See Microsoft Docs: Code analysis for C/C++ overview.

For third party solutions, there a number of options you can find with a quick Internet search.

Chuck Walbourn
  • 38,259
  • 2
  • 58
  • 81