Top "Static-analysis" questions

"Static Analysis" refers to the software tools (or their use) to analyze application code for arbitrary properties, such as errors (uninitialized variables, possible SQL injection-attack, is this code-dead, can an argument be null,...) or structure (what is the call graph for this code?

Static analysis of Java call graph

What I'd like to do is scan a set of Java classes, and trace all method calls from a specific …

java static-analysis call-graph
How to determine maximum stack usage in embedded system with gcc?

I'm writing the startup code for an embedded system -- the code that loads the initial stack pointer before jumping …

gcc embedded code-analysis static-analysis
How to turn off JSLint indentation warnings?

I find that JSLint produces lots of warnings of the form: Expected 'foo' to have an indentation at X instead …

formatting static-analysis jslint
jenkins + sonar + github integration

Problem: I am setting up jenkins + sonar + github integration for automatic pullrequest static code check through sonar. My Configuration: Installed …

jenkins continuous-integration sonarqube static-analysis
Why are explicit lifetimes needed in Rust?

I was reading the lifetimes chapter of the Rust book, and I came across this example for a named/explicit …

reference rust static-analysis lifetime
dredge function error - R package MuMln

I have to do statistical analyses on a data set. I would like to create all the possible models and …

r statistics static-analysis
How do commercial Java static analysis tools compare with the free ones?

I'm familiar with a handful of the free static analysis tools available for Java, such as FindBugs and PMD. What …

java open-source static-analysis commercial-application
C#/.NET analysis tool to find race conditions/deadlocks

Is there a tool that analyses .NET code and finds race conditions? I have a bit of code that has …

c# .net multithreading static-analysis ndepend
Do tools exist which automatically find copy-and-paste code?

Are there tools out there which could automatically find copy-and-paste code among a set of files? I was thinking of …

code-analysis copy-paste static-analysis code-duplication
Measuring the complexity of SQL statements

The complexity of methods in most programming languages can be measured in cyclomatic complexity with static source code analyzers. Is …

sql static-analysis cyclomatic-complexity