Top "Code-analysis" questions

Code Analysis is the process of analyzing the code of the application to discover, review, validate or verify certain properties of the application.

How can I disable live code analysis in Visual Studio 2017?

Where can I disable live code analysis in Visual Studio 2017? This pops up every time I start my solution. I …

visual-studio-2017 code-analysis
How to force MSBuild to run Code Analysis without recompiling

By default, code analysis is only done for projects which are compiled. So when I run MSBuild from the command …

c# msbuild code-analysis
How to get the FxCop custom dictionary to work?

How is it possible to get the FxCop custom dictionary to work correctly? I have tried adding words to be …

dictionary localization code-analysis fxcop
Code analysis tools for Android

Is there any static code analysis tools for Android that would pick up simple things like NullPointerExceptions from trying to …

android static code-analysis static-analysis
generic code duplication detection tool

I'm looking for a code duplication tool that is language agnostic. It's easy to find language specific code duplication tools (…

language-agnostic duplicates code-analysis static-analysis code-duplication
How to get rid of CA2000 warning when ownership is transferred?

The following code generates two CA2000 warnings (among others, but that's not the point). public sealed class Item: IDisposable { public …

c# visual-studio-2010 code-analysis
Where can I find an actively developed lint tool for Ruby?

Most of the code I write is in Ruby, and every once in a while, I make some typo which …

ruby code-analysis static-analysis lint
Solution for CA2227 or better approach?

I'm only using Code Analysis for cleaning, organizing and ensuring these changes are globally performed for all instances of a …

c# visual-studio code-analysis
C# - StyleCop - SA1121: UseBuiltInTypeAlias - Readability Rules

Not found it in StyleCop Help Manual, on SO and Google so here it is ;) During StyleCop use I have …

c# code-analysis rules stylecop
Have you ever compared the static analysis tools Klocwork and Findbugs?

We are using Klocwork as a static analysis tool. Klocwork is a commercial tool and has many advantages but also …

code-analysis static-analysis findbugs klocwork