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.

C# compiler error: "not all code paths return a value"

I'm trying to write code that returns whether or not a given integer is divisible evenly by 1 to 20, but I …

c# return code-analysis
What static analysis tools are available for C#?

What tools are there available for static analysis against C# code? I know about FxCop and StyleCop. Are there others? …

c# code-analysis static-analysis
How to perform static code analysis in php?

Is there an static analysis tool for PHP source files? The binary itself can check for syntax errors, but I'm …

php code-analysis static-analysis
How do I fix PyDev "Undefined variable from import" errors?

I've got a Python project using PyDev in Eclipse, and PyDev keeps generating false errors for my code. I have …

python code-analysis pydev
Collection<T> versus List<T> what should you use on your interfaces?

The code looks like below: namespace Test { public interface IMyClass { List<IMyClass> GetList(); } public class MyClass : IMyClass { public …

c# .net collections code-analysis
How to analyze binary file?

I have a binary file. I don't know how it's formatted, I only know it comes from a delphi code. …

binary reverse-engineering serialization code-analysis
Tool to visualise code flow (C/C++)

Do you have any sugestions of tools to ease the task of understanding C/C++ code? We just inherited a …

c++ c code-analysis
Lint for C#

Is there a lint-like tool for C#? I've got the compiler to flag warnings-as-errors, and I've got Stylecop, but these …

c# .net code-analysis lint
JavaScript Source Code Analyzer

Does anyone know of a good, extensible source code analyzer that examines JavaScript files?

javascript code-analysis
VS2015: warning MSB3884: Could not find rule set file

After upgrading my WinForms VS2013 project to VS2015, I started seeing the MSB3884 "Could not find rule set file" warning. …

c# msbuild visual-studio-2015 code-analysis