Visual Studio Code Analysis - Does Microsoft Follow It On Its Own?

I did a quick search, but could not find anything.

I assume that you all know that it is Visual Studio Code Analysisquite nitpicking and gives warnings about a lot. Does anyone know how well Microsoft does this? .. That is, if I were to perform code analysis on my builds, the warnings would be odd or very few (perhaps with contempt to warn with justification ..?).

+3
source share
2 answers

Most code checks (or FXCop) are closely related to the ".NET Framework Library Design Guide" (either book or on MSDN ).

However, these guidelines (especially in the book) have reservations, and not all of them apply under any circumstances.

There are many indications that MS really uses these tools, but I believe that they have reasons not to apply all the rules all the time, like any other project does.

+6
source

At Microsoft, two main tools are widely used for code analysis: FXCop for managed code and PreFast for native C ++.

, , , 3-4 , , , .

, Vista Windows 3 , SAL - . Win7 , SAL- ( ). Win8 SAL . , PreFast ( VS 2010 Pro ), .

, CA ( CA ) - , , . , , . , , .

+4

Source: https://habr.com/ru/post/1745559/


All Articles