How to get the FxCop custom dictionary to work?

If you use it inside Visual Studio… From Visual Studio Code Analysis Team Blog To add a custom dictionary to a C# and Visual Basic project is simple: In Solution Explorer, right-click on the project and choose Add -> New Item… Under Templates, select XML File, enter a name for the dictionary, such as CodeAnalysisDictionary.xml … Read more

Assembly Binding Redirection and Code Analysis

Just to supplement with a little more precise answer: You need to either run FxCopCmd.exe with: fxcopcmd.exe /assemblyCompareMode:StrongNameIgnoringVersion or modify your Visual Studio project file for each build configuration’s property group, like this: <PropertyGroup Condition=” ‘$(Configuration)|$(Platform)’ == ‘Release|AnyCPU’ “> … <CodeAnalysisAdditionalOptions>/assemblyCompareMode:StrongNameIgnoringVersion</CodeAnalysisAdditionalOptions> </PropertyGroup>

Why do code quality discussions evoke strong reactions? [closed]

One obvious answer for the Stack Overflow part is that it isn’t a forum. It is a database of questions and answers, which means that duplicate questions are attempted avoided. How many different questions about code quality can you think of? That is why there aren’t 50,000 questions about “code quality”. Apart from that, anyone … Read more

Tools to detect duplicated code (Java) [closed]

I use the following tools: PMD/CPD (BSD-style License). Checkstyle (LGPL License) – support was removed, see details. Both tools have code duplication detection support. But both of them lack the ability to advise you how to refactor your code. JetBrains IntelliJ IDEA Ultimate has good static code analysis with code duplication support, but it is … Read more

How to determine maximum stack usage in embedded system with gcc?

GCC docs : -fstack-usage Makes the compiler output stack usage information for the program, on a per-function basis. The filename for the dump is made by appending .su to the auxname. auxname is generated from the name of the output file, if explicitly specified and it is not an executable, otherwise it is the basename … Read more

Hata!: SQLSTATE[HY000] [1045] Access denied for user 'divattrend_liink'@'localhost' (using password: YES)